| 数据搜索系统,热门电子元器件搜索 |
|
AN913 数据表(PDF) 5 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN913 数据表(HTML) 5 Page - STMicroelectronics |
|
5 / 12 page ![]() 5/12 PWM GENERATION WITH THE ST62 16-BIT AUTO-RELOAD TIMER 36 cycles are enough to load the CMP register after the overflow. This program dials a telephone number, for example 012345678 and loops when it is finished. To manage the timing (40ms for the break and 96ms for the tone), the standard 8-bit timer in- terrupts the sinus calculation. The input clock pin of the standard 8-bit timer is connected to the ARTimer OVF output pin which is set in toggle mode to give a frequency of: 5319/2=2659.5Hz. (toggle mode divide the 5319Hz by 2). The TCR register of the standard 8-bit timer is loaded with: 40ms*2659.5 = 6Ah for the break 96ms*2659.5 = FFh for the tone To be connected to a telephone line, a 2-order analog 500Hz/1700Hz Tchebycheff bandpass filter is enough (see Figure 3.). To respect the maximum shift frequency of +/- 10Hz for each frequency the clock frequency precision must be better than: 10/1633=0.61% (1633 is the maximum DTMF frequency used). Figure 3. Connection between modules OVF TIMER 500/1700Hz PSC=4 ARTIMER PSC=4 TIMER 2659.5Hz fosc=8MHz ITtimer Telephone line interface PWM |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |