Hi all,
I'm having trouble converting VREFLO on B5 analog input of TMS320F28035. I’m running the “Example_2803xAdcSoc” example where I added “AdcOffsetSelfCal()” call after “Device_cal()” in “InitAdc()” function.
B5 in AdcOffsetSelfCal() converts to 0FFFh all 16 times (I checked ADCRESULTx registers). This leads to ADCOFFTRIM register value of 81, which is wrong. If I tie A0 input to VREFLO and replace “AdcChanSelect(13)” in the self calibration function with “AdcChanSelect(0)”, everything seems fine and there is no offset in later conversions.
I tried running the code on TI’s controlCard and on two of our boards containing F28035, with the same results.
Am I doing something wrong?
Regards,
Josip