lpcware

LPC1517 pin configuration issue

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by lucamini on Fri Oct 03 01:43:13 MST 2014
I have to configure in the LPC1517 48 pin package, PIO0_22 and PIO0_23 as gpio output, but when I drive to high such pins I find a low level (the pin is floating in the application).

The configuration I used was:

Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 22, IOCON_FUNC0 | IOCON_MODE_INACT | IOCON_DIGMODE_EN);
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 23, IOCON_FUNC0 | IOCON_MODE_INACT | IOCON_DIGMODE_EN);

and

Chip_GPIO_SetPinDIROutput(LPC_GPIO, 0, 22);
Chip_GPIO_SetPinDIROutput(LPC_GPIO, 0, 23);

What's wrong?

Thanks in advance
Luca

Outcomes