Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN2159 Arkusz danych(PDF) 7 Page - STMicroelectronics

Numer części AN2159
Szczegółowy opis  SPI protocol for STPM01/STPM10 metering devices
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2159 Arkusz danych(HTML) 7 Page - STMicroelectronics

Back Button AN2159 Datasheet HTML 3Page - STMicroelectronics AN2159 Datasheet HTML 4Page - STMicroelectronics AN2159 Datasheet HTML 5Page - STMicroelectronics AN2159 Datasheet HTML 6Page - STMicroelectronics AN2159 Datasheet HTML 7Page - STMicroelectronics AN2159 Datasheet HTML 8Page - STMicroelectronics AN2159 Datasheet HTML 9Page - STMicroelectronics AN2159 Datasheet HTML 10Page - STMicroelectronics AN2159 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 23 page
background image
AN2159
SPI operations
Doc ID 11400 Rev 3
7/23
4
SPI operations
4.1
Remote reset request
STPM01 and STPM10 have no reset pin. They are automatically reset by the power on
reset (POR) circuit when the VCC crosses the 2.5 V value but they can be reset also through
the SPI interface giving a dedicated command, which timing diagram is shown in Figure 2.
The reset through SPI (remote reset request - RRR) is sent from the on-board
microprocessor when some malfunction of metering device has been detected.
Unlike the POR, the RRR signal does not cause the 30 ms retarded restart of analog
module and the 120 ms retarded restart of digital module. This reset doesn't clear the mode
signals.
Note:
All the time intervals must be longer than 30 ns. t7 → t8 is the reset time, this interval must
be longer than 30 ns as well.
4.2
Data registers writing
Each writable bit (configuration and mode signals bits) of STPM01 and STPM10 has its own
6-bit absolute address (see related datasheets for configuration bits map).
In order to change the state of some pin one must send to STPM01 a byte of data via SPI.
This byte consists of 1-bit data to be written (MSB), followed by 6-bit address of destination
bit, followed by 1-bit don't care data (LSB), which makes a command byte.
For example, to set the STPM01 configuration bit 47 (part of the secondary current channel
calibrator) to 0, the decimal 47 should be first converted to its 6-bit binary value: 101111.
Figure 2.
Remote reset request timing
t
10
t
2
t
1
t
4
t
3
t
6
t
5
t
8
t
7
t
9
SDA
SCL
SYN
SCS



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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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