MCF52210 ADC Question

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

MCF52210 ADC Question

1,043 次查看
Cuozzo
Contributor I
Hi, I just have a question.
Is it possible to configure the ADC clock to 5Khz?
I'm using the PLL with frequency at 64MHz and datasheet says that the minimum frequency is 500Khz.
 
thanks!
标签 (1)
0 项奖励
回复
1 回复

539 次查看
mjbcswitzerland
Specialist V

Hi

 

The data sheet specifies that the ADC clock should be between 100kHz and 5MHz. This means that 5kHz would be outside of the specified operating range.

 

Furthermore, the ADC clock is generated from the system clock by dividing it down using the DIV value in the (ADC) CTRL2 register. The maximum DIV value is 0x1f - giving a divide of 64 ((DIV + 1)*2). If your system clock is 32MHz (64MHz PLL) then the lowest ADC speed that you can select is 500kHz - to run the ADC slower than that it would be necessary to also run the processor (PLL) slower.

 

Regards

 

Mark

 

www.uTasker.com
- OS, TCP/IP stack, USB, device drivers and simulator for M521X, M521XX, M5221X, M5222X, M5223X, M5225X. One package does them all - "Embedding it better..."

 

0 项奖励
回复