Configure ADC for fixed conversion rate

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

Configure ADC for fixed conversion rate

1,017 次查看
martindusek
Contributor V

Hi, what is the easiest way to configure KL25 ADC to output conversions at a fixed rate of 50 Hz? Is it possible to achieve this using only the ADC module or do I have to use timer module to trigger each conversion at the correct moment?

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

884 次查看
mjbcswitzerland
Specialist V

Hello Martin

If you set the ADC in continuous conversion mode with highest accuracy, slowest ADC clock, maximum HW averaging and longest time added it will fire at about 650Hz.

Therefore, the method to use to get accurate 50Hz triggering is to use hardware trigger mode based on a PIT timer.

Regards

Mark

Kinetis: µTasker Kinetis support

KL25: µTasker Kinetis FRDM-KL25Z support  / µTasker Kinetis TWR-KL25Z48M support
ADC/DAC: http://www.utasker.com/docs/uTasker/uTaskerADC.pdf

For the complete "out-of-the-box" Kinetis experience and faster time to market