Using CCSv10, downloaded four ADC examples for the 5529 Launch Pad and they (ADC_01, ADC_06, ADC_07, ADC_10) are all working fine on the LP.
Copied ADC_06 and modified it for my custom SBC using the 5638. I'm using MEM10, 11, 12, and 13, converted sequentially, and want to service the interrupt from MEM13.
I can't get it to set ADC12IV to case 32 by setting ADC12IE. If I set ADC12IE = 0x001F it matches case 6 and runs code under it (toggling bit P8.4). But I want it to match case 32 and process the data from these channels. There doesn't seem to be a logical relationship between what ADC12IE is set to, and ADC12IV's value.
What am I missing?