I want to read the adc conversion values directly un adc RAM Memory.
In RM48 USB Stick Development Kit, I selected pin 9 for light sensor and pin 8 for temp sensor.
I use HCG for the configuration and the drivers.
In C language, with the HCG Drivers I got the following result:
Light: from 0x47 to 0x3EA the value changes when the sensor is enlightened
Temp: from 0x21C to 0x21C the value does not change
When I read directly the values in ADCRAM1 I got the following result:
Light: from 0x61 to 0x6F the value does not change when the sensor is enlightened
Temp: from 0x12B to 3A4 the value changes when the light sensor is enlightened
Address of the result of Light sensor in memory: 0xFF3E0010
Address of the result of Temp sensor in memory: 0xFF3E0014
Resolution 10 bits, adcGroup1
Thanks for your help