DMIC and PDM to PCM Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-01 7:09 AM
Hi everyone, I have some question about DMIC and PDM to PCM audio output.
My Board is STM32H735-dk board, and scenario is below:
- Using on board MP34DT01TR-M DMIC through PDM interface to SAI4 input PDM data (16kHz input, 1 channel)
- PDM data to PCM data
- Codec Output (16kHz output, 1 channel)
Q1: I have already successful get DMIC data from my SAI_RX_BUFFER, but how to check the data correctly?
Q2: Use PDM2PCM function then DMA to Codec but only noise output.
Codec setting already can play audio file to headphone, and DMIC setting had follow spec, so I have no ideal where's incomplete.
- Labels:
-
Audio
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-04 1:14 AM
Hello @LKuo.2​ ,
You can refer to the following BSP example on the audio recording part that is provided under the CubeFW H7:
- Path: Projects\STM32H747I-EVAL\Examples\BSP
This may help you.
Best Regards,
Walid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-05 9:02 PM
Hi Walid,
I rebuild all setting but my SAI_RX_BUFFER has no data, sai callback have interrupt, but still no data. Any idea?
BR,
Leon Kuo
