Datasheet
SAM9G45 [DATASHEET]
Atmel-6438O-ATARM-SAM9G45-Datasheet_08-Dec-15
612
32.7.8.12 Frame Slot Mode
This mode is useful only for Master nodes. It respects the following rule: each frame slot shall be longer than or
equal to t
Frame_Maximum
.
If the Frame Slot Mode is enabled (FSDIS = 0) and a frame transfer has been completed, the TXRDY flag is set
again only after t
Frame_Maximum
delay, from the start of frame. So the Master node cannot send a new header if the
frame slot duration of the previous frame is inferior to t
Frame_Maximum
.
If the Frame Slot Mode is disabled (FDIS = 1) and a frame transfer has been completed, the TXRDY flag is set
again immediately.
The t
Frame_Maximum
is calculated as below:
If the Checksum is sent (CHKDIS = 0):
t
Header_Nominal
= 34 x t
bit
t
Response_Nominal
= 10 x (NData + 1) x t
bit
t
Frame_Maximum
= 1.4 x (t
Header_Nominal
+ t
Response_Nominal
+ 1)
(Note:)
t
Frame_Maximum
= 1.4 x (34 + 10 x (DLC + 1 + 1) + 1) x t
bit
t
Frame_Maximum
= (77 + 14 x DLC) x t
bit
If the Checksum is not sent (CHKDIS = 1):
t
Header_Nominal
= 34 x t
bit
t
Response_Nominal
= 10 x NData x t
bit
t
Frame_Maximum
= 1.4 x (t
Header_Nominal
+ t
Response_Nominal
+ 1
(Note:)
)
t
Frame_Maximum
= 1.4 x (34 + 10 x (DLC + 1) + 1) x t
bit
t
Frame_Maximum
= (63 + 14 x DLC) x t
bit
Note: The term “+1” leads to an integer result for t
Frame_Max
(LIN Specification 1.3)
Figure 32-45. Frame Slot Mode
32.7.8.13 LIN Errors
Bit Error
This error is generated when the USART is transmitting and if the transmitted value on the Tx line is different from
the value sampled on the Rx line.
If a bit error is detected, the transmission is aborted at the next byte border.
Break
Synch
Protected
Identifier
Data N
Checksum
Header
Inter-
frame
space
Response
space
Frame
Frame slot = TFrame_Maximum
Response
TXRDY
Write
US_THR
Write
US_LINID
Data 1 Data 2 Data 3
Data3
Data N-1
Data N
Frame Slot Mode
Disabled
Frame Slot Mode
Enabled
LINTC
Data 1