st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 158

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
On-chip peripherals
10.5.9
158/371
SCI extended transmit prescaler division register (SCIETPR)
Table 67.
LIN mode - functional description
The block diagram of the serial control interface, in LIN slave mode is shown in
It uses six registers:
The bits dedicated to LIN are located in the SCICR3. Refer to the register descriptions in
Section 10.5.10: LIN mode registers
Entering LIN mode
To use the LINSCI in LIN mode the following configuration must be set in SCICR3 register:
Master
To enter master mode the LSLV bit must be reset. In this case, setting the SBK bit sends 13
low bits.
The baud rate can then be programmed using the SCIBRR, SCIERPR and SCIETPR
registers.
In LIN master mode, the conventional prescaler and/or extended prescaler define the baud
rate (as in standard SCI mode).
SCIETPR
7:0 ETPR[7:0]
Bit
3 control registers: SCICR1, SCICR2 and SCICR3
2 status registers: the SCISR register and the LHLR register mapped at the SCIERPR
address
A baud rate register: LPR mapped at the SCIBRR address and an associated fraction
register LPFR mapped at the SCIETPR address
Clear the M bit to configure 8-bit word length.
Set the LINE bit.
7
Name
SCIETPR register description
8-bit extended transmit prescaler register
6
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
The extended baud rate generator is activated when a value other than 00h is
stored in this register. The clock frequency from the 16 divider (see
divided by the binary factor set in the SCIETPR register (in the range 1 to 255).
The extended baud rate generator is not active after a reset.
Note: In LIN slave mode, the conventional and extended baud rate generators are
disabled.
5
for the definitions of each bit.
4
ETPR[7:0]
R/W
Function
3
2
Reset value: 0000 0000 (00h)
1
Figure
Figure
63) is
0
65.

Related parts for st7pmc2s6