cancel
Showing results for 
Search instead for 
Did you mean: 

DFSDM Output resolution

GWenJ.1
Associate II

When I use DFSDM, I configure FOSR= 256 ISOR=1 and the output is outside the range in the reference guide +-16777216

1 ACCEPTED SOLUTION

Accepted Solutions
GWenJ.1
Associate II

Get the answer

 /* Regular conversion value is a signed value located on 24 MSB of register */

 /* So after applying a mask on these bits we have to perform a division by 256 (2 raised to the power of 8) */

View solution in original post

4 REPLIES 4
Imen.D
ST Employee

Hello @GWenJ.1​ and welcome to the Community :)

Please specify which device used?

You can check the STM32Cube package which providing DFSDM example that can help you on the DFSDM usage and configuration.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
GWenJ.1
Associate II

STM32H723

The STM32Cube H7 package which providing DFSDM example,Only refer a applicableation About Audio

Can you verify the range of DFSDM output results at FORD=3 FOSR=256 ISOR=1 ?

GWenJ.1
Associate II

0693W00000aI2GpQAK.png0693W00000aI2H9QAK.pngA

GWenJ.1
Associate II

Get the answer

 /* Regular conversion value is a signed value located on 24 MSB of register */

 /* So after applying a mask on these bits we have to perform a division by 256 (2 raised to the power of 8) */