전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

TN0897 데이터시트(PDF) 12 Page - STMicroelectronics

부품명 TN0897
상세설명  The document describes a standardized SPI protocol
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

TN0897 데이터시트(HTML) 12 Page - STMicroelectronics

Back Button TN0897 Datasheet HTML 8Page - STMicroelectronics TN0897 Datasheet HTML 9Page - STMicroelectronics TN0897 Datasheet HTML 10Page - STMicroelectronics TN0897 Datasheet HTML 11Page - STMicroelectronics TN0897 Datasheet HTML 12Page - STMicroelectronics TN0897 Datasheet HTML 13Page - STMicroelectronics TN0897 Datasheet HTML 14Page - STMicroelectronics TN0897 Datasheet HTML 15Page - STMicroelectronics TN0897 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 28 page
background image
SPI communication flow
TN0897
12/28
Doc ID 023176 Rev 2
2.3.1
Global error flag definition
The <Global Error Flag> (GEF) is a diagnosis information which is transmitted with every
communication frame. It indicates that a failure condition has been detected which can be
identified in the Status Registers.
The GEF is composed by a logical OR combination of failures notified in the <Global
Status> register and in device specific Status Registers.
Bits 1, 2 and 3 of the <Global Status> register may be maskable in the <Configuration>
register, i.e. these bits may be excluded from the GEF composition.
The clock monitor counts the number of clock pulses during a communication frame (while
CSN is low). If the number of SCK pulses does not correspond with the frame width
indicated in the <SPI-frame-ID> (ROM address 3EH) the frame is ignored and the
<Communication Error> bit in the <Global Status> register is set.
This safety function is implemented to avoid an unwanted activation of output stages by a
wrong communication frame.
If a communication error is detected during a read operation, the <Communication Error> bit
in the <Global Status> register is set, but the register read is transferred to the SDO pin. If
the number of clock cycles is smaller than the frame width, the data at SDO is truncated. If
the number of clock cycles is larger than the frame width, the data at SDO is filled with ‘0’.
If the frame width is greater than 16 bits, initial Read of <SPI-frame-ID> using a 16 bits
communication sets the <Communication Error> bit of the <Global Status> register. A
subsequent correct length transaction is necessary to correct this bit.
Due to this safety functionality a daisy chaining of SPI is not possible. Instead, a parallel
operation of the SPI bus by controlling the CSN signal of the connected ICs is
recommended.
The SPI Failure Detection identifies a short circuit condition at SDI if all bits within a received
frame are ‘0’ (short to GND) or ‘1’ (short to Vdd).
In this case the communication frame is ignored, the device enters the <Fail-Safe Mode>
and the <Fail-Safe> bit in the <Global Status> register is set.



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


데이터시트 다운로드

Go To PDF Page


링크 URL



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