MB95630H Series
208
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-2v0-E
CHAPTER 14 LIN-UART
14.4 Interrupts
■
LIN Synch Field Edge Detection Interrupt (8/16-bit Composite Timer Interrupt)
Table 14.4-3 shows the control bits and interrupt sources of the LIN synch field edge detection
interrupt.
●
LIN synch field edge detection interrupt (8/16-bit composite timer interrupt)
In operating mode 3, the LIN synch field edge detection interrupt functions when the LIN-
UART performs LIN slave operation.
After a LIN synch break is detected, the internal signal (LSYN) is set to "1" at the first falling
edge of the LIN synch field, and set to "0" after the fifth falling edge. Between both falling
edges, a 8/16-bit composite timer interrupt is generated, provided that the 8/16-bit composite
timer has been configured to receive internal signals and detect rising edges and falling edges
and the 8/16-bit composite interrupt has been enabled.
The difference in the count values detected by the 8/16-bit composite timer (see Figure 14.4-1)
is equivalent to eight bits of the master serial clock. A new baud rate can be calculated from
this value. After set, a new baud rate becomes effective from the falling edge detected at the
next start bit set.
Figure 14.4-1 Baud Rate Calculation by 8/16-bit Composite Timer
Table 14.4-3 Interrupt Control Bits and Interrupt Sources of LIN Synch Field Edge Detection
Interrupt
Interrupt
request flag
bit
Flag
register
Operating mode
Interrupt source
Interrupt source
enable bit
Interrupt request flag
clear
0
1
2
3
IR
Tn0CR1
×
×
×
❍
First falling edge of the LIN
synch field
Tn0CR1:IE
Write "0" to Tn0CR1:IR
IR
Tn0CR1
×
×
×
❍
Fifth falling edge of the LIN
synch field
❍
: Bit to be used
×
: Unused bit
LIN synch field
Stop
bit
RDR
bit0
RDR
bit1
RDR
bit2
RDR
bit3
RDR
bit4
RDR
bit5
RDR
bit6
Reception data
Data = 0x55
Internal signal
(LSYN)
8/16-bit
composite timer
Capture value 1
Capture value 2
Difference in count values = Capture value 2 - Capture Value 1
RDR
bit7
Start
bit
Содержание 8FX
Страница 2: ......
Страница 4: ......
Страница 8: ...iv ...
Страница 17: ...xiii A 3 Bit Manipulation Instructions SETB CLRB 621 A 4 F2 MC 8FX Instructions 622 A 5 Instruction Map 625 ...
Страница 18: ...xiv ...
Страница 22: ...xviii ...
Страница 108: ...MB95630H Series 86 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 2v0 E CHAPTER 6 I O PORT 6 2 Configuration and Operations ...
Страница 284: ...MB95630H Series 262 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 2v0 E CHAPTER 14 LIN UART 14 8 Notes on Using LIN UART ...
Страница 648: ...MB95630H Series 626 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 2v0 E APPENDIX A Instruction Overview A 5 Instruction Map ...
Страница 650: ......