STMicroelectronics SPC572L series Reference Manual page 1420

Table of Contents

Advertisement

LINFlexD
When at least one identifier filter is active and configured for reception, an RX interrupt is
generated only after the checksum reception. No interrupt request is generated on reception
of the ID.
If the Identifier is filtered by software, you can discard the data by setting the DDRQ bit in
the LINCR2, while HRF is set.
Note that for software filtering, software must decide the type of checksum (configure the
CCS bit of the BIDR register) before reception of data. Otherwise the previous value of the
CCS bit is considered while calculating checksum.
50.3.2.5
Errors
50.3.2.5.1 Header error
A header error is an error during header reception. The types are:
Sync Del error (SDEF)
Sync field error (SFEF)
Identifier Parity error (IDPEF)
1.
Sync Delimiter too short
The delimiter should be 1 for at least one bit time, otherwise it is considered short and
consequently the receiver discards synchronization on the current header. Hence the frame
is discarded. An interrupt is generated if the HEIE bit of LINIER is set.
2.
Inconsistent Sync field
This error condition is monitored differently depending on whether autosynchronization is
ON or OFF.
Case 1: Autosynchronization ON (LASE bit of LINCR1 = 1):
When Autosynchronization is enabled, the inconsistent Sync Field informs:
that the deviation error on the Sync Field is outside the LIN specification, which allows
up to 14% of period deviation between the slave and master oscillators,
or
An overflow has occurred during the Sync Field Measurement, which leads to an
overflow of the divider registers.
Deviation error on the Sync Field
The deviation error is checked by comparing the current baud rate (relative to the slave
oscillator) with the received LIN Sync Field (relative to the master oscillator). Two checks
are performed in parallel:
1420/2058
DocID027809 Rev 4
RM0400

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SPC572L series and is the answer not in the manual?

Table of Contents