Part Number: AM5728
Tool/software: Linux
Hi,
Please note that we are using the latest Processor SDK Linux for AM5728.
My application requires interaction between 2 AM5728 devices, which we are testing by using to GPEVMs. We have a small PCB which brings out the GPIOs on both ends (actually, just 2 GPIOs each), which allow me to synchronize some activity between the 2 devices. The rest of the processing happens using standard interfaces, which are working well.
Although we have found good documentation on using the implemented protocols like USB, PCIe, Ethernet, etc, we are unable to spot a guide on how to use GPIOs in the processor SDK. We need to be able to do the following:
- Configure certain GPIOs on unused pins as inputs (with interrupt capability if possible) and outputs at boot time;
- Be able to change the default states of outputs at boot time (HIGH or LOW);
- Be able to change the state of outputs in user space (HIGH/LOW);
- Handle the same change of state through addition to our kernel level drivers.
Any documentation or sample setup that allows us to even handle 1 GPIO as input (with interrupt, preferably), and 1 GPIO as output in user space using the A15 MPU, would be great to start with.