Cannot seem to set GPIO on LX2160A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot seem to set GPIO on LX2160A

670 Views
userland
Contributor II

Hi

I've been trying to write to the GPIO registers on the LX2160A through Trace32, right out of reset.

I can change the GPDIR registers, but whenever I try to change any GPDAT that, has been set as Output, nothing happens.

GPIO4 configurationGPIO4 configuration

 

Here's how the GPIO4 base registers looks like (the only thing I've touched is Pin16 in GPDIR)

How do I make it work?

Tags (1)
0 Kudos
Reply
2 Replies

648 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please configure RCW[EC1_PMUX], RCW[EC2_PMUX], RCW[USB_EXT_PMUX], RCW[GTX_CLK_PMUX], RCW[SDHC1_DS_PMUX] as "0b01" to configure pin configuration as GPIO_4.

0 Kudos
Reply

566 Views
taylormt
Contributor I

@yipingwangdoes NXP support a uboot update that enables GPIO?

0 Kudos
Reply