cancel
Showing results for 
Search instead for 
Did you mean: 

ST7ULTRALITE INTERNAL RC OSCILLATOR

Posted on April 06, 2007 at 07:19

ST7ULTRALITE INTERNAL RC OSCILLATOR

2 REPLIES 2
Posted on April 06, 2007 at 07:07

The predefined calibration low byte value of rc calibration for 5V(RCCRL0) is located in 0xDDE1, but what is its format?

The 2 bits CR0-CR1 where are locate?

Thank you in advance for help.

laurent239955_stm1
Associate II
Posted on April 06, 2007 at 07:19

Hi,

They are located on bit 5 and 6, so you don't need to perform any shift to copy them in SICSR register.

You have to take care about :

- LVDRF bit which will be cleared by reading the SICSR register, so this check must be performed before setting the RC calibration or the SICSR register must be saved in a variable.

- AVDIE : which will be clear if you don't mask it

For more information about SICSR, refer to datasheet.

Best regards

Laurent