2021-09-13 08:36 AM
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
2021-09-14 04:37 AM
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
2021-09-15 01:43 PM
Yes. BSP\..\\ audio_record.c
2021-09-16 01:21 AM
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
2021-09-16 03:19 AM
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.
2021-09-16 04:09 AM
Are you working on a custom hardware or on a STM32H747 dk or eval board ? If the latter could you share your project ?
/Romain
2021-09-16 10:00 PM
Hi,
Where load project ?
2021-09-17 12:29 AM
Here or through private message I guess if you don't want to make it available to everybody
/Romain
2021-09-17 05:56 AM
Please provide link/ instructions for private loading
2021-09-19 11:41 PM
What do you mean ?
/Romain