Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

RM0312 Datasheet(PDF) 253 Page - STMicroelectronics

Part # RM0312
Description  STM8TL5xxx microcontroller family
PDF  275 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0312 Datasheet(HTML) 253 Page - STMicroelectronics

Back Button RM0312 Datasheet HTML 249Page - STMicroelectronics RM0312 Datasheet HTML 250Page - STMicroelectronics RM0312 Datasheet HTML 251Page - STMicroelectronics RM0312 Datasheet HTML 252Page - STMicroelectronics RM0312 Datasheet HTML 253Page - STMicroelectronics RM0312 Datasheet HTML 254Page - STMicroelectronics RM0312 Datasheet HTML 255Page - STMicroelectronics RM0312 Datasheet HTML 256Page - STMicroelectronics RM0312 Datasheet HTML 257Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 253 / 275 page
background image
DocID022352 Rev 3
253/275
RM0312
ProxSense™ (PXS)
273
Configuring the charge transfer sequence
The ProxSense clock can be prescaled (using PRESC[2:0] in the PXS_CKCR1 register)
which serves as the basis for generating the UP and PASS phases.
The lengths of the two phases can be independently configured using UPLEN[2:0] and
PASSLEN[2:0] (PXS_CKCR2). To allow additional flexibility, setting the bit INCPHASE
(PXS_CKCR1) causes each of the UP and PASS phase lengths to be increased by one half
of a ProxSense clock cycle.
The length of the non-overlap period (the deadtime between the UP and PASS phases) is
determined by ANADEAD (PXS_CKCR1). When ANADEAD = ‘0’, there is a one-half cycle
deadtime between the UP and PASS phases. When ANADEAD = ‘1’, the deadtime is
basically zero cycles with each of the UP and PASS cycles shorted by about 10 ns to ensure
non-overlapping. Setting ANADEAD to ‘1’ increases the UP phase by one full cycle.
In the reset configuration with bits ANADEAD and INCPHASE set to ‘0’ and bits UPLEN and
PASSLEN set to ‘1’, a charge transfer cycle lasts four tPXS. For instance, when PRESC[2:0]
= ‘111’, fPXS = 16 MHz and each charge transfer cycle lasts 250 ns.
22.5
ProxSense operations
22.5.1
PXS on/off control
The ProxSense is enabled and disabled by respectively setting and resetting the PXSEN bit
in the PXS_CR1 register. Before enabling the ProxSense, certain PXS registers must be
initialized as they are only writable when PXSEN = 0.
22.5.2
PXS initialization
Before writing in any of the PXS registers, the corresponding peripheral clock must be
enabled in the CLK_PCKENR1 register.
Initialization before enabling the ProxSense
After enabling the corresponding peripheral clock, the clock frequency in the PXS_CKCR1
register and the length of the UP and PASS phases in PXS_CKCR2 must be set. It is also
recommended at this stage to select ANADEAD and INCPHASE in PXS_CKCR1.
The stabilization time, the conversion completion threshold, and the sample and hold
strength selection must be selected in PXS_CR3.
If the noise detection is used it must be enabled at this stage in the PXS_CR2 register.



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