UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
599 Views
Registered: ‎12-12-2017

how to use OpenAMP, IPI interrupt together.

HI~

I use ZCU104 MP SoC Board. 

I designed IPC Like this

* OpenAMP 

APU <-> RPU0

APU <-> RPU1

And RPU use IPI interrupt each other.

*IPI

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.

Regards.

Shin.

 

0 Kudos
2 Replies
Moderator
Moderator
565 Views
Registered: ‎05-10-2017

Re: how to use OpenAMP, IPI interrupt together.

Hi Shin,

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

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841990/OpenAMP+2018.2

I would recommend reading the IPI Interrupts and Message Buffers section in Chapter 13 of UG1085.

https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf

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.

https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/ipipsu/examples/xipipsu_self_test_example.c

 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Contributor
Contributor
558 Views
Registered: ‎12-12-2017

Re: how to use OpenAMP, IPI interrupt together.

HI.

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.

I means 

APU  ->(OpenAMP) -> RPU0 ->(Something Signal) -> RPU1 ->(OpenAMP) -> APU.

Help me, I need more your information.

 

Regards.

Shin.

 

0 Kudos