Other Parts Discussed in Thread: HALCOGEN
Hi.
I want to configure my ADC fast as i can. In datasheet minimum conversion time is 600 ns. My adc configurations are:
VCLK = 110MHz
ADCPrescaler = 3
Halcogen calculated Actual Cycle Time = 36.36 ns
ADC Channel selection is just 1 pin.
Halcogen calculated total sampling time = 800 ns
I toggle a pin when the program enter the ADC Group Memory Threshold Interrupt and measure that pin via a scope.
When i configure adc in continuous mode the measured frequency is 1.119 khz and total interrupts per second is 2238. My group memory is 64 word and fifosize is 64. As a result my sampling frequency is 1119 x 2 x 64 = 143232 and samplig period is 6981 ns.
When i configure adc in single conversion mode i restart conversion in ADC Group Memory Threshold Interrupt.
The pin frequency is 8870 hz. Last the sampling period is 880 ns.
Why this two frequency different?
I dont want use ADC Group Memory Threshold Interrupt in real application and i want use the ADC in Continuous conversion mode.
What i do wrong?