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: 
Highlighted
Contributor
Contributor
5,871 Views
Registered: ‎05-27-2015

Microblaze interrupt to PS

Hi all,

 

I am running Linux on PS (CPU_0) and I have a Microblaze Soft-core in PL part.

I would like to know if there is a way to connect Microblaze interrupt to PS interrupts. I could not understand why I can't connect MB interrupts to PS in Vivado. Here are my questions:

 

1) What is the proper way of connecting MB interrupts to PS ? 

2) How to write the interrupt handler in Linux

3) Is it possible to send MB application from Linux (PS) to MB on the PL ? (I can configure easily the bitstream but I was wondering if this is possible)

 

 

Thank you very much for your help. Any help/remarks would be appreciated.

 

Best Regards,

0 Kudos
3 Replies
Xilinx Employee
Xilinx Employee
5,841 Views
Registered: ‎08-02-2007

Re: Microblaze interrupt to PS

hi,

 

you can refer to the following XAPP for PL to PS interrupt. However the application are run in bare-metal OS

http://www.xilinx.com/support/documentation/application_notes/xapp1093-amp-bare-metal-microblaze.pdf

 

--hs

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Moderator
Moderator
5,710 Views
Registered: ‎07-31-2012

Re: Microblaze interrupt to PS

Hi,

 

To answer your questions

 

1) What is the proper way of connecting MB interrupts to PS ? 

>> The interrupts from MB (PL) to PS can be routed via GP ports at least.

 

2) How to write the interrupt handler in Linux

>> Refer to attached example in the link http://zedboard.org/content/dts-syntax-and-interrupts-pl-under-linux

 

http://www.eetimes.com/document.asp?doc_id=1280680

 

Regards

PV

 


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Contributor
Contributor
5,612 Views
Registered: ‎05-27-2015

Re: Microblaze interrupt to PS

Thank you very much for your answer. I am going to try if it works. If it does, I won't forget to choose your answer as the solution.

 

Best Regards

0 Kudos