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

X  

L9305 数据表(PDF) 49 Page - STMicroelectronics

部件名 L9305
功能描述  Automotive 4-channel valve driver
PDF  107 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

L9305 数据表(HTML) 49 Page - STMicroelectronics

Back Button L9305 Datasheet HTML 45Page - STMicroelectronics L9305 Datasheet HTML 46Page - STMicroelectronics L9305 Datasheet HTML 47Page - STMicroelectronics L9305 Datasheet HTML 48Page - STMicroelectronics L9305 Datasheet HTML 49Page - STMicroelectronics L9305 Datasheet HTML 50Page - STMicroelectronics L9305 Datasheet HTML 51Page - STMicroelectronics L9305 Datasheet HTML 52Page - STMicroelectronics L9305 Datasheet HTML 53Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 107 page
background image
Input pins:
CS: Chip Select Active Low
SCLK: SPI Clock
MOSI: Master Output Slave Input. Communication path from MCU to the device
Output pins:
MISO: Master Input Slave Output. Communication path from the device to the MCU
9.2
CRC
Received and transmitted data are verified using a 5-bit CRC field. The CRC is calculated from D[31] of the frame
to D[5] excluding frame counter bit, D[21]. The CRC field is checked using 5° degree polynomial and is
implemented per the following equation:
g(x)= x5 + x2 + 1
If a CRC error is detected, the received frame is ignored and the fault is indicated in the next SPI frame.
In the logic block for CRC calculation, internal logic shift register is initialized all ‘1’: user should take this into
account when executing hand calculations for CRC check.
In fact, since internal logic shift register is initialized all ‘1’, most significant 5 bits must be complemented, in
addition, as already stated, Bit 21 must be removed and Bit 4 to Bit 0 must be removed for CRC calculation.
For example, in order to calculate CRC for data “0x1820080A”, user should consider the following data:
Data = "11100000000000000001000000";
which should be divided by 100101, then “01010” should result as a CRC.
As a double check that the remainder is 0, user has to concatenate the 01010 to the previous data and then
divide by 100101, i.e:
Data = "1110000000000000000100000001010";
and divide by 100101, then ‘0’ will be obtained as a remainder.
9.3
SPI errors management
If a communication fault is detected, the SPI error bit (MISO[31]: E bit) is set to “1” and the frame is ignored. The
SPI error bit always refers to the previous SPI frame. The next figure shows the SPI frame sequence for faulted
communications.
Figure 26. SPI frame with error on previous SPI frame
Frame #n with SPI protocol Error
Add_#n
Data[Add_#n] [not updated]
IC Registers
Data__#n = 0xABCD
W
0
0
crc
0
0
0
crc
Data_#n-1
Add_#n-1
Frame #n+1
Add_#n+1
Data_#n+1 = 0xYYYY
RW
0
1
crc
1
0
0
crc
SPI Fault Flag Register
SPI Fault Flag Register
Comm. Fault Addr
GADG2709181500PS
9.4
SPI timeout monitoring function
An internal monitor detects a failure if the period between communications exceeds the SPI Timeout period. This
monitoring function detects loss of the communications between the microcontroller and the device.
If no valid frames are received before the Timeout Configuration period elapses, the SPI Timeout flag is set
(SERVFLT1 register, D[6]) and the FAULTn pin is set low if the corresponding fault mask bit is not set.
The Timeout Configuration value is programmable through a 3-bit SPI field (TIMEOUTSPICFG register, D[4:2])
with a default value of 2 ms. The timer is cleared when a valid SPI frame is received.
L9305
SPI
DS12774 - Rev 10
page 49/107



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