Other Parts Discussed in Thread: HALCOGEN
Hello,
I am using the Hercules TMDX570LC43HDK for the first time. I have done some tutorials , especially how to use ADC for onboard integrated light and temperature sensors. I have noticed, that my calculated ADC value with calculator, has not the same value as the ADC value, calculated by MCU. To proof that, I took 5V from TP23 and connected it to PIN7 from AD1IN. As result I got ADC value of 4095 = 4.999V. Same result when I connect PIN7 from AD1IN to GND, ADC value 0001 = 0.001220703 mV. At the end i took two 10k resitors an built a voltage divider. So the ADC value has to be 2048 = 2.5V but the result was 2.20 V. I think I have to calibrate the ADC but I dont know how to do that. I found "Technical Reference Manual TMS570LC43x 16/32-Bit RISC Flash
Microcontroller" - "22.2.6.1.2 Calibration and Offset Error Correction Sequences P. 857" but I dont know how and where I can find for examle CAL_EN (ADCALCR.0). Please help! Sorry for my bad English.
best regards
V.W