ADC FIFO conversion speed

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ADC FIFO conversion speed

785件の閲覧回数
jason_zhang
Contributor III

Hi,

 

I am using the ADC FIFO mode to get 3 anolog channels results.

When continuous conversion and interrupt are enabled, the interval time is about 300uS that can jump to ADC Interrupt.

I want to change the interval time into 1mS by the below method:

 

1. ADC Interrupt enable per 1mS in the timer interrupt.  // ADC_SC1 |= ADC_SC1_AIEN_MASK;

2. ADC Interrupt disable when get out of  the  adc interrupt. //// ADC_SC1 &= ~ADC_SC1_AIEN_MASK;

 

But the interval time is 3mS, could you kindly explain why the speed has been down.

 

MCU:MC9S08PA60

ADC setting: ADC FIFO mode/12-bit conversion/Long sample time/3-level FIFO is enabled

 

Thank you!

Jason

ラベル(1)
0 件の賞賛
返信
0 返答(返信)