Electronic Components Datasheet Search
  English  ▼

X  

AN2316 Datasheet(PDF) 17 Page - STMicroelectronics

Part # AN2316
Description  Improved ST7LITE05 AC Chopper Driver Solution
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2316 Datasheet(HTML) 17 Page - STMicroelectronics

Back Button AN2316 Datasheet HTML 13Page - STMicroelectronics AN2316 Datasheet HTML 14Page - STMicroelectronics AN2316 Datasheet HTML 15Page - STMicroelectronics AN2316 Datasheet HTML 16Page - STMicroelectronics AN2316 Datasheet HTML 17Page - STMicroelectronics AN2316 Datasheet HTML 18Page - STMicroelectronics AN2316 Datasheet HTML 19Page - STMicroelectronics AN2316 Datasheet HTML 20Page - STMicroelectronics AN2316 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 24 page
background image
AN2316 - Application Note
ST7FLITE05 Software Description
17/24
4.1
Peripheral Initialization
The peripherals are initialized. After initialization, the firmware waits 255ms for the hardware
to be start up. The potentiometer is read, and the digital values are used to compute those
to be loaded into the successive DCR registers. Initialization activities include the following:
4.1.1
Auto-reload Timer (AT) Configuration
The 12-bit AT is configured in PWM mode so that the ATR registers contain the auto-reload
value used to set the PWM frequency.
4.1.2
PWM Duty Cycle, Overflow and Compare Interrupts
The PWM frequency and the DCR registers contain the value which sets the PWM duty
cycle.
Furthermore, the PWM output on the ATPW0 pin is enabled by setting the OE0 Bit in the
PWMCR register, and both, the overflow and compare interrupts have been enabled.
Note:
In order to guarantee the proper operation of the overall system, using very high and very
low duty cycle values are discouraged.
If the duty cycle exceeds a higher threshold, the PWM must be switched off and the
microcontroller pin must be kept continuously in logic high state. The PWM output is
enabled again only if the user turns the potentiometer so the corresponding duty cycle is
below the higher threshold minus hysteresis (see Figure 9 on page 16).
If the duty cycle goes below a lower threshold, the PWM must be switched off and the
microcontroller pin must kept continuously in logic low state. The PWM output is enabled
again only if the duty cycle related to the potentiometer position goes above the lower
threshold plus hysteresis (see Figure 9).
4.1.3
ST7LITE Timer
The 8-bit LITE Timer is configured so that an overflow event (and the related interrupt)
occurs every millisecond. This allows users to have a time base at their disposal to
implement, for example, the soft variation of the PWM duty cycle.
4.1.4
Channel 0 A/D Conversion
The 8-bit A/D conversion of Channel 0 is enabled at the fcpu/2 frequency.



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


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