Has any one ever programmed one of the PRU's to perform as an SPI port?
I would like to get a clue has to how that could be done.
Also, can the PRU read the RTC in the main processor?
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.
Has any one ever programmed one of the PRU's to perform as an SPI port?
I would like to get a clue has to how that could be done.
Also, can the PRU read the RTC in the main processor?
Mellissa Dalby said:Also, can the PRU read the RTC in the main processor?
The peripherals that the PRU can access are specified in the Memory Map Summary of the AM1808 Datasheet.
Drew Abuan said:Also, can the PRU read the RTC in the main processor?The peripherals that the PRU can access are specified in the Memory Map Summary of the AM1808 Datasheet.
[/quote]Ahh, it looks like the RTC IS in the PRU SubSystem memory map, so I'm thinking that should work.
Thanks
mwatkins said:Hi Mellissa,
We are assessing the possibility of emulating SPI using the PRU and will get back with you. What are your requirements for the SPI port, including speed?
Regards,
Melissa
I the SPI device in mind is byte access and a minimum speed of 1 MHz would likely do the job.
I bet bit-banging in the PRU would probably work, but we'll see...