AN3943 fixed point

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AN3943 fixed point

1,369 Views
garimella
Contributor I

I was referring to AN3943 and would like to know further as how to implement the algorithm in fixed point

I have some idea going through the app note. Please confirm if the following information is correct

1. Input signals, sine/cosine: 24 bit fractional format: Q23

2. Coefficients K1d and K2d are 24 bit fractional format : Q23

3. sine/cosine functions(feedback element): not sure: may be Q23 (pl. confirm)

 

0 Kudos
3 Replies

1,358 Views
garimella
Contributor I

Could you share simulink or matlab file which could be simulated?. I Tried to create this model in simulink by providing similar dataypes as mentioned above, but output is unstable.

0 Kudos

1,341 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

for Matlab/Simulink question please post it on https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/bd-p/mbdt

BR, Petr

0 Kudos

1,360 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I can see this from the AN

1) 

PetrS_0-1654861271304.png

2) 

PetrS_1-1654861284972.png

3) this will probably be internal for ATO, should be 24bit frac too.

BR, Petr

0 Kudos