RS 232 IS NOT WORKING
Hi, I have done programing of rs 232 with lpc 2378(uart0).In the hardware DB 9connectors TXD and RXD are connected together(loop back test) for testing hardware.The code is as follows void main() { PINSELO|=0X00000050; U0FDR=0; U0LCR=0X83; 8 databit,1 stopbit,no parity U0DLL=78; 9600 baudrate U0DLM=0; U0LCR=0X03; while(1) { U0THR='a'; while(!(U0LSR&0x40));
} } The character' a' is not displayed in serial window0 .what will be the reason and why?is there any problem with code.please provide valuable suggestions
Thanks in Advance
View all questions in Keil forum