Hi AM64x Champs !
Can you please provide us with GPIO handling example in Linux PSDK?
Customers would like to test GPIO in SK-AM64B and PSDK Linux in addition to MCU+ SDK.
cf. BCC: 박준우 <jwpark@cimon.com>
Thanks.
Regards,
Jack
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 AM64x Champs !
Can you please provide us with GPIO handling example in Linux PSDK?
Customers would like to test GPIO in SK-AM64B and PSDK Linux in addition to MCU+ SDK.
cf. BCC: 박준우 <jwpark@cimon.com>
Thanks.
Regards,
Jack
Hi Jack,
For Linux, this would be a good place to start with using the Chardev interface to interact with the GPIO pins: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1260373/faq-transitioning-the-gpio-userspace-interface-from-sysfs-to-chardev
The device tree needs to be modified. Here is a thread that discusses the modifications needed: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1268671/sk-am62-using-the-gpios-in-the-40-pin-user-expansion-port/.
Best Regards,
Anshu