Hi,
I'm using the am243x-EVM
I would like to start a PRU timer from within the PRU code.
Can you please write few lines of code to start the PRU timer.
Thanks,
Eli
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'm using the am243x-EVM
I would like to start a PRU timer from within the PRU code.
Can you please write few lines of code to start the PRU timer.
Thanks,
Eli
Hi Eli
You can refer to 6.4.13.2.4 PRU_ICSSG IEP Timer Basic Programming Sequence section of TRM
You can find the code in following folder:
Hi,
Yes it's very helpful.
Is there an example of timer expiration interrupt callback inside the PRU code ?
Thanks,
Eli
I
Hi Eli,
We will need some more time to get back with sample code. I m working on it.
Hi Eli,
You can find the sample code in SDFM firmware: C:\ti\motor_control_sdk_am243x_09_00_00_05\source\current_sense\sdfm\firmwar\sdfm.asm
Also please refer here: software-dl.ti.com/.../SDFM_DESIGN.html