| Electronic Components Datasheet Search |
|
UM0290 Datasheet(PDF) 59 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0290 Datasheet(HTML) 59 Page - STMicroelectronics |
|
59 / 76 page ![]() UM0290 USB voice demos 59/76 width is proportional to the amplitude of the sample data. The PWM output signal is then integrated by a low-pass filter to remove high frequency components, leaving only the low-frequency content. The output of the low-pass filter provides a reasonable of the original analog signal. The Figure 17 shows the Audio playback diagram flow using the built-in PWM. Figure 17. Audio playback flow 7.3.2 Implementation This section describes the hardware and software solution used to implement an USB audio speaker using the STR microcontroller. Hardware implementation To implement the PWM feature the following STR built-in timers are used: ● TIM0 in output compare timing mode to act as SysTimer. ● TIM3 in PWM mode Figure 18 shows the require hardware implementation to provide audio playback using the built-in PWM: Figure 18. Hardware implementation Note: For the STR75x and the STR91x, the audio playback hardware using the built-in PWM is already implemented in the corresponding evaluation board. There is no need to add any external hardware to run the USB speaker demo on these boards. The T3.OCMPA pin is used to output the PWM signal. This signal is passed through a simple low-pass RC (R33 and C15) filter. The cut-off frequency of this filter is set at 4 kHz. STR PWM Low-Pass filter Audio Amplifier Speaker |
|
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 |