Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

STPM32 Datasheet(PDF) 50 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) 50 Page - STMicroelectronics

Back Button 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 STPM32 Datasheet HTML 51Page - STMicroelectronics STPM32 Datasheet HTML 52Page - STMicroelectronics STPM32 Datasheet HTML 53Page - STMicroelectronics STPM32 Datasheet HTML 54Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 50 / 89 page
background image
8.6.3
UART peripheral
The STPM3x provides the UART interface, which allows a communication using two single direction pins only.
The connection to SCS and SYN pins is recommended to ensure proper device start up and reset procedures.
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.
Figure 52. UART frame
Start
Bit
Bit 0
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
Stop
Bit
Next
Start
Bit
Clock
Start
Bit
Start
Bit
Extra
Idle frame
Break frame
As shown in Figure 52, each frame consists of 10 bits. Each bit is sent to a variable rate. All frame data are sent
LSBfirst.
If a BREAK frame is received, a break flag is set and the whole packet reception aborts. The frame receiver can
recognize an IDLE frame, but packet processing is not involved.
UART control register
US_REG1 and US_REG2 registers respectively contain all the configuration parameters of SPI and UART
interfaces of the STPM3x. Table 29 describes UART bits:
Table 29. UART control register US_REG1
Row bit position
Name
Description
Default value
[23:16]
Timeout
Timeout threshold [ms]
0
STPM32, STPM33, STPM34
Communication protocol
DS10272 - Rev 13
page 50/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