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

X  

STGAP1S 数据表(PDF) 45 Page - STMicroelectronics

部件名 STGAP1S
功能描述  gapDRIVE™: galvanically isolated single gate driver
PDF  67 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STGAP1S 数据表(HTML) 45 Page - STMicroelectronics

Back Button STGAP1S Datasheet HTML 41Page - STMicroelectronics STGAP1S Datasheet HTML 42Page - STMicroelectronics STGAP1S Datasheet HTML 43Page - STMicroelectronics STGAP1S Datasheet HTML 44Page - STMicroelectronics STGAP1S Datasheet HTML 45Page - STMicroelectronics STGAP1S Datasheet HTML 46Page - STMicroelectronics STGAP1S Datasheet HTML 47Page - STMicroelectronics STGAP1S Datasheet HTML 48Page - STMicroelectronics STGAP1S Datasheet HTML 49Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 45 / 67 page
background image
DocID027190 Rev 3
45/67
STGAP1S
SPI interface
67
CRC protection
All the command and data bytes have to be followed by a CRC code. If the CRC_SPI bit is
set high, this code is used to check the data byte is correct, otherwise the CRC byte is
ignored. In this case the CRC byte must be transmitted by the host, but its value is
unimportant.
A failure on the CRC check causes the respective data byte is ignored and the SPI_ERR
flag is set high.
The polynomial generator of the CRC code is X8 + X2 + X + 1 corresponding to the block
diagram in Figure 23.
Figure 23. Block diagram of the CRC generator
The host must transmit to the device the inverted CRC code computed using the following
procedure:
Initialize CRC to all 1
Start the calculation from the most significant bit of the message
Invert the CRC result
In case of a WriteReg command, the CRC of the data byte (i.e.: the new register value) must
be calculated initializing the computation system to the CRC of the command byte (i.e.: the
CRC is calculated on a 16-bit message composed by the command + data byte). This way
a data byte cannot be accepted as a command byte and vice-versa. Some examples are
listed in Table 11.
The device always transmits a response byte followed by a CRC computed using the same
polynomial generator (X8 + X2 + X + 1). The CRC byte transmitted by the device is not
inverted.
If no response is required, the word returned by the device has no meaning and it should be
discarded. Some examples are listed in Table 12.
X0
X1
X2
X3
X4
X5
X6
X7
Message
(from MSb to LSb)
Table 11. CRC byte examples (from host to device)
Command
Command byte
Command CRC
Data byte
Data CRC
StopConfig
0x3A
0xAA
N.A.
N.A.
WriteReg(CFG1, 0x20)
0x8C
0xA1
0x20
0x82
WriteReg(CFG5, 0x06)
0x99
0xCA
0x06
0x66
ResetStatus
0xD0
0x32
N.A.
N.A.
ReadReg(CFG3)
0xBE
0x3F
N.A.
N.A.



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


数据表 下载

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