Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4290 Datasheet(PDF) 10 Page - STMicroelectronics

Part # AN4290
Description  This document describes how the SPI communication
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4290 Datasheet(HTML) 10 Page - STMicroelectronics

Back Button AN4290 Datasheet HTML 6Page - STMicroelectronics AN4290 Datasheet HTML 7Page - STMicroelectronics AN4290 Datasheet HTML 8Page - STMicroelectronics AN4290 Datasheet HTML 9Page - STMicroelectronics AN4290 Datasheet HTML 10Page - STMicroelectronics AN4290 Datasheet HTML 11Page - STMicroelectronics AN4290 Datasheet HTML 12Page - STMicroelectronics AN4290 Datasheet HTML 13Page - STMicroelectronics AN4290 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 16 page
background image
SPI communication interface
AN4290
10/16
DocID024501 Rev 2
Releasing the failure flags (GetStatus command)
All the failure flags in the STATUS register of the device are latched when the respective
alarm condition is triggered. In this way, the occurrence of a temporary failure is stored into
the status register and the user is warned about it. The flags can be released through the
GetStatus command.
The command byte is described in Table 5.
The command does not need any argument and generates a response byte sequence
containing the STATUS register value (most significant byte first) and releases all the
latched failure flags. The response is generated before releasing the flags, so the returned
STATUS value still contains all the failure information.
The failure flags are cleared as soon as the GetStatus command byte is received as shown
in Figure 7.
Figure 7. GetStatus command and failure flag clearing
The response corresponds to the value of the STATUS register after the GetStatus
command has been received and decoded. If the register value changes later, the response
is not updated accordingly.
The STATUS register can also be read using the GetParam command; in this case the
failure flags are not released.
Table 5. GetStatus byte command
Bit #
7
654
321
0
1
011
000
0
From MCU (MOSI)
!
GetStatus
NOP
NOP
To MCU (MISO)
FLAG
output
Unknown
STATUS
(byte 1)
STATUS
(byte 0)
Failure flags are cleared
AM16751v1



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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