Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

AN3254 Datasheet(PDF) 9 Page - STMicroelectronics

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

AN3254 Datasheet(HTML) 9 Page - STMicroelectronics

Back Button 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 AN3254 Datasheet HTML 11Page - STMicroelectronics AN3254 Datasheet HTML 12Page - STMicroelectronics AN3254 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 24 page
background image
AN3254
SPI operations
Doc ID 17783 Rev 1
9/24
1.
collect all addresses of bits to be permanently set into some list
2.
clear all OTP shadow latches
3.
set the system signal RD
4.
connect a current source of at least +14 V, 1 mA to 3 mA to the VOTP pin
5.
wait until VOTP voltage is stable
6.
write one of the bits from the list (as the RD signal is set, the bit is written in the
corresponding OTP shadow latch)
7.
set the system signal WE
8.
wait for 300 µs
9.
clear the system signal WE
10. clear the OTP shadow latch which was set in step 6
11. until all wanted bits are permanently set, repeat steps 5 to 10
12. disconnect the current source
13. wait until VOTP voltage is less than 3 V
14. clear the system signal RD
15. read all data records, in the last two there is read back of all configuration bits
16. if verification of CFG bits fails and there is still a chance to pass, repeat steps 1 to 16.
For the steps above which ask of set or clear, apply the timing shown in Figure 3 with proper
data on the SDA.
For step 15 apply the timing shown in Figure 4.
For a permanent set of the TSTD bit, which locks the device, the procedure above must be
conducted in such a way that steps 6 to 13 are performed in series during a single period of
active SCS because the idle state of SCS would make the signal TSTD immediately
effective.
This would abort the procedure, and it would possibly destroy the device.
In fact the clearing of system signal RD would connect all gates of 3 V NMOS sense
amplifiers of already permanently set bits to the VOTP source.
3.4
Reading data registers
There are two phases of reading, called latching and shifting.
Latching is used to sample results into transmission latches. This is done with the
active pulse on SYN when SCS is idle. The length of pulse on SYN must be longer than
2 periods of the measurement clock, i.e. more than 500 ns.
Shifting starts when SCS becomes active. In the beginning of this phase another, but
much shorter pulse (30 ns) on SYN should be applied. An alternative way is to extend
the pulse on SYN into the second phase of reading. Latching and shifting finish at the
dotted line in the timing diagram shown in Figure 4.


Similar Part No. - AN3254

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN3250 STMICROELECTRONICS-AN3250 Datasheet
596Kb / 16P
   M24LR64-R Multi-bank reference design description and settings
AN3255 STMICROELECTRONICS-AN3255 Datasheet
464Kb / 24P
   Building an RFID short-range reader using the STM8S-DISCOVERY
AN3256 STMICROELECTRONICS-AN3256 Datasheet
945Kb / 23P
   Low-cost LED driver for an A19 lamp
AN3258 STMICROELECTRONICS-AN3258 Datasheet
180Kb / 16P
   Local interconnect network
AN3259 STMICROELECTRONICS-AN3259 Datasheet
334Kb / 25P
   RS232 communications with a terminal using the STM8S-DISCOVERY
More results

Similar Description - AN3254

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN2159 STMICROELECTRONICS-AN2159 Datasheet
671Kb / 23P
   SPI protocol for STPM01/STPM10 metering devices
TN0897 STMICROELECTRONICS-TN0897 Datasheet
452Kb / 28P
   The document describes a standardized SPI protocol
AN4286 STMICROELECTRONICS-AN4286 Datasheet
555Kb / 38P
   SPI protocol used in the STM32 bootloader
logo
Advantech Co., Ltd.
ESRP-PCS-ICR3231 ADVANTECH-ESRP-PCS-ICR3231 Datasheet
1,017Kb / 2P
   Cellular Connection and Protocol Conversion for Smart Metering
logo
STMicroelectronics
UM1059 STMICROELECTRONICS-UM1059 Datasheet
470Kb / 9P
   The STPMC1 and STPMS2 evaluation kit
October 2014 Rev 2
logo
Sames
PM9904BPD SAMES-PM9904BPD Datasheet
4Mb / 22P
   Evaluation Board for the SA9904B Energy Metering IC
logo
TRINAMIC Motion Control...
TMC4331A TRINAMIC-TMC4331A Datasheet
4Mb / 178P
   SPI Interfaces for 關C with easy-to-use protocol.
logo
STMicroelectronics
UM1488 STMICROELECTRONICS-UM1488 Datasheet
2Mb / 17P
   STPMC1 evaluation software
AN4121 STMICROELECTRONICS-AN4121 Datasheet
1Mb / 26P
   Poly-phase demonstration kit with the STPMC1 and STPMS2
logo
NEC
UPD72042B NEC-UPD72042B Datasheet
362Kb / 90P
   LSI DEVICE FOR Inter Equipment Bus (IEBus) PROTOCOL CONTROL
More results


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




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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