| Electronic Components Datasheet Search |
|
AN1712 Datasheet(PDF) 5 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1712 Datasheet(HTML) 5 Page - STMicroelectronics |
|
5 / 14 page ![]() 5/14 GENERATING A HIGH RESOLUTION SINEWAVE USING ST7 PWMART Figure 2. Output at PWM0 pin and general calculation for finding sinewave frequency 10 PWM cycles each Number Of Samples = 4 fPWM= fCOUNTER/(256-ARTARR) = 20 KHz (if fCOUNTER = 4MHz) COUNTER=10 fSINE = 1/(50us*4*10) = 500 Hz duty cycle = ~50% time Vdd maximum duty cycle = ~87% average duty cycle = ~50% minimum duty cycle = ~13% duty cycle = ~50% one sinewave cycle time 00 255 ARTARR=56 PWMDCR0 = Average Value = 155 (PWM duty cycle = ~50%) PWMDCR0 = Average Value+75 PWMDCR0 = Average Value-75 10(=COUNTER) * tPWM Output at PWM0 pin Output of RC circuit |
|
|
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 |
| 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 |