cancel
Showing results for 
Search instead for 
Did you mean: 

PDM, CRC

DDom.1
Associate II

Hallo. I use stm32h747 with touch gfx. I connected PDM microphone and have error in decoding PDM to PCM, it looks Touch gfx use CRC module and stop PDM to PCM decoding. Is possible use at one system tgfx and PDM ?

BR

9 REPLIES 9
Romain DIELEMAN
ST Employee

Hi,

CRC is mandatory to work with TouchGFX. But it does seem strange that it would cause issues with the rest of your code. I have no experience with PDC microphone, can you confirm it works without TouchGFX and with CRC still enabled ?

/Romain

DDom.1
Associate II

Yes. BSP\..\\ audio_record.c

Yes but is the CRC enabled here as well ? Did you start a project from scratch or did you use the TBS for the stm32h747 discovery board available in TouchGFX Designer ?

Could you share your error as well ? Where does it hit hardfault exactly ?

/Romain

DDom.1
Associate II

Hi,

No hardfault error. Only PDM data decoded to PCM incorrectly. If i disable TouchGFX then PCM data (from BSP_AUDIO_IN_PDMToPCM - PDM_Filter(...) library) decoded correctly.

Are you working on a custom hardware or on a STM32H747 dk or eval board ? If the latter could you share your project ?

/Romain

DDom.1
Associate II

Hi,

Where load project ?

Here or through private message I guess if you don't want to make it available to everybody

/Romain

DDom.1
Associate II

Please provide link/ instructions for private loading

What do you mean ?

/Romain