Content originally posted in LPCWare by MikeSimmonds on Fri Oct 31 09:51:53 MST 2014
Hi. I am using 1778 (same as 1788 but no LCD) with all 5 UARTS.
I do not use CMSIS or LPCOPEN so I cannot comment on their driver or header files.
I have just checked my user manual (latest rev 3.1 Sept 2014) and the "TER" at offset 0x30 is indeed missing for UART4.
And is missing going back as far as version 2.0 it seems.
Since I do not need the modem signals of UART1 or the IRDA of UART4, my (original hand crafted code) has always
assumed that all five UARTS implement (at least) the same registers as documented in UART0/2/3, with TER at 0x30
from the base.
So I never noticed the UM error (I consider it to be an error anyway). I just enable Tx via bit 7 of TER at 30 for each and
all UARTs.
And I can transmit and receive on all 5 UARTS (incl nbr 4). Does the code you got from the LPCOpen sources actually
work -- can you transmit on UART4? If not, this implies a library bug too.
Anyway, hope this helps. Mike
BTW I amd not sure that you should double post in two different forums like this!