数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST7LITE39 数据表(PDF) 103 Page - STMicroelectronics

部件名 ST7LITE39
功能描述  8-BIT MCU WITH SINGLE VOLTAGE FLASH, DATA EEPROM, ADC, TIMERS, SPI, LINSCI
PDF  167 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST7LITE39 数据表(HTML) 103 Page - STMicroelectronics

Back Button ST7LITE39 Datasheet HTML 99Page - STMicroelectronics ST7LITE39 Datasheet HTML 100Page - STMicroelectronics ST7LITE39 Datasheet HTML 101Page - STMicroelectronics ST7LITE39 Datasheet HTML 102Page - STMicroelectronics ST7LITE39 Datasheet HTML 103Page - STMicroelectronics ST7LITE39 Datasheet HTML 104Page - STMicroelectronics ST7LITE39 Datasheet HTML 105Page - STMicroelectronics ST7LITE39 Datasheet HTML 106Page - STMicroelectronics ST7LITE39 Datasheet HTML 107Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 103 / 167 page
background image
ST7LITE3
103/167
LINSCI
™ SERIAL COMMUNICATION INTERFACE (LIN Mode)
11.5.9 LIN Mode - Functional Description.
The block diagram of the Serial Control Interface,
in LIN slave mode is shown in Figure 58.
It uses 6 registers:
– Three control registers: SCICR1, SCICR2 and
SCICR3
– Two status registers: the SCISR register and the
LHLR register mapped at the SCIERPR address
– A baud rate register: LPR mapped at the SCI-
BRR address and an associated fraction register
LPFR mapped at the SCIETPR address
The bits dedicated to LIN are located in the
SCICR3. Refer to the register descriptions in Sec-
tion 11.5.10for the definitions of each bit.
11.5.9.1 Entering LIN Mode
To use the LINSCI in LIN mode the following con-
figuration must be set in SCICR3 register:
– Clear the M bit to configure 8-bit word length.
– Set the LINE bit.
Master
To enter master mode the LSLV bit must be reset
In this case, setting the SBK bit will send 13 low
bits.
Then the baud rate can programmed using the
SCIBRR, SCIERPR and SCIETPR registers.
In LIN master mode, the Conventional and / or Ex-
tended Prescaler define the baud rate (as in stand-
ard SCI mode)
Slave
Set the LSLV bit in the SCICR3 register to enter
LIN slave mode. In this case, setting the SBK bit
will have no effect.
In LIN Slave mode the LIN baud rate generator is
selected instead of the Conventional or Extended
Prescaler. The LIN baud rate generator is com-
mon to the transmitter and the receiver.
Then the baud rate can be programmed using
LPR and LPRF registers.
Note: It is mandatory to set the LIN configuration
first before programming LPR and LPRF, because
the LIN configuration uses a different baud rate
generator from the standard one.
11.5.9.2 LIN Transmission
In LIN mode the same procedure as in SCI mode
has to be applied for a LIN transmission.
To transmit the LIN Header the proceed as fol-
lows:
– First set the SBK bit in the SCICR2 register to
start transmitting a 13-bit LIN Synch Break
– reset the SBK bit
– Load the LIN Synch Field (0x55) in the SCIDR
register to request Synch Field transmission
– Wait until the SCIDR is empty (TDRE bit set in
the SCISR register)
– Load the LIN message Identifier in the SCIDR
register to request Identifier transmission.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com