When i tried to export GPIO pin for corresponding 601000.gpio address. The port shows its busy
echo 264 > /sys/class/gpio/export
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
When i tried to export GPIO pin for corresponding 601000.gpio address. The port shows its busy
echo 264 > /sys/class/gpio/export
Hi,
Can you share the output of the below command:
Cat /sys/class/gpio/*
I want to check the goiochip that corresponds to 601000.gpio.
The number of the gpiochip will need to be exported to control gpio1_0.
Also any changes you have made w.r.t gpio on top of SDK?
Best Regards,
Keerthy
1. Output of the command
root@tda4vm-sk:/opt/edgeai-gst-apps# cat /sys/class/gpio/*
cat: /sys/class/gpio/export: Permission denied
cat: /sys/class/gpio/gpiochip264: Is a directory
cat: /sys/class/gpio/gpiochip300: Is a directory
cat: /sys/class/gpio/gpiochip428: Is a directory
cat: /sys/class/gpio/unexport: Permission denied
2. No changes made w.r.t gpio on top of SDK
Hi,
Typically we see "Device or resource busy" When it is already hogged by by some dts node.
Have you made any changes in dts?
I believe you are using a TI EVM & can you confirm which SDK version is being used?
Also you can check if the gpio264 is used already with the below command:
'cat /sys/kernel/debug/gpio'
- Keerthy
1. SDKVersion- 08.06.00.11
No changes made in dts
2.command output
root@tda4vm-sk:/sys/kernel# cat /sys/kernel/debug/gpio
gpiochip2: GPIOs 264-299, parent: platform/601000.gpio, 601000.gpio:
gpio-264 ( |hpd ) in hi
gpio-267 ( |typec-dir ) in hi
gpiochip1: GPIOs 300-427, parent: platform/600000.gpio, 600000.gpio:
gpio-365 ( |standby ) out hi
gpio-366 ( |standby ) out hi
gpio-367 ( |standby ) out hi
gpio-372 ( |reset ) out hi
gpio-411 ( |fixedregulator-dp-pr) out hi
gpio-427 ( |powerdown ) out hi ACTIVE LOW
gpiochip0: GPIOs 428-511, parent: platform/42110000.gpio, 42110000.gpio:
gpio-431 ( |standby ) out hi
gpio-436 ( |fixedregulator-sd ) out lo
gpio-437 ( |tps659411 ) out lo
gpio-439 ( |reset ) out hi
Regards,
Nandu
Hi,
Are you trying on SK Board? If yes then there is no HW INAs for power measurement. It is only possible on the TDA4VM-EVM.
root@tda4vm-sk:/sys/kernel# cat /sys/kernel/debug/gpio
The above shows that is SK Board.
On that there will be No Power measurement support.
- Keerthy
There is no power measurement integrated into the SK-TDA4VM. It is included in the TDA4VM EVM. What type of power measurement are you requesting? Overall power of the board can be measured using a lab bench supply. Do you need power for specific voltage rails?
I need to check watt consumption during an inference process(like object detection) and normal board running condition in
If any method plz reply..
-Nandu