SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 1216

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
40.7.4.2
1216
1216
Autobaud Mode
SAM3X/A
SAM3X/A
Error Detection
Figure 40-6. CAN Resynchronization
The autobaud feature is enabled by setting the ABM field in the CAN_MR register. In this mode,
the CAN controller is only listening to the line without acknowledging the received messages. It
can not send any message. The errors flags are updated. The bit timing can be adjusted until no
error occurs (good configuration found). In this mode, the error counters are frozen. To go back
to the standard mode, the ABM bit must be cleared in the CAN_MR register.
There are five different error types that are not mutually exclusive. Each error concerns only spe-
cific fields of the CAN data frame (refer to the Bosch CAN specification for their
correspondence):
• CRC error (CERR bit in the CAN_SR register): With the CRC, the transmitter calculates a
• Bit-stuffing error (SERR bit in the CAN_SR register): If a node detects a sixth consecutive
• Bit error (BERR bit in CAN_SR register): A bit error occurs if a transmitter sends a dominant
• Form Error (FERR bit in the CAN_SR register): If a transmitter detects a dominant bit in one
checksum for the CRC bit sequence from the Start of Frame bit until the end of the Data
Field. This CRC sequence is transmitted in the CRC field of the Data or Remote Frame.
equal bit level during the bit-stuffing area of a frame, it generates an Error Frame starting with
the next bit-time.
bit but detects a recessive bit on the bus line, or if it sends a recessive bit but detects a
dominant bit on the bus line. An error frame is generated and starts with the next bit time.
of the fix-formatted segments CRC Delimiter, ACK Delimiter or End of Frame, a form error
has occurred and an error frame is generated.
(before resynchronization)
(before resynchronization)
resynchronization
resynchronization
Nominal bit time
Nominal bit time
Bit time with
Bit time with
Received
Received
data bit
data bit
THE PHASE ERROR IS POSITIVE
(the transmitter is slower than the receiver)
THE PHASE ERROR IS NEGATIVE
(the transmitter is faster than the receiver)
SYNC_
SYNC_
SEG
SEG
PHASE_SEG2
PHASE_
Phase error
SEG2
Phase error
Phase error (max Tsjw)
PROP_SEG
PROP_SEG
SYNC_
SEG
SYNC_
SEG
PROP_SEG
PHASE_SEG1 PHASE_SEG2
PHASE_SEG1
PROP_SEG
Sample point
Nominal
after resynchronization
Phase error (max Tsjw)
PHASE_SEG1
Sample point
Sample point
after resynchronization
PHASE_SEG2
PHASE_SEG1
PHASE_SEG2
SYNC_
SEG
Nominal
Sample point
PHASE_SEG2
SYNC_
SEG
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
SYNC_
SEG
SYNC_
SEG

Related parts for SAM3X8E