Resolver Interface / Sine wave generator

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

Resolver Interface / Sine wave generator

1,146 Views
sunyang0736
Contributor I

Hi everyone, 

I met a problem with the SWG (Sine wave generator) module with the MPC5643L processor. I want to use this module to generate 10kHz excitation wave for a resolver. As we know the frequency of the excitation signal and sample frequency of the ADC must be exactly the same.

As the output frequency of the SWG is described by the reference manual as: 

pastedImage_1.png

And 1048576 is only divisible by 2, in order to get an exactly same frequency as sampling frequency, the IOFREQ must also be only divisible by 2. As a result, I can only generate limited frequency sine waves which are pretty far away from 10kHz (eg. 7.3K and 14.6K). 

If I want keep a ~10kHz sampling frequency. Is there any methods to synchronize the excitation sine wave with ADC sampler, or do I have any other way to generate 10kHz excitation sine wave for the resolver instead of using SWG module?   

Thanks,

Yang Sun

Labels (1)
0 Kudos
1 Reply

972 Views
PetrS
NXP TechSupport
NXP TechSupport
0 Kudos