402
CHAPTER 20 UART2, UART3
●
Using LIN operation mode 3
The LIN features are available in mode 3 (transmitting, receiving synch break), but using mode 3 sets the
UART2, UART3 data format automatically to LIN format (8N1, LSB first). Note, that the length of the
synch break for transmission is variable but for reception it is fixed 11-bit times.
Note:
During LIN operation, please set SCES bit of ESCR2/ESCR3 register to "0".
●
Changing operation settings
It is strongly recommended to reset UART2, UART3 after changing operation settings. Particularly if (for
example) start-/stop-bits added to or removed from the data format.
Note:
If settings in the Serial Mode Register (SMR2/SMR3) are desired, it is not useful to set the UPCL bit
at the same time to reset UART2, UART3. The correct operation settings are not guaranteed in this
case. Thus it is recommended to set the bits of the SMR2/SMR3 and then to set them again plus the
UPCL bit.
●
LIN slave settings
Set the baud rate before receiving the first LIN synch break for the slave operation. Otherwise, duration of
the synch break can not be correctly checked against the minimum requirement of the LIN specification (13
master bit time and 11 slave bit time).
●
Software compatibility
Although UART2, UART3 is similar to other UARTs in other microcontrollers it is not software
compatible to them. The programming models may be the same, but the structure of the registers differ.
Furthermore the setting of the baud rate is now determined by a reload value instead of selecting a
predefined value.
●
Bus idle function
The Bus Idle Function cannot be used in synchronous mode 2 and SSM=0.
Summary of Contents for MB90390 Series
Page 2: ......
Page 4: ......
Page 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Page 18: ...xiv ...
Page 132: ...104 CHAPTER 5 CLOCKS ...
Page 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Page 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Page 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Page 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Page 274: ...246 CHAPTER 15 WATCH TIMER ...
Page 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Page 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Page 364: ...336 CHAPTER 19 UART0 UART1 ...
Page 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Page 432: ...404 CHAPTER 20 UART2 UART3 ...
Page 482: ...454 CHAPTER 22 SERIAL I O ...
Page 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Page 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Page 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Page 722: ...694 APPENDIX ...
Page 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Page 740: ......