Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN3254 Datasheet(PDF) 10 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) 10 Page - STMicroelectronics

Back Button 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 AN3254 Datasheet HTML 11Page - STMicroelectronics AN3254 Datasheet HTML 12Page - STMicroelectronics AN3254 Datasheet HTML 13Page - STMicroelectronics AN3254 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 24 page
background image
SPI operations
AN3254
10/24
Doc ID 17783 Rev 1
t1 → t2: latching phase. Interval value > 2 / fXTAL1
t2 → t3: data latched, SPI idle. Interval value > 30 ns
t3 → t4: enable SPI for read operation. Interval value > 30 ns
t4 → t5: serial clock counter is reset. Interval value > 30 ns
t5 → t6: SPI reset and enabled for read operation. Interval value > 30 ns
t7: internal data transferred to SDA
t8: SDA data is stable and can be read
After the shifting phase, it is possible to read data, applying 32 serial clocks per data record.
Up to 28 data records can be read this way.
There are seven groups of four data records available, each consisting of a parity nibble
(see Section 3.2) and a 28-bit data field. Figure 5 and Figure 6 show the records structure
and the information they hold in the default sequence of reading.
The system which reads the data record from the STPMC1 should check the integrity of
each data record. If the check fails, the reading should be repeated, but this time only the
shifting phase should be applied otherwise a new data would be latched into the
transmission latches and the previous reading would be incorrectly lost.
Most of the registers contain the values of the electrical parameters and the status of the
signals, except the registers CF0, CF1, CF2, and CF3 which represent the configuration
bitmap.
The data records have a fixed position of reading. This means that no addressing of records
is necessary.
The sequence of data records during the reading operation is fixed. However, an application
may apply a precharge command prior to the reading phase. This command increases the
group pointer forcing the device to respond with the next group data records sequence. In
this way, a faster access to later groups is possible.
Figure 4.
Timing for reading data registers
t
2
t
1
t
4
t
3
t
6
t
5
t
8
t
7
last bit of 32nd byte
1st byte
1st byte
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