Chapter 9 Analog-to-Digital ConverterMC9S12ZVMB Family Reference Manual Rev. 1.3NXP Semiconductors 3479.6.3.3 ADC List Usage and Conversion/Conversion Sequence FlowDescriptionIt is the user’s responsibility to make sure that the different lists do not overlap or exceed the system RAMarea respectively the CSL does not exceed the NVM area if located in the NVM. The error flag IA_EIFwill be set for accesses done outside the system RAM area and will cause an error interrupt if enabled forlists that are located in the system RAM.Generic flow for ADC register load at conversion sequence start/restart:• It is mandatory that the ADC is idle (no ongoing conversion or conversion sequence).• It is mandatory to have at least one CSL with valid entries. See also Section 9.9.7.2, “Restart CSLexecution with currently active CSL or Section 9.9.7.3, “Restart CSL execution with new/otherCSL (alternative CSL becomes active CSL) — CSL swapping for more details on possiblescenarios.• A Restart Event occurs, which causes the index registers to be cleared (register ADCCIDX andADCRIDX are cleared) and to point to the top of the corresponding lists (top of active RVL andCSL).• Load conversion command to background conversion command register 1.• The control bit(s) RSTA (and LDOK if set) are cleared.• Wait for Trigger Event to start conversion.Generic flow for ADC register load during conversion:• The index registers ADCCIDX is incremented.• The inactive background command register is loaded with a new conversion command.Generic flow for ADC result storage at end of conversion:• Index register ADCRIDX is incremented and the conversion result is stored in system RAM. Assoon as the result is successfully stored, any conversion interrupt flags are set accordingly.• At the conversion boundary the other background command register becomes active and visible inthe ADC register map.• If the last executed conversion command was of type “End Of Sequence”, the ADC waits for theTrigger Event.• If the last executed conversion command was of type “End Of List” and the ADC is configured in“Restart Mode”, the ADC sets all related flags and stays idle awaiting a Restart Event to continue.• If the last executed conversion command was of type “End Of List” and the ADC is configured in“Trigger Mode”, the ADC sets all related flags and automatically returns to top of current CSL andis awaiting a Trigger Event to continue.• If the last executed conversion command was of type “Normal Conversion” the ADC continuescommand execution in the order of the current CSL (continues conversion).