Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

STPM32 Datasheet(PDF) 67 Page - STMicroelectronics

No. de pieza STPM32
Descripción Electrónicos  ASSP for metering applications with up to four independent 24-bit 2nd order sigma-delta ADCs, 4 MHz OSF and 2 embedded PGLNA
PDF  121 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STPM32 Datasheet(HTML) 67 Page - STMicroelectronics

Back Button STPM32 Datasheet HTML 63Page - STMicroelectronics STPM32 Datasheet HTML 64Page - STMicroelectronics STPM32 Datasheet HTML 65Page - STMicroelectronics STPM32 Datasheet HTML 66Page - STMicroelectronics STPM32 Datasheet HTML 67Page - STMicroelectronics STPM32 Datasheet HTML 68Page - STMicroelectronics STPM32 Datasheet HTML 69Page - STMicroelectronics STPM32 Datasheet HTML 70Page - STMicroelectronics STPM32 Datasheet HTML 71Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 67 / 121 page
background image
DS10272 Rev 8
67/121
STPM32, STPM33, STPM34
Theory of operation
121
8.6
Communication protocol
A single communication session consists of 4 + 1 (optional CRC) bytes full-duplex data
sequence organized as follows:
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 24 (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.
Data bytes 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.
Table 24. Communication session structures
Byte
Master-side transmitted data
Slave-side transmitted data
1
ADDRESS for 32-bit register to be read
Previously requested data byte LSB
2
ADDRESS for 16-bit register to be written Previously requested data byte 2 out of 4
3
DATA for 16-bit register to be written, LSB Previously requested data byte 3 out of 4
4
DATA for 16-bit register to be written, MSB Previously requested data byte MSB
5 (optional) Master CRC verification packet
Slave CRC verification packet



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 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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