Cannot seem to set GPIO on LX2160A

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cannot seem to set GPIO on LX2160A

716件の閲覧回数
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 返答(返信)

694件の閲覧回数
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 件の賞賛
返信

612件の閲覧回数
taylormt
Contributor I

@yipingwangdoes NXP support a uboot update that enables GPIO?

0 件の賞賛
返信