Hello Pat,
I see from your code, in the Baud Rate Init,
U1LCR = 0x83; /* 8 bits, no Parity, 1 Stop bit */
Fdiv = ( Fpclk / 16 ) / baudrate ; /*baud rate */
U1DLM = Fdiv / 256;
U1DLL = Fdiv % 256;
U1LCR = 0x03; /* DLAB = 0 */
U1FCR = 0x07;
That you are not quite following the Algorithm recommeded by the LPC2124. PLease check Figure 28. Page 154. I think the way you add DLM and DLL values without using the Table from the manual it is causing the freeze.
Have a great day,
Jaime
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------