Resolver Interface / Sine wave generator

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Resolver Interface / Sine wave generator

1,909 次查看
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

标签 (1)
0 项奖励
回复
1 回复

1,735 次查看
PetrS
NXP TechSupport
NXP TechSupport
0 项奖励
回复