Hi
I am using AM1808 Experimenters kit.how can i know the GPIO no(TRM) for particular port pin. for example i need gp4[14].
Thanks
Vasu Vallabhaneni
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 AM1808 Experimenters kit.how can i know the GPIO no(TRM) for particular port pin. for example i need gp4[14].
Thanks
Vasu Vallabhaneni
Hi Vasu,
We can get the GPIO number by this way
GPIO no = GPIO_BANK_NUMBER * NUM_OF_GPIO_LINES_PER_BANK + GPIO_NUMBER_IN_THAT_BANK
EX: GPIO = 4 * 16 + 14 = 78 (Remember GPIO numbers are starting from 0)
Regards
AnilKumar
Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question. Thanks!