Hello Paul,
I used an example of the CodeBundle for the LPC824 (Example_UART0_Terminal) At first the example uses the P0_0 and P0_4 for the UART0, I made the changes to use P0_10 and P0_11 and I connected these two pins to an external pull up of 4.7K. The example worked as expected even with the pin change. I also tried with different baudrates (2400, 9600 and 115200) and everything went well.
You can use this example as a guide to see how configurations are made and see if you are missing something. The example is really good commented so it easy to understand how it works.
The changes I made in the example project are the next ones.
First I activate the desired pins:
ConfigSWM(U0_TXD, P0_10);
ConfigSWM(U0_RXD, P0_11);
Then I change the baudrate in the following line:
LPC_USART0->BRG = 781;
I obtain the value of BRG (depending on the desire baudrate) of the next equation:
Please let me know if you have more questions or doubts!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------