Hi Jason,
Thank you very much for your answer.
I think we are running similar versions of the kernel since our PRU configurations seem to be about the same.
So, I installed the Debian 9.5 2018-10-07 4GB SD IoT image and I am using the 4.14 kernel version.
I took a look at the article from you have sent me and it seems to work. In the section "02start" I could set the USR3 led blinking, although in the section "06io" I couldn't
set the P9.11 LED blinking, I follow his instructions and it didn't work, do you have any inkling what might I do wrong?
From what I have seen, he separates the registers by addresses, as described above:
#define GPIO0 0x44e07000 // GPIO Bank 0
#define GPIO1 0x4804c000 // GPIO Bank 1
#define GPIO2 0x481ac000 // GPIO Bank 2
#define GPIO3 0x481ae000 //GPIO Bank 3
He says to check the Table 2.2 of TRM, do you know where it is? I think the failure might be in the address for accessing the GPIO0, which might be different on my kernel version.
Additionally, can you tell me what you've done with PRU? ... What I do want to achieve is to build an SPI slave interface (for reading data from image sensors).
Thank you very much for your help,
Fred Gomes