cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
abdulparis
Contributor
Contributor
6,029 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
Reply
3 Replies
htsvn
Xilinx Employee
Xilinx Employee
5,999 Views
Registered: ‎08-02-2007

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
Reply
pvenugo
Moderator
Moderator
5,868 Views
Registered: ‎07-31-2012

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
Reply
abdulparis
Contributor
Contributor
5,770 Views
Registered: ‎05-27-2015

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
Reply