Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

STPM32TR Datasheet(PDF) 72 Page - STMicroelectronics

Part # STPM32TR
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  121 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STPM32TR Datasheet(HTML) 72 Page - STMicroelectronics

Back Button 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 STPM32TR Datasheet HTML 75Page - STMicroelectronics STPM32TR Datasheet HTML 76Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 72 / 121 page
background image
Theory of operation
STPM32, STPM33, STPM34
72/121
DS10272 Rev 8
Following the frames to enable/disable CRC feature:
To reset status bits, the following frame should be sent:
28_29_00_00
which resets all 16-bits (SPI and UART status registers). To clear SPI status bits only, SPI-
master can send 1 s sequence to UART status bit register. Referring to the previous
example, this leads to the following transaction:
28_29_FF_00
Events are associated to interrupts so that, when the correspondent event mask bit in SPI
IRQ register is activated, INT line is sensitive to that event.
For example, to activate CRC error interrupt (bit 12, related to status bit 28), the mask
0x1000 has to be written to write address 0x28 by the following transaction:
28_28_00_10
8.6.3
UART peripheral
The STPM3x provides the UART interface, which allows a communication using two single-
direction pins only; this reduces the cost of isolated communication, where required, since
two low cost opto-isolators are needed for this purpose.
Main features of this interface are:
Full-duplex, asynchronous communication
Low-level sequential data exchange protocol (1 start, 8 data, 1 stop)
NRZ standard format (mark/space)
Fractional baud rate generator system (to offer a wide range of baud rates)
Several error detection flags
Configurable frame length
Optional configurable CRC checksum
Optional noise immunity algorithm
TX pin accesses this interface, which transmits data to the microcontroller, and RX pin,
which receives data from the microcontroller. A simple master/slave topology is
implemented on the UART interface where the STPM3x acts as the slave.
Transmission and reception are driven by a common baud rate generator; the clock for each
one is generated only when UART is enabled.
UART transmitting and receiving sections must have the same bit speed, frame length and
stop bits.
Chip selection in UART mode requires SCS bit is kept high.
Communication starts when the master sends slave a valid frame (the microcontroller). The
format of the frame is shown below.
Table 29. CRCenable programming
CRCenable = 1
24_24_07_40
CRCenable = 0
24_24_07_00



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 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