I am using an AM5729 with kernel 4.19.94-ti-r64 running on the A15s. I have RPmsg configured to communicate with core 0 and core 1 of PRU2. core 0 is doing high speed data acquisition and using XOUT to push data to core 1 to store in physical memory for Linux to process. Since host interrupt 0 and 1 are consumed by the RPMsg interface, how do I configure an additional interrupt to signal PRU2 Core 1 to do the corresponding XIN?
The channel mapping to interrupt setup is not very clear.
SPRUHZ6L – October 2014 – Revised August 2019
18.104.22.168 PRU-ICSS Interrupt Controller Basic Programming Model
I have used pru-software-support-package as the base code for the RPMsg communication with the ARM and this works fine.
I just need some info for configuring the inter-core interrupt signal and mapping, so that I can capture the interrupt. I have seen a few examples of inter-core interrupts, but they are using interrupt host interrupt 0 or 1. When I try this I get an error message during start up the the signal is in use. There has to be a way to map the interrupt, and overlay the existing interrupt (OR'ed together), and some way to determine the source of the interrupt.
any help is greatly appreciated.