SUB
BAUD0( rate )
SUB BAUD1( rate )
BAUD1 (rate) will set the baudrate for the IO(0) IO(1) pins on the ARMmite, that will be later used by either RXD1 or TXD1 functions. On reset these pins are configured as general purpose IOs, and a call to BAUD1 will configure them as UART1. The ARMexpressLITE uses pins IO5 and IO6 for UART1.
Baudrates for the LPC21xx and LPC23xx based boards are 15000/(n*16) in Kbaud For instance, if you call BAUD0(115200), the closest n is 8, and the resultant baudrate is 117.2 Kb, which is less than 2% fast, which would normally be close enough. That can be improved by using the fractional divider.
Baudrates for the LPC17xx based boards are 25000/(n*16) in Kbaud. n is an integer.
The ARMexpress/ARMexpressLITE is limited to 19.2 Kbaud by the level translators on SIN/SOUT when connecting to cables. Onboard connections for the ARMexpress/ARMexpressLITE may run faster.
All boards except the ARMexpress support fractional baud rate generation. This is not part of the built in firmware, but can be engaged by writing directly to those registers. Details in theYahoo Forum or the NXP User Manuals .