AnsweredAssumed Answered

Can't set functions of most of LPC11u68 board pins

Question asked by Arturas Jonkus on Jun 1, 2017
Latest reply on Jun 1, 2017 by jeremyzhou

I am using LPC11u68 board to interface u-blox C027 board pins. I tried to set up UART communication between the two boards, firstly by using UART4. That didn't work so I thought that using its pins as a GPIOs could tell if pins are dead. I wrote for P0_11 and P0_12:

 

Chip_IOCON_PinMux(LPC_IOCON, 2, 12, IOCON_MODE_INACT | IOCON_DIGMODE_EN, IOCON_FUNC0);
Chip_GPIO_WriteDirBit(LPC_GPIO, 2, 12, 1);
Chip_GPIO_WritePortBit(LPC_GPIO, 2, 12, 1);

 

Yet that didn't work and my outputs were both low. So I assumed these pins are fried because on board LEDs work. So I tried UART1. I succesfully get TX signal, but my RX is always low. When I try and configure both P0_13 and P0_14 as high outputs, both pins are low, not high.

 

I am now really confused and not sure if MCU is faulty or I am configuring it the wrong way.

Outcomes