Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

Changing clock phase of an ADC dynamically


Changing clock phase of an ADC dynamically

Question: How do I change the ClockPhase parameter of an ADC dynamically?



The ClockPhase of an ADC can be changed by modifying the ASign bit in the ASCxxCR0 or the ASDxxCR0 bits of the SC Block in which the ADC is placed.  For example, if the ADC is placed in ASC10, then the clock phase may be modifed by:

ASC10CR0 &= ~0x20;  // Set ClockPhase to Norm
ASC10CR0 |= 0x20; // Set ClockPhase to Swap

This method can be used for any of the ADCs that have the ClockPhase parameter, like ADCINC12, ADCINC, DELSIG8, DELSIG11, ADCINCVR, ADCINC14, DUALADC, TRIADC etc

Version history
Revision #:
1 of 1
Last update:
‎Mar 24, 2011 07:52 AM
Updated by: