Hi,
I'm looking for a simple PRU Spinlock example along the lines of the ipc_spinlock_sharedmem_am243x-lp_system_freertos_nortos example. Is one available? Or can a PRU assembler snippet be provided?
What I'm trying to do is have a small (say 256 byte) section of shared memory that is updated by the PRU (which reads from an external peripheral) which is then read and processed by an R5F core.
I'm imagining an RTOS thread on the R5F core waiting on the spinlock. Update rate is 40kHz (or higher if it can be made to work).
Thanks, Steve