Hi ,
I'm getting the output on simulation serial window.I have programmed the uC,But I am not getting output on flash-magic terminal window ,even-though I'm getting the output on simulation serial window.......
Anyone please help me....
I'm using LPC1114.....
Have you configured the UART pins in IOCONFIG?
what about the SYSAHBCLKCTRL register?
are they configured properly?
Hi,
the following is the part of my code configuring UART pins & enabling CLK for UART
LPC_IOCON->PIO1_6 &= ~0x07; /* UART I/O config */ LPC_IOCON->PIO1_6 |= 0x01; /* UART RXD */ LPC_IOCON->PIO1_7 &= ~0x07; LPC_IOCON->PIO1_7 |= 0x01; /* UART TXD */ LPC_SYSCON->SYSAHBCLKCTRL |= (1<<12); // UART CLK
Please anyone help me out.........