cancel
Showing results for 
Search instead for 
Did you mean: 

DFSDM output array values are wrong

HNabi.1
Associate II

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

0693W000000V4ebQAC.png0693W000000V4eRQAS.png0693W000000V4eHQAS.png0693W000000V4eCQAS.png0693W000000V4dxQAC.png0693W000000V4diQAC.png

0 REPLIES 0