AnsweredAssumed Answered

LPC1833 USART2 doesn't work, why?

Question asked by Patrick Witting on Dec 9, 2016
Latest reply on Dec 14, 2016 by Kerry Zhou

Hi,

i am working on a LPC1833.

i managed to get the UART1 run and was able to send and receive my necessery Data.

Since this was just a useful possibility for the first testing, i now use the USART2.

The following things i have changed:

LPC_UART1 -> LPC_USART2

RX Pin = 14 -> RX Pin 16

TX Pin = 13 -> TX Pin 15

UART1_IRQHandler -> UART2_IRQHandler

CLK_MX_UART1 -> CLK_MX_UART2

 

But it was not possible for me to send a single byte via USART2.

Did i missed something in the setup. I also recognized that in USART2 the TER2 is set. 

I removed this from the init because this register (TER2 not TER1) is not described in the Reference manual.

 

Any advice would be great.

Best regards,

Patrick

Outcomes