lpc_board_nxg_xplorer_4330 board.c possible issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

lpc_board_nxg_xplorer_4330 board.c possible issue

595件の閲覧回数
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"
ラベル(1)
0 件の賞賛
返信
1 返信

583件の閲覧回数
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 件の賞賛
返信