I'm using the LPC2214 as a controller on one of our controller boards. We normally communicate with this @ 115200 baud, which is quite sufficient for our application. We are now trying to change this baud to 460800 on the fly, such that we can download data to it faster. We do this by firstly sending a command to the controller, which it interprets and changes the baud rate. We can then send the data at the higher speed, before we resend the command to reset the baud rate back to 115200. The code is working quite well, for a limited number of changes of baud. However on the 8th attempt of baud rate change, the processor hangs... or I actually loose communications with it. Looking at the interrupts, THRE has been set. Can you please point me in a direction that can help me?
Original Attachment has been moved to: uart_code.txt.zip