Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

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

Back Button STPM32_V02 Datasheet HTML 47Page - STMicroelectronics STPM32_V02 Datasheet HTML 48Page - STMicroelectronics STPM32_V02 Datasheet HTML 49Page - STMicroelectronics STPM32_V02 Datasheet HTML 50Page - STMicroelectronics STPM32_V02 Datasheet HTML 51Page - STMicroelectronics STPM32_V02 Datasheet HTML 52Page - STMicroelectronics STPM32_V02 Datasheet HTML 53Page - STMicroelectronics STPM32_V02 Datasheet HTML 54Page - STMicroelectronics STPM32_V02 Datasheet HTML 55Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 51 / 89 page
background image
Row bit position
Name
Description
Default value
9
Break on error
Enable/disable the operation to send break frame in case
of error
0
8
Noise detection enable
Enable/disable error detection based on noise immunity
algorithm
0
[7:0]
CRCPolynomial
Polynomial used to validate transmitted and received data
0x07
Timeout: any communication session should be completed within this configurable time threshold (ms). If
the timeout value is zero this threshold is disabled. If timeout expires, the reception and the transmission
processes stop and, if enabled, a BREAK character is transmitted to warn the master about the error.
Packet processing can resume only after that BREAK transmission has been completed and an IDLE
frame has been received.
Break on error: if an error occurs (framing/noise/timeout/RX overrun) a BREAK command is transmitted to
the master.
Noise error detection. An oversampling technique is implemented to raise the noise level immunity:
received bit value is accomplished taking in account the value of three samples, and applying to them the
majority rule. This noise immunity algorithm is automatically enabled: if “noise detection enable” bit is set,
all samples must have the same value to get a valid bit reception. In this case, when noise is detected
within a frame, a noise detection error is issued and the whole packet is discarded.
CRCPolynomial: default polynomial used is 0x07 (x8+x2+x+1).
CRC, in case of UART, has to be calculated on the reversed byte frame, because of the internal structure of
UART blocks.
For example, if the frame to transmit is 04_03_CD_AB, CRC should be calculated on the frame:
20_C0_B3_D5 -> CRC = 0x16
The frame to send is: 04_03_CD_AB with the reversed CRC = 68.
Note:
For UART peripheral, CRC byte is sent reversed only.
Table 30. UART control register US_REG2
Row bit position
Name
Description
Default value
[23:16]
Frame delay
TX frame-to-frame delay [bit periods]
0
[15:0]
Baud rate
Fractional baud rate generation
0x0683
Frame delay: delay (expressed as bit periods) in transmitted frames. The bit period depends on the baud
rate divider selection (see below).
Baud rate: set to 9600 default value, the communication baud rate can be programmed in this configuration
register. Theoretical values for configuration register can be calculated according to the following formulas,
where a main clock frequency is 16 MHz, BR is the desired baud rate and BRDIV is the theoretical value of
fractional divider:
Equation 19
BRDIV= MainClockFrequency
16∙CommunicationBaudRate
=16∙10616∙BR
(19)
Equation 20
BRRI= BRDIV =intBRDIV
(20)
Equation 21
BRRF=round16∙ BRDIV−BRRI
(21)
where BRRI are bits [15:4] and BRRF are bits [3:0] of the register. According to the chosen baud rate divider the
bit period is:
Equation 22
BitPeriod= 16∙BRRI+BRRF ∙MClkPeriod
(22)
Table 31 summarizes the above calculation of the register value to select some typical baud rates:
STPM32, STPM33, STPM34
Communication protocol
DS10272 - Rev 13
page 51/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