Hello,
I’m trying to generate pattern with the PRU in several channels at the same time.
So the objective is to be able to send different sequences of value on several channels of the PRU and all of them need to be sent at the same time.
For now I have succeed it.
My program is working like that :
- I initialize the PRU (with a c file)
- I load the 8k data into the PRU RAM (with a c file)
- I execute the program into the PRU (with a c file)
- The pru code run and at the end it came back into the C file to close everything.
However, I reach the limit of the 8k of the PRU RAM (which I understand).
Nevertheless, I would like now to load for instance 24k of data (i.e. more than 8k data).
My idea is to initialize,then send data into the PRU RAM, execute the program.
Then with an interrupt return in the c file and reload data in the RAM, and re-execute the program.
And do this routine until I reach the end of my 24k data.
However, the time to load 8k data into the ram is really high, it takes between 3 to 8 s to do so.
So, I would to know I someone new a quickest/easiest way to send more than 8k data into the PRU ?
Thanks by advance
Regards
Vincent
" Enjoy life no matter what ! "