I am having a problem calculating the baud rate of 9600 bauds for ARM7 (LPC2148) at 12MHZ crystal. I have figured out a value of :
U1DLM=0x00; U1DLL=0x62;
following is my UART1 initialization code:
void init_UART1() {
PINSEL0=0x00050000; // FOR UART1 U1LCR=0x83; U1DLM=0x00; U1DLL=0x62; U1LCR=0x03; U1FCR=0x01; }
please help me if there is any other solution.....
--------------------------------------- Posted through
formatting link