LPC81x default state of GPIO

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

LPC81x default state of GPIO

ソリューションへジャンプ
373件の閲覧回数
Sid_Zhou
Contributor II

We are using LPC812M101JDH20 on one of our products. The datasheet specified the default state of GPIO(PIO0_16) is "Input with pull-up."

Somehow, in our application, we need this PIO0_16 to be open drain at the very early start-up stage. I am wondering if this default state can be modified somewhere within "startup_LPC8xx.s" 

0 件の賞賛
返信
1 解決策
349件の閲覧回数
Harry_Zhang
NXP Employee
NXP Employee

Hi @Sid_Zhou 

You can add related function in SystemInit.

Enable clock to IOCON block.

Configure PIO0_16 as open-drain output.

Harry_Zhang_0-1749019316518.png

BR

Harry

元の投稿で解決策を見る

2 返答(返信)
350件の閲覧回数
Harry_Zhang
NXP Employee
NXP Employee

Hi @Sid_Zhou 

You can add related function in SystemInit.

Enable clock to IOCON block.

Configure PIO0_16 as open-drain output.

Harry_Zhang_0-1749019316518.png

BR

Harry

331件の閲覧回数
Sid_Zhou
Contributor II
Thanks a lot.
We have around 200us~300us improvement with this solution. This should be enough to solve our problem during start-up.
0 件の賞賛
返信