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"
Solved! Go to Solution.
Hi @Sid_Zhou
You can add related function in SystemInit.
Enable clock to IOCON block.
Configure PIO0_16 as open-drain output.
BR
Harry
Hi @Sid_Zhou
You can add related function in SystemInit.
Enable clock to IOCON block.
Configure PIO0_16 as open-drain output.
BR
Harry