cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Tone Using DAC - STM32 NUCLEO-F410RB

AMS12345
Associate III

Is possible to generate different tone using dac peripheral for triangle wave form generation using PCM sample in stm32 nucleo F410RB controller. Is it possible to generate tone using wav data(pcm array).
1.If possible to generate need to give wav format or not needed?
2. If not which stm32 development board supports dac to generate tones using pcm array's. 

12 REPLIES 12

@SofLit Your shared code is for wave player, i need for wave file format (below attached snipets).

AMS12345_0-1733399823651.png

 

I've already shared the link in a previous comment https://community.st.com/t5/stm32-mcus-products/the-audio-player-demonstration/td-p/389084.

The demo is no more available as the board is obsolete one user has shared it on google drive.

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@AMS12345 wrote:

for audio wave file specification, the example code may helps me out.


As noted, that part will not be specific to STM32 - so just do an internet search.