Content originally posted in LPCWare by hangdog on Sun Nov 02 15:40:11 MST 2014
Wow, I fully missed that the other day, sorry. I've got nothing else, I don't think.
UART1 looks the same as USART0, but with the addition of flow control and the loss of synchronous mode. So long as MCR isn't messed with, I'd guess that flow control won't interfere. Your code seems to match mine, and in any case you say it works for USART0, so that's that I guess.
You 100% sure on your pinning? Those tables mess me up from time to time. Otherwise, the code I've got does things in a slightly different order, though I shouldn't think that's the problem. It goes:
SCU
CLK
FCR
LCR |= DLAB
DLM
DLL
LCR &= ~DLAB
FDR
LCR = whatever
TER = TXEN
Cheers