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

X  

STPMC1 数据表(PDF) 65 Page - STMicroelectronics

部件名 STPMC1
功能描述  Programmable poly-phase energy calculator IC
PDF  77 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STPMC1 数据表(HTML) 65 Page - STMicroelectronics

Back Button STPMC1 Datasheet HTML 61Page - STMicroelectronics STPMC1 Datasheet HTML 62Page - STMicroelectronics STPMC1 Datasheet HTML 63Page - STMicroelectronics STPMC1 Datasheet HTML 64Page - STMicroelectronics STPMC1 Datasheet HTML 65Page - STMicroelectronics STPMC1 Datasheet HTML 66Page - STMicroelectronics STPMC1 Datasheet HTML 67Page - STMicroelectronics STPMC1 Datasheet HTML 68Page - STMicroelectronics STPMC1 Datasheet HTML 69Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 77 page
background image
STPMC1
Theory of operation
Doc ID 15728 Rev 6
65/77
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 bits address of the destination latch
t6 −> t7: 1 bit EXE command
t8: end of SPI writing
t9: SPI enters idle state
9.21.4
Interfacing the standard 3-wire SPI with STPMC1 SPI
Due to the fact that a 2-wire SPI is implemented in the STPMC1, it is clear that sending any
command from a standard 3-wire SPI would require 3-wire to 2-wire interface, which should
produce a proper signal on SDATD from host signals SDI, SDO and SYN. A single gate 3-
state buffer could be omitted by an emulation of SPI just to send some command. On a
microcontroller this would be done by the following steps:
1.
disable the SPI module
2.
set SDI pin which is connected to SDATD to be output
3.
activate SYN first and then SCS
4.
apply new bit value to SDI and activate SCL
5.
deactivate SCL
6.
repeat the last two steps seven times to complete one byte transfer
7.
repeat the last three steps for any remaining byte transfer
8.
set SDI pin to be input
9.
deactivate SCS and the SYN
10. enable the SPI module
In case of precharge command (0xFF), emulation above is not necessary. Due to the pull up
device on the SDATD pin of the STPMC1 the processor needs to perform the following
steps:
1.
activate SYN first in order to latch the result;
2.
after at least 1 s activate SCS
3.
write one byte to the transmitter of SPI (this produces 8 pulses on SCL with SDI = 1)
4.
deactivate SYN
5.
optionally read the data records (the sequence of reading is altered
6.
deactivate SCS
9.21.5
Permanent writing of the CFG bits
In order to make a permanent set of some CFG bits, the following procedure should
be conducted:



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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77


数据表 下载

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