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.

Common tick accessible from both ARM and PRU

Hi All,

I created the feedback control system using DMTimer and its interrupt to kernel module on BeagleBone Black.
But the jitter between interrupt to get system tick is exceed +- 10 usec, average latency is 5 usec, it is not enough considering accuracy of the external device control.

So, I'm planning to use PRU to get tick with low / fixed latency.
Please find the attached PRU for the plan.

External signal is connected to GPIO which assigned to PRU.

The GPIO triggers periodical counter programmed on PRU.
When the counter is expired, system tick is obtained and triggers interrupt to ARM core, the obtained tick is sent by shared RAM.
On ARM, the feedback is calculated using the tick and in kernel module linked with user space application which has the common tick table.

So, the comparable tick accessible from both ARM and PRU is needed.
Are there any ticks for this purpose ?
If yes, please let me know how to access it.

Regards,
TOMINAGA Satoshi

feedback_loop_using_PRU.pdf