Other Parts Discussed in Thread: AM5718
Hi,
I am using am5718 idk and my SDK version is 6.03.00.106 Linux. I want use a pin to gpio then how can I change the dts file related to that. Explain with an example.
Regards,
Bhardwaj kotha.
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.
Hi,
I am using am5718 idk and my SDK version is 6.03.00.106 Linux. I want use a pin to gpio then how can I change the dts file related to that. Explain with an example.
Regards,
Bhardwaj kotha.
Hello Bhardwaj,
Please see this E2E post for an example on configuring GPIO pins:
It is a different board but the procedure should be the same and you can get more information on how to use the SYSCONFIG tool (Also referred to as the Pin Mux tool).
The App Note https://www.ti.com/lit/an/sprac44a/sprac44a.pdf also goes over using the "Pin Mux Tool" and gives an example as well.
Hi josue,
If i want to configure a gpio pin, then should i first change in dts file regarding that gpio for sysfs after booting the board.
regards
bhardwaj.
Bhardwaj,
It is not very clear to me what you mean by the last part of your sentence:
that gpio for sysfs after booting the board.
You do not have to do anything with the sysfs tool if you modify the device tree file and have the correct pinmux.