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
Visitor manas
Visitor
841 Views
Registered: ‎02-01-2018

Zynqmp, U-boot GPIO configuration in custom board

Hi,

 

I am trying to configure GPIOs in a custom board based on ZYNQMP ZCU102.

Just to try I wrote the registers from "u-boot/board/xilinx/zynqmp/zynqmp.c"  (board_init()) using the APIs zynqmp_mmio_write and writel (tried both). I couldn't write to these particular register from board_init. However, writing to these register using md command from u-boot prompt is fine. 

 

Registers: 

DATA_3 0xFF0A004C
DIRM_3 0xFF0A02C4
OEN_3 0xFF0A02C8 

 

Any suggestion on why the register writing is failing?

Tags (3)
0 Kudos
1 Reply
Moderator
Moderator
784 Views
Registered: ‎07-31-2012

Re: Zynqmp, U-boot GPIO configuration in custom board

Hi @manas,

 

Try to configure at the end of code before return function.

 

Regards

Praveen


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos