Hi,
I am using the TMS570LS31x Hercules MDK.
I have 10-bit ADCs operating well. I require 12-bit ADC operation. I have made the following changes to convert from 10-bit to 12-bit ADC:
- Set bit '10/12 BIT' in ADC register ADOPMODECR to '1' (from '0').
- Modified the result register mask from 0x3FF to 0xFFF.
- Changed the ADC calibration mid reference point from 0x1FF to 0x7FF.