Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3254 Datasheet(PDF) 6 Page - STMicroelectronics

Part # AN3254
Description  SPI protocol for the STPMC1 metering device
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3254 Datasheet(HTML) 6 Page - STMicroelectronics

Back Button AN3254 Datasheet HTML 2Page - STMicroelectronics AN3254 Datasheet HTML 3Page - STMicroelectronics AN3254 Datasheet HTML 4Page - STMicroelectronics AN3254 Datasheet HTML 5Page - STMicroelectronics AN3254 Datasheet HTML 6Page - STMicroelectronics AN3254 Datasheet HTML 7Page - STMicroelectronics AN3254 Datasheet HTML 8Page - STMicroelectronics AN3254 Datasheet HTML 9Page - STMicroelectronics AN3254 Datasheet HTML 10Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 24 page
background image
SPI operations
AN3254
6/24
Doc ID 17783 Rev 1
3
SPI operations
3.1
Remote reset request
The STPMC1 has no reset pin. It is automatically reset by the power on reset (POR) circuit
when the VCC crosses the 2.5 V value but it can be reset also through the SPI interface
giving a dedicated command, the timing diagram is shown in Figure 2.
The reset through SPI (remote reset request - RRR) is sent from the onboard
microprocessor when a malfunction of the metering device has been detected.
Unlike the POR, the RRR signal does not cause the 30 ms retarded restart of the analog
module and the 120 ms retarded restart of the digital module. This reset does not clear the
mode signals.
Note:
All the time intervals must be longer than 30 ns. t7 →t8 is the reset time, this interval must
also be longer than 30 ns.
3.2
Data registers writing
Each writable bit (configuration and mode signals bits) of the STPMC1 has its own 7-bit
absolute address (see the STPMC1 datasheet for configuration bits map).
In order to change the state of some pins, a byte of data via the SPI must be sent to the
device. This byte consists of 1-bit data to be written (MSB), followed by a 7-bit address of
the destination bit, which makes a command byte.
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 24


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