Electronic Components Datasheet Search
  English  ▼

X  

AN4539 Datasheet(PDF) 10 Page - STMicroelectronics

Part # AN4539
Description  HRTIM cookbook
PDF  33 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4539 Datasheet(HTML) 10 Page - STMicroelectronics

Back Button AN4539 Datasheet HTML 6Page - STMicroelectronics AN4539 Datasheet HTML 7Page - STMicroelectronics AN4539 Datasheet HTML 8Page - STMicroelectronics AN4539 Datasheet HTML 9Page - STMicroelectronics AN4539 Datasheet HTML 10Page - STMicroelectronics AN4539 Datasheet HTML 11Page - STMicroelectronics AN4539 Datasheet HTML 12Page - STMicroelectronics AN4539 Datasheet HTML 13Page - STMicroelectronics AN4539 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 33 page
background image
HRTIM operating principles basics
AN4539
10/33
DocID026506 Rev 1
2
HRTIM operating principles basics
Despite an apparent complexity due to the number of features and to its modular
architecture, the HRTIM is basically made of six 16-bit auto-reload up-counters with 4
compare registers each.
Period and compare programming
The high-resolution programming is made completely transparent, so as to have the look-
and-feel of a timer clocked by a 4.6 GHz clock (144MHz x 32), when using the HSE
oscillators. The timings (period and compare) can be directly written into a unique 16-bit
register with high-resolution accuracy. A counting period will simply be programmed using
the formula:
PER
Tcounting
THigh res
–
--------------------------
=
For instance, a 10µs time period is obtained by setting the period register to 10µs / 217ps =
46082d and is programmed as follows:
HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_D].PERxR = 0x0000B400;
Should the result exceed the 16-bit range, the high-resolution can be adjusted by multiples
of 217 ps, so as to be have the period value within the 16-bit range.
Set/reset crossbar
Each timing unit holds the control of 2 outputs via a set/reset crossbar. Compared to usual
frozen PWM modes where the output is set at the beginning of the counting period and reset
on a given compare match, the crossbar offers much more flexibility in defining how an
ouput is set or reset. It gives the possibility to have any of timer events setting or resetting
an output.
Output stage
The waveform generated by the set / reset crossbar is finally passed through an output
stage for “post-processing” such as
•
generating complementary signal with a deadtime;
•
adding high-frequency modulation;
•
modifying the signal polarity;
•
shutting down the output for protection purpose.
With this few features in mind, it is now possible to elaborate the first elemental PWM
signals.
2.1
Single PWM generation
In this section we will discuss:
•
Timer continuous mode;
•
Simplest crossbar configuration;
•
Output stage enable.



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


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