I2S-DAC - STM32NUCLEO - F410RB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-26 11:01 PM
Is there any example code for I2S to DAC using DMA for generating audios. Will it suitable to generate using wav data or pcm samples to generate audio using this method in this specific controller.
- Labels:
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-26 11:12 PM
>example code for I2S to DAC using DMA for generating audios.
...i dont know. But its only few lines to write - need example for this ?
If using Cube/HAL , the setup DMA -> I2S is done , then only start the dma -- thats all.
here on F411 :
fresult = HAL_I2S_Transmit_DMA(&hi2s5, (uint16_t *) playbuf , (sizeof(playbuf))/2); // DAC play-loop start
>Will it suitable to generate using wav data or pcm samples to generate audio using this method in this specific controller.
I made audio player even with F401 - so : yes, no problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-26 11:15 PM - edited ‎2024-09-26 11:16 PM
@AScha.3 i think the above line help me. but is there possible to get example code? actually i need in nucleof410rb controller.
