cancel
Showing results for 
Search instead for 
Did you mean: 

VREFINT_FACTORY_CONV

megha
Associate
Posted on September 11, 2013 at 14:17

Hello,

I am currently working on STM8L15C6. For my application I need to read the value stored at location VREFINT_FACTORY_CONV. The value at this memory location is 0xFF. We were assuming the value to be somewhere around 0x80. 

Any explanation on this would be very helpful.

Many Thanks,

Megha

3 REPLIES 3
fggnrc2
Associate II
Posted on September 13, 2013 at 11:52

This value seems wrong.

According to the datasheet, VREFINT_FACTORY_CONV is stored at 0x4910 and contains the low byte of the ADC conversion output during the factory tests when the power supply is 3000 mV +/- 10 mV.

Since 0x06 is the upper byte of the ADC conversion output, the reference voltage output of your device should be 0x6FF, i.e. about 1311 mV (= 0x6FF * 3000 / 4096) which is outside the device specs.

Regards,

EtaPhi

megha
Associate
Posted on October 18, 2013 at 13:16

Many Thanks EtaPhi,

I have checked more than 3 chips at the addressVREFINT_FACTORY_CONV (0x4910) and they all have the value of 0xFF. I connected the Rlink debugger and from the Raisonance IDE checked the value in memory view and the value is 0xFF. Will attach the screen shot for your reference. Is there any bug with the chip please let me know if you find the same.

Regards,

Megha

________________

Attachments :

VREFINT_FACTORY_CONV.doc : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htrp&d=%2Fa%2F0X0000000aY7%2FP8ujHu2_Zp5xI4iPTuEtqbL21oIeRWYcsosg80NMsgc&asPdf=false
fggnrc2
Associate II
Posted on October 18, 2013 at 18:11

Hello, Megha.

The VREFINT_FACTORY_CONV byte of the STM8L152C6 in my STM8L Discovery board is equal to 0x69.

This means that the ADC output of my micro was 0x669 during factory tests.

I think that this byte wasn't programmed in your micro (or it was erased).

BR

EtaPhi