- 1、本文档共25页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
AN3126 Application note STMicroelectronics(AN3126应用注意法半导体)
AN3126
Application note
Audio and waveform generation using the DAC in
STM32 microcontrollers
Introduction
This application note provides some examples for generating audio waveforms using the
Digital to Analog Converter (DAC) peripheral embedded in STM32 microcontrollers. This
document applies to products listed in Table 1, and should be read together with application
note AN4566 “Extending the DAC performance of STM32 microcontrollers”.
A digital to analog converter (DAC) is a device that has the opposite function to that of an
analog to digital converter, i.e. it converts a digital word to a corresponding analog voltage.
The STM32 DAC module is a 12-bit word converter, with up to three output channels to
support audio functions.
The DAC can be used in many audio applications such as security alarms, Bluetooth
headsets, talking toys, answering machines, man-machine interfaces, and low-cost music
players
The STM32 DAC can also be used for many other analog purposes, such as analog
waveform generation and control engineering.
This application note is organized in two main sections:
• Section 1 describes the main features of the STM32 DAC module.
• Section 2 presents two examples.
– In the first example, the DAC is used to generate a sine waveform
– In the second example, the DAC is used to generate audio from .WAV files
Table 1. Applicable products
您可能关注的文档
- AKG D80 Cardioid Dynamic Microphone (爱科技d 80心脏线动态麦克风).pdf
- AISI STANDARD STEEL FRAMING(符合美国钢铁协会的标准钢框架).pdf
- AIRPLANE RESCUE AND FIRE FIGHTING (飞机救援和消防).pdf
- Alberdingk 174; LUX 220 USA(Alberdingk 174;).pdf
- ALBERTA REGION WELDER TEST INFORMATION (阿尔伯塔省地区焊机测试信息).pdf
- ALARA Reform Rev9 American Nuclear Society(和改革Rev9美国核协会).pdf
- Alessandro Comunian Ph.D. Research and work (亚历山德罗Comunian博士的研究和工作).pdf
- Alg 1A Compound Inequalities Worksheet #2(Alg 1复合不平等工作表2).pdf
- AlCu Metal Bond Pad Corrosion During Wafer (行业金属债券垫腐蚀在晶片).pdf
- Alcohol consumption Factsheet IAS(饮酒字幕新闻 IAS).pdf
文档评论(0)