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

X  

AN1602 Datasheet(PDF) 18 Page - STMicroelectronics

Part # AN1602
Description  16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1602 Datasheet(HTML) 18 Page - STMicroelectronics

Back Button AN1602 Datasheet HTML 13Page - STMicroelectronics AN1602 Datasheet HTML 14Page - STMicroelectronics AN1602 Datasheet HTML 15Page - STMicroelectronics AN1602 Datasheet HTML 16Page - STMicroelectronics AN1602 Datasheet HTML 17Page - STMicroelectronics AN1602 Datasheet HTML 18Page - STMicroelectronics AN1602 Datasheet HTML 19Page - STMicroelectronics AN1602 Datasheet HTML 20Page - STMicroelectronics AN1602 Datasheet HTML 21Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 18 / 21 page
background image
18/21
16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs
Figure 16. 16-bit PWM generation
2.1.1.3 Optimization method
To get around the limitation imposed by the minimum PWM period, an optimization method
has been implemented in the software.
To generate a PWM signal with a duty cycle of 0504h , we have to generate 05 waves at high
level (period = FFh) then the last wave with a period of 04 (see Figure 17) which is impossible
( generation of a signal with a period equal to 04 ) due to the time needed by the interrupt rou-
tine .
- Configure Time clock frequency
- Enable PWM pin & Select Polarity
Timer Interrupt
DutyCycleHR #0
- Generate High Level (Period = FFh)
- Decrement DutyCycleHR
- Generate High Level ( The wave period depends on ARTARR value )
- Clear DutyCycleLR
- Generate Low Level (Period = FFh)
- Decrement LowLevelHR
- Generate Low Level ( The wave period depends on ARTARR value )
- Clear Low LevelLR
Reload All values: DutyCycleHR,DutyCycleLR, LowLevelHR, LowLevelLR.
YES
YES
YES
YES
YES
NO
NO
NO
NO
NO
DutyCycleLR #0
LowLevelHR#0
LowLevelHR#0



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21


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