2020-03-31 05:45 AM
I am using STM32F413CG MCU , I'm trying to interface DFSDM to have audio samples to send it to I2S
I am running DFSDM audio clock at 61.44MHZ and clock divider is 20 , FOSR = 64 , Sinc 4 Filter , right shift =0
my problem is that DFSDM output array values are wrong larger than expected even after array >>8 , I got
-268378111
671217846
1752289283
4786249
-1116708751
-268389008
671676557
-268381932
-197068747
-268406656
-2144995285
-130682880
-268381950
how is that possible and maximum for 24 bit is 16777216,
what I want is to get the 16-bit output to send to I2S codec