Cannot seem to set GPIO on LX2160A

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Cannot seem to set GPIO on LX2160A

671 次查看
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?

标记 (1)
0 项奖励
回复
2 回复数

649 次查看
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 项奖励
回复

567 次查看
taylormt
Contributor I

@yipingwangdoes NXP support a uboot update that enables GPIO?

0 项奖励
回复