390
CHAPTER 20 UART2, UART3
●
LIN Synch Break Detection Interrupt and Flags
If a LIN Synch synchronization break is detected in the slave mode, the LIN Break Detected (LBD) Flag of
the ESCR2/ESCR3 is set to "1". This causes an interrupt, if the LIN Break Interrupt Enable (LBIE) bit is
set.
Figure 20.7-7 LIN Synch Break Detection and Flag Set Timing
The figure above demonstrates the LIN synch break detection and flag set timing.
Note, that if reception is enabled (RXE = 1) and reception interrupt is enabled (RIE = 1) the Reception Data
Framing Error (FRE) flag bit of the SSR2/SSR3 will cause a reception interrupt 2 bit times ("8N1") earlier
than the LIN break interrupt, so it is recommended to turn off RXE, if a LIN break is expected.
MB90V390H/MB90F394H(A):
LBD is only supported in operation mode 0 and 3. Upon LIN break detection, the reception error flags
(SSR2/SSR3:FRE, SSR2/SSR3:ORE, SSR2/SSR3:PE) and the reception data register full flag (SSR2/
SSR3:RDRF) are cleared.
MB90V390HA/MB90V390HB/MB90394HA:
LBD is only supported in operation mode 3. Upon LIN break detection, the reception error flags (SSR2/
SSR3:FRE, SSR2/SSR3:ORE, SSR2/SSR3:PE) and the reception data register full flag (SSR2/
SSR3:RDRF) are not cleared.
Figure 20.7-8 shows a typical start of a LIN message frame and the behavior of the UART2, UART3.
Figure 20.7-8 UART2, UART3 Behavior as Slave in LIN Mode
Serial
clock
Serial clock
cycle#
Reception interrupt occurs, if RXE=0
Reception interrupt occurs, if RXE=1
Serial
Input
(LIN bus)
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FRE
(RXE=1)
LBD
(RXE=0)
MB90V390HA/
MB90V390H/
MB90F394H(A)
MB90V390HB/
MB90394HA
Serial
clock
Synch break
Synch field
Serial
Input
(LIN bus)
LBD
(e. g. 14 bit)
LBR cleared
by CPU
Internal
ICU
Signal
Содержание MB90390 Series
Страница 2: ......
Страница 4: ......
Страница 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Страница 18: ...xiv ...
Страница 132: ...104 CHAPTER 5 CLOCKS ...
Страница 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Страница 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Страница 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Страница 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Страница 274: ...246 CHAPTER 15 WATCH TIMER ...
Страница 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Страница 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Страница 364: ...336 CHAPTER 19 UART0 UART1 ...
Страница 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Страница 432: ...404 CHAPTER 20 UART2 UART3 ...
Страница 482: ...454 CHAPTER 22 SERIAL I O ...
Страница 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Страница 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Страница 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Страница 722: ...694 APPENDIX ...
Страница 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 740: ......