Skip to main content
Mr_M_from_G
Senior II
Jan 24, 2019 2:41 PM UTC
Question

What precisely is the resynchronization drawback when using adc_ker_ck?

Hello,

I want to use ADC1 and 2 with close to maximum sampling frequency. Now I found on page 899 in RM0433 Rev5 a note that there will be a resynchronization between adc clk (using adc_ker_ck to achieve the highest possible clock) and AHB1 clk. I don't understand that precisely and want to ask for some clarification.

Assumed I want:

5 MSps which is 200 nsec per sample, provided by a timer

36 MHz adc_ker_ck which can be created eg by PLL2 => period is about 28 nsec

Does that mean, a sampling trigger coming from timer must wait till the next adc_ker_ck say rising edge arrives? That would be a jitter of up to 14%. If so, is there a way to create a 5MHz (or something in that range) timer signal that is sychronous with adc_ker_ck?

Is there a way to precisely create a desired sampling rate when using ADC in continuous conversion mode?

Thanks for any help

kind regards

Martin

This topic has been closed for replies.

5 replies

waclawek.jan
Super User
Jan 24, 2019 5:33 PM UTC

I'd assume, in continuous conversion there's no waiting for trigger thus no jitter...?

JW

Mr_M_from_G
Senior II
Jan 25, 2019 3:49 PM UTC

Hello Jan,

maybe you are right. I am just trying to check it but ran into other trouble, see my latest post. I'll come back here when I have news.

Thanks a lot

Martin

Mr_M_from_G
Senior II
Jan 31, 2019 9:51 AM UTC

Hello,

I promised to come back with results.

I managed to get ADC1 and 2 running with 12 bit resolution at 4.5 MSps. I generate adc_ker_ck with PLL2 and run ADC in continuous mode.

It is pretty hard to check sample clock jitter because I have no direct clock output. So I fed ADC with a ramp signal and compared one ramp segment with a straight line. The difference is in the range of DC noise. So for the first hit it looks good.

Martin

waclawek.jan
Super User
Jan 31, 2019 11:39 AM UTC

Thanks, Martin, for the info.

Jan

Piranha
Principal III
Feb 3, 2019 11:56 AM UTC

Looking at RM0433 24.3.3 offered options:

  1. There should not be jitter when ADC clock is driven from the same source and is exact multiple of AHB clock.
  2. There will not be resynchronizations and therefore no jitter when ADC clock is derived directly from AHB clock.