전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN2159 데이터시트(PDF) 5 Page - STMicroelectronics

부품명 AN2159
상세설명  SPI protocol for STPM01/STPM10 metering devices
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2159 데이터시트(HTML) 5 Page - STMicroelectronics

  AN2159 Datasheet HTML 1Page - STMicroelectronics AN2159 Datasheet HTML 2Page - STMicroelectronics AN2159 Datasheet HTML 3Page - STMicroelectronics AN2159 Datasheet HTML 4Page - STMicroelectronics AN2159 Datasheet HTML 5Page - STMicroelectronics AN2159 Datasheet HTML 6Page - STMicroelectronics AN2159 Datasheet HTML 7Page - STMicroelectronics AN2159 Datasheet HTML 8Page - STMicroelectronics AN2159 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 23 page
background image
AN2159
SPI module description
Doc ID 11400 Rev 3
5/23
The best way to connect this standard SPI port to the STPMxx SPI is to have SCS and SYN
driven from some general purpose i/o port and SCL and SDA driven from SPI pins.
The suggested connection between microcontroller and STPMxx is the following:
●
MISO connected to SDA;
●
MOSI not connected;
●
SCLK connected to SCL;
●
SS connected to SCS;
●
a general purpose I/O pin connected to SYN.
In this way the SPI peripheral unit of microprocessor should operate as 2-wire (simplex
synchronous transfers) SPI.
The micro SPI peripheral can be used during STPMxx device reading, while during the
writing process it is possible to implement the SPI protocol via firmware.
In fact, in real applications with STPM01 the meter is calibrated and configured during meter
production, so the main microcontroller task is to read from the device and, more rarely, to
reset the device.
In STPM10 based meters the metering device has to be configured at startup from the
microcontroller, but also in this case the writing process is done once a while, while reading
is a continuous process during meter lifetime.
In both cases, since the reading time is crucial for a correct evaluation of the device data, it
is advisable to emulate writing procedure by firmware and to read using SPI peripheral
functionality, thus exploiting all the port performances to reach very fast reading.



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


데이터시트 다운로드

Go To PDF Page


링크 URL



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