2013-05-30 01:46 AM
Hi all,
I'm working on a project with a STM8AL, in the reference manual I found this section :14.3.17 Internal reference voltage conversion
The internal reference voltage is internally connected to the VREFINT channel. This analog input channel is used to convert the internal reference voltage into a digital value. The VREFINTON bit in the ADC_TRIGR1 register must be set to enable the internal reference voltage. This reference voltage must be enabled only if its conversion is required. The internal reference voltage is factory measured and the result of the ADC conversion is stored in a specific data address: the VREFINT_Factory_CONV byte represents the LSB of the VREFINT 12-bit ADC conversion result while the MSB have a fixed value: 0x6. But I can't find anything about the value of thisVREFINT_Factory_CONV
address. Is there someone knows where I can find it ? Thanks.2013-05-31 06:47 AM
I found the answer. The address of this byte can be found in the µC datasheet in the memory map section.