cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
498 Views
Registered: ‎05-03-2018

GPIO from Linux User Space

G´day!

 

I´m trying to control some GPIOs from Petalinux User Space by using /dev/mem-Mapping. I found this tutorial which gives a good C-Code example: http://www.wiki.xilinx.com/Linux+User+Mode+Pseudo+Driver.

Now I´m wondering how to program the PL to get the Linux-modified registers written to the hardware IO´s... Is there a Vivado Example or a documentation anywhere?

 

Kind regards, wne

 

0 Kudos
1 Reply
Highlighted
Moderator
Moderator
468 Views
Registered: ‎09-12-2007

Re: GPIO from Linux User Space

What exactly are you asking here :-)

 

Does this help, there is example code here:

http://www.wiki.xilinx.com/How+to+debug+Linux+Application+in+SDK+2017.4

0 Kudos