Figure 812. Operating Modes - STMicroelectronics SPC572L series Reference Manual

Table of Contents

Advertisement

RM0400
When in initialization mode, all message transfers to and from the LIN bus are stopped and
the status of LIN bus output LINTX is recessive (high). If software invokes the initialization
mode when a bus transfer is in progress, the transfer is aborted. The software should
therefore check the LIN state before setting this bit.
To initialize the LINFlexD controller, software must:
1.
set up the baud rate registers
2.
reset the UART bit
3.
select the mode (Master or Slave)
4.
configure checksum control bits
5.
initialize the identifier list (Slave mode)
Normal mode (NM)
Once software has completed initialization of the LINFlexD controller, it can enter Normal
mode by clearing the INIT bit.
Sleep mode (SM)
Sleep mode in LINFlexD reduces power consumption. This mode is entered by setting the
SLEEP bit in LINCR1. In this mode the LINFlexD clock is stopped. LINFlexD can be woken
from Sleep mode by clearing the SLEEP bit.
If software detects a wakeup pulse of 150 µs on the LIN Bus, it can request LINFlexD to
wake up from Sleep mode. Refer to
50.3.2.2
Test mode
Loop Back mode
This mode is entered by setting the LBKM bit in LINCR1. In this mode, the LINFlexD
receives the Identifier and Data transmitted by itself and writes the same in the BIDR and
Data buffers respectively. This mode is provided for selftest functions. Bit error is checked in
this mode.

Figure 812. Operating modes

SLEEP = 0
or
(RDI =
and
SLEEP = 1
AUTOWU = 1)
NORMAL
DocID027809 Rev 4
Section 50.3.2.10, Wakeup
SLEEP
SLEEP = 1
INIT = 1
SLEEP = 0 and INIT = 0
management.
SLEEP = 0
and
INIT = 1
INIT
LINFlexD
1417/2058
1506

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?

Subscribe to Our Youtube Channel

Table of Contents