Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

STPM32 Datasheet(PDF) 46 Page - STMicroelectronics

Part # STPM32
Description  ASSP for metering applications with up to four independent 24-bit 2nd order sigma-delta ADCs, 4 MHz OSF and 2 embedded PGLNA
PDF  89 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STPM32 Datasheet(HTML) 46 Page - STMicroelectronics

Back Button STPM32 Datasheet HTML 42Page - STMicroelectronics STPM32 Datasheet HTML 43Page - STMicroelectronics STPM32 Datasheet HTML 44Page - STMicroelectronics STPM32 Datasheet HTML 45Page - STMicroelectronics STPM32 Datasheet HTML 46Page - STMicroelectronics STPM32 Datasheet HTML 47Page - STMicroelectronics STPM32 Datasheet HTML 48Page - STMicroelectronics STPM32 Datasheet HTML 49Page - STMicroelectronics STPM32 Datasheet HTML 50Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 89 page
background image
Byte
Master-side transmitted data
Slave-side transmitted data
5 (optional)
Master CRC verification packet
Slave CRC verification packet
The above information is exchanged between master and slave in the same communication session, or
transaction. SPI master can issue a read-request and a write-request (optional).
The master initiates the communication sending the STPM3x a frame see Table 23 (read address - write address
- LS data byte - MS data byte - optional CRC).
Two command codes are provided:
Dummy read address 0xFF increments by one the internal read pointer
Dummy write address 0xFF specifies that no writing is requested (the two following incoming data frames
are ignored)
Upon the reception of a frame, the STPM3x replies to master data sending the 32-bit register addressed during
the previous communication session; during the first session the slave sends, by default, the 32-bit data stored
into the first (row 0) memory register. Data are organized in 8-bit packets so that the least significant byte is sent
first and the most significant byte is sent last.
A final 8-bit CRC packet is sent to master to verify no data corruption has occurred during the transmission from
slave to master. The CRC feature, enabled by default, can be controlled by a configuration bit into US_REG1
memory row (read address 0x24, write address 0x24).
If CRC bit in US_REG1 is cleared, the communication consists of 4 bytes only.
Write-requests are executed immediately after the transaction has completed, while read- requests are fulfilled at
the end of the next transaction only, because the sent read-address has just set the internal register pointer to
deliver data during the following transaction.
So, while one transaction is enough to write data into memory, at least two transactions are needed to read
selected data from memory.
Databytes are swapped with respect to the order of the byte, since during transmission, the 3rd byte sent to MOSI
line is the least-significant (LS) byte (bits [7:0]) and the 4th byte is the most-significant (MS) byte of the data to be
written (bits [15:8]).
On MISO line, the first data byte received is the least-significant (LS, bits [7:0]) and the last is the most-significant
(MS, bits [31:24]) of the record, as shown below.
Figure 48. Single communication time frame
Read Address
Write Address
LS Data [7:0]
MS Data [15:8]
CRC Byte
Data [7:0]
Data [15:8]
Data [23:16]
Data [31:24]
CRC Byte
MOSI
MISO
SCS
timeline
Data and configuration registers are organized into 32-bit rows in the internal memory, but can only be accessed
16-bit at a time for writing operations.
The address space is 70 rows wide, so there are 70 32-bit addressable elements for reading operations; since the
first 21 configuration registers are writable, there are 42 (= 21 x 2) 16-bit addressable elements for writing
operations.
STPM32, STPM33, STPM34
Communication protocol
DS10272 - Rev 13
page 46/89



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 78 79 80 81 82 83 84 85 86 87 88 89


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