cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable
3,576 Views

Test zynq702 gpio on ps

I want to test the gpio on ps for zynq702 board. I tried to follow the instructions on http://wiki.xilinx.com/osl-gpio-driver, but nothing toggles.

 

What's the right way to test the zynq gpio on ps?

 

Thanks.

 

Haibing

0 Kudos
3 Replies
norman_wong
Scholar
Scholar
3,568 Views
Registered: ‎05-28-2012

It might be that the pin you are using is not mux'ed to the GPIO controller. That is setup via the MIO registers. The registers are usually initialized by the FSBL. U-boot can change the registers but I think the code got removed in 14.2. The code was ifdef'ed out. Might be in 14.1. Last time I checked, Linux does not modify the MIO registers.

 

0 Kudos
pniklas
Adventurer
Adventurer
3,554 Views
Registered: ‎05-16-2012

I'm not sure which version you are using, but I'm testing the GPIO's like this:

 

http://wiki.xilinx.com/zc702-linux

 

I'm not using the Base_TRD, just plain shell

0 Kudos
Anonymous
Not applicable
3,540 Views

Thanks. I didn't find this link. It's helpful.

 

Haibing

0 Kudos