Go to advanced search

by ankushnag14
Tue May 08, 2018 8:45 am
Forum: Advanced users
Topic: Under-voltage warnings
Replies: 186
Views: 313255

Re: Under-voltage warnings

This file in the Linux repo might help? Does some throttled status grabbing via mailboxes. https://github.com/raspberrypi/linux/blob/rpi-4.14.y/drivers/firmware/raspberrypi.c I have a small question regarding under voltage indication of Raspberry Pi. Could you please let me for how many seconds or ...
by ankushnag14
Mon May 07, 2018 8:01 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible to grab ACT/PWR Led over GPIO?
Replies: 6
Views: 1789

Re: Possible to grab ACT/PWR Led over GPIO?

I tried the same thing by directing it to gpio 25 like below and activity is not happenning at all ( Green LED is not coming up) dtparam=act_led_gpio=25 Let me guess, you're using a Pi 3B? That's the problem with following a two year old post which was valid for the Pi 2B. Try dtoverlay=pi3-act-led...
by ankushnag14
Fri May 04, 2018 1:02 pm
Forum: Advanced users
Topic: Under-voltage warnings
Replies: 186
Views: 313255

Re: Under-voltage warnings

Hi guys. I am using RPi 3 B and I want to catch the low voltage event in an interrupt. Can you please help me if you have found something. In older version it was possible by GPIO 35. But now it is not possible I guess. :( Not possible - it's not on a dedicated gpio line, but through an I2C gpio ex...
by ankushnag14
Fri May 04, 2018 11:21 am
Forum: Bare metal, Assembly language
Topic: Pi 3B+ Activity LED
Replies: 23
Views: 7709

Re: Pi 3B+ Activity LED

If you were in my position. How would you deal with getting information from the kernel. Can you please suggest some ideas. It's not quite clear from your question, are you doing this in bare metal or are you using Linux? If you have a way to create a thread or a task then periodically requesting t...
by ankushnag14
Fri May 04, 2018 9:40 am
Forum: Bare metal, Assembly language
Topic: Pi 3B+ Activity LED
Replies: 23
Views: 7709

Re: Pi 3B+ Activity LED

I need to trigger an interrupt whenever there is low voltage and sd card access (which can be done using pin change interrupt on GPIO29 in RPI3 B+). Using mailbox service is polling operation and I have to keep running the command in loop and check the status. Can you suggest how I can do the same ...
by ankushnag14
Fri May 04, 2018 8:44 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible to grab ACT/PWR Led over GPIO?
Replies: 6
Views: 1789

Re: Possible to grab ACT/PWR Led over GPIO?

# Use external LED as ACT LED :-) dtparam=act_led_gpio=nn where "nn" is the BCM number of the GPIO pin you wish to use. this works perfectly! TYVM :D :D :D I tried the same thing by directing it to gpio 25 like below and activity is not happenning at all ( Green LED is not coming up) dtparam=act_le...
by ankushnag14
Fri May 04, 2018 7:28 am
Forum: Advanced users
Topic: Under-voltage warnings
Replies: 186
Views: 313255

Re: Under-voltage warnings

Nice code (both bash and C). One question, from where was I supposed to learn that GPIO35 is a flag for under-voltage? (besides someone saying it on the forum ;) https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dts as described in https://www.raspberrypi.org/documentation/configura...
by ankushnag14
Fri May 04, 2018 7:11 am
Forum: Bare metal, Assembly language
Topic: Pi 3B+ Activity LED
Replies: 23
Views: 7709

Re: Pi 3B+ Activity LED

I need to trigger an interrupt whenever there is low voltage and sd card access (which can be done using pin change interrupt on GPIO29 in RPI3 B+). Using mailbox service is polling operation and I have to keep running the command in loop and check the status. Can you suggest how I can do the same ...
by ankushnag14
Thu May 03, 2018 2:26 pm
Forum: Bare metal, Assembly language
Topic: Pi 3B+ Activity LED
Replies: 23
Views: 7709

Re: Pi 3B+ Activity LED

I need to trigger an interrupt whenever there is low voltage and sd card access (which can be done using pin change interrupt on GPIO29 in RPI3 B+). Using mailbox service is polling operation and I have to keep running the command in loop and check the status. Can you suggest how I can do the same t...
by ankushnag14
Wed May 02, 2018 9:30 am
Forum: Bare metal, Assembly language
Topic: Pi 3B+ Activity LED
Replies: 23
Views: 7709

Re: Pi 3B+ Activity LED

Is it possible to use GPIO 29 similarly in RPi 3B version 1.2?

Go to advanced search