数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

STPM10 数据表(PDF) 35 Page - STMicroelectronics

部件名 STPM10
功能描述  Programmable single-phase energy metering IC with tamper detection
PDF  47 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STPM10 数据表(HTML) 35 Page - STMicroelectronics

Back Button STPM10 Datasheet HTML 31Page - STMicroelectronics STPM10 Datasheet HTML 32Page - STMicroelectronics STPM10 Datasheet HTML 33Page - STMicroelectronics STPM10 Datasheet HTML 34Page - STMicroelectronics STPM10 Datasheet HTML 35Page - STMicroelectronics STPM10 Datasheet HTML 36Page - STMicroelectronics STPM10 Datasheet HTML 37Page - STMicroelectronics STPM10 Datasheet HTML 38Page - STMicroelectronics STPM10 Datasheet HTML 39Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 47 page
background image
STPM10
Theory of operation
DocID17728 Rev 5
35/47
Figure 25: Timing for writing configuration and mode bits
t1 → t2 (> 30 ns): SPI out of idle state
t2 → t3 (> 30 ns): SPI enabled for writing operation
t3: data value is placed in SDA
t4: SDA value is stable and shifted into the device
t3 → t5 (> 10 μs): writing clock period
t3 → t5: 1 bit data value
t5 → t6: 6 bit address of the destination latch
t6 → t7: 1 bit EXE command
t8: end of SPI writing
t9: SPI enters idle state
The same procedure should be applied for the mode signals, but in this case the 6-bit
address must be taken from Table 12: "Mode signal description". The LSB of the command
is also called the EXE bit because instead of the data bit value, the corresponding serial
clock pulse is used to generate the necessary latching signal. In this manner the writing
mechanism does not need the measurement clock to operate and the operation of SPI
module of STPM10 is completely independent from the rest of the device logic except for
the signal POR. Commands to change system signals should be sent during active signals
SCS and SYN, as shown in the figure above. The SYN must be put low in order to disable
the SDA output driver of the STPM10 and make the SDA an input pin. A string of
commands can be sent within one period of active SCS and SYN signals, or a command
can be followed by reading the data record. However, in this case, the SYN should be
deactivated in order to enable the SDA output driver, and SYN pulse should be applied
before activation of the SCS in order to latch the data.
7.22.1
Interfacing the standard 3-wire SPI with the STPM10 SPI
Due to the fact that a 2-wire SPI is implemented in the STPM10, it is clear that sending any
command from a standard 3-wire SPI requires a 3-wire to 2-wire interface, which should
produce a proper signal on SDA from host signals SDI, SDO and SYN. The need for a
single-gate 3-state buffer could be avoided through an emulation of SPI just to send some
commands. On a microcontroller this can happen by performing the following steps:



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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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