IDE LPCXpresso V8.2.2
IC 1837
Turn on UART0 and connect to PUTTY
But I didn’t see the message. How can I fix it?
#define DEBUG_UART LPC_USART0
void Board_UART_Init(LPC_USART_T *pUART)
{
//Chip_SCU_PinMuxSet(0x6, 4, (SCU_MODE_INACT | SCU_MODE_FUNC2)); /* P6,4 : UART0_TXD */
Chip_SCU_PinMuxSet(0x2, 0, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC1));/* P2.0 : UART0_TXD */
Chip_SCU_PinMuxSet(0x2, 1, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC1));/* P2.1 : UART0_RXD */
}
Hello Barry,
Are you using the OM13076?
Why did you comment the P6.4 pin?
Best Regards,
Alexis Andaloin
YES OM13076
what?
I asked how uart0 debug
No P6.4 pin
Can you understand what I mean?
Hello Barry,
The OM13076 has an internal debugger that also works as USB to Serial, this USB2Ser is connected to the P2.0/P6.4 that can be changed using the JP11. So be sure that this jumper is set correctly.
Best Regards,
Alexis Andalon
It has been resolved.
Thank you.