11-12-2018 10:18 PM
I use ZCU104 MP SoC Board.
I designed IPC Like this
APU <-> RPU0
APU <-> RPU1
And RPU use IPI interrupt each other.
RPU0 <-> RPU1
When I initialized IPI interrupt in RPU0, I use 0x0300 mask for XIpiPsu_InterruptEnable().
but working is not good.
Working is well OpenAMP only, working is well IPI only too. but using those combination IPC system is not working,
I think doesn't shared Interrupt. OpenAMP and IPI. So. I will find another way.
When I use OpenAMP APU and both RPUs, I wonder how to message send/receive between RPUs.
Please Let me know this.
11-13-2018 02:59 PM
I'm not exactly sure what you are trying to do. Do you have application running on both RPU-0 and RPU-1 and linux running on APU? Have you tried the example we have on wiki to run OpenAMP on 2 RPU slaves
I would recommend reading the IPI Interrupts and Message Buffers section in Chapter 13 of UG1085.
Can you also try the baremetal example that we have? You can modify this to send IPI from RPU0 to RPU1. Make sure this works.
11-13-2018 06:37 PM
Thanks for your reply.
I try to OpenAMP APU and RPUs and to use IPI for to send/receive between RPUs.
When I initialize OpenAMP, can't send/receive IPI message in RPUs.
I think why is OpenAMP and IPI shared same Interrupt. so When I use OpenAMP (Linux master, RPUs slave), I want to new how to send/recieve between RPUs another way.
APU ->(OpenAMP) -> RPU0 ->(Something Signal) -> RPU1 ->(OpenAMP) -> APU.
Help me, I need more your information.