lpc_board_nxg_xplorer_4330 board.c possible issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpc_board_nxg_xplorer_4330 board.c possible issue

250 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rocketdawg on Thu Sep 04 12:56:21 MST 2014
void Board_UART_Init(LPC_USART_T *pUART)
{
if (pUART == LPC_USART0) {
Chip_SCU_PinMuxSet(0x6, 4, (SCU_MODE_PULLDOWN | SCU_MODE_FUNC2));/* P6.5 : UART0_TXD */
Chip_SCU_PinMuxSet(0x6, 5, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC2));/* P6.4 : UART0_RXD */
}
else if (pUART == LPC_UART1) {
Chip_SCU_PinMuxSet(0x1, 13, (SCU_MODE_PULLDOWN | SCU_MODE_FUNC2));/* P1.13 : UART1_TXD */
Chip_SCU_PinMuxSet(0x1, 14, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC2));/* P1.14 : UART1_RX */
}
}

I am thinking that UART1 SCU_MODE_FUNC2  should really be SCU_MODE_FUNC1  since P1.13 and p1.14 FUNC2 are "R"
Labels (1)
0 Kudos
1 Reply

238 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embd02161991 on Thu Sep 04 14:54:29 MST 2014
Hi,

Thanks for noticing this . We will update this as soon as possible.

Thanks
NXP Technical Support
0 Kudos