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

X  

STPM32TR Datasheet(PDF) 70 Page - STMicroelectronics

No. de pieza STPM32TR
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

STPM32TR Datasheet(HTML) 70 Page - STMicroelectronics

Back Button STPM32TR Datasheet HTML 66Page - STMicroelectronics STPM32TR Datasheet HTML 67Page - STMicroelectronics STPM32TR Datasheet HTML 68Page - STMicroelectronics STPM32TR Datasheet HTML 69Page - STMicroelectronics STPM32TR Datasheet HTML 70Page - STMicroelectronics STPM32TR Datasheet HTML 71Page - STMicroelectronics STPM32TR Datasheet HTML 72Page - STMicroelectronics STPM32TR Datasheet HTML 73Page - STMicroelectronics STPM32TR Datasheet HTML 74Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 70 / 121 page
background image
Theory of operation
STPM32, STPM33, STPM34
70/121
DS10272 Rev 8
Software reset
Writing SW Reset configuration bit in DSP_CR3 brings the configuration registers to their
default values. Data registers are not reset. This bit is automatically cleared after this action.
8.6.2
SPI peripheral
The device implements a full-duplex communication protocol using MISO, MOSI ports for
data exchange, SCL for clock port, SCS port for data exchange activation and SYN for
internal register data latching and resetting, when no data activation is set (SCS in off-state).
Latching and resetting can also be performed by setting the related bits in DSP_CR3
register.
With reference to the general SPI protocol, the peripheral is configured to work according to
the following settings: cpol=1, cpha=1.
SPI control register
US_REG1 register contains 16-bits with all the configuration parameters of t SPI and UART
interfaces of the STPM3x.Table 25 describes SPI related bits:
LSBfirst: endianness of data-byte transmission and reception
CRCenable: enables the optional CRC feature
CRCPolynomial: default polynomial used is 0x07 (x8+x2+x+1)
SPI timings
Any single transaction timing follows the scheme in Figure 5 on page 13.
For consecutive writing transactions, a minimum time interval of 4
s has to be taken into
account in order to avoid overrun issues.
For latch and consecutive read transactions a minimum time interval of 4
s has to be taken
into account in order to avoid overrun issues.
Examples
All frames in the following examples do not contain CRC byte, which has to be added just in
case the feature has not been disabled previously. After that CRC has been disabled, the
frame consists of four bytes only.
To write bits from 31 to 16 (most significant bits) in row 1 with data byte 0xABCD and read
row 2 in the following transaction, the first four bytes of the transmission (without CRC) are:
04_03_CD_AB
Table 25. SPI control register
Bit position in row
Name
Description
Default value
15
LSBfirst
Little(1) or big(0) - endian for bit
transmission in data-byte
0
14
CRCenable
Enable/disable CRC feature
1
[7:0]
CRCPolynomial
Polynomial used to validate transmitted
and received data
0x07



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