Re: Problem using MPLAB ADC block in simulink
Channels above 31 cannot be used with the hardware « SCAN » input channels conversion. Next blockset release will warm when setting with theses channel > 31 is not achievable.
You could use one channel above 31 with other AN input in parallel conversion setting in 10-bit configuration.
Another peripheral related to ADC is the Comparator-Op-Amps-Volt Ref peripheral. Maybe you might find few interesting settings with this block.
You mentioned an issue when using a single channel in 12 bits mode. Is that channel output ok when configured for 10 bits conversion ?