Skip to main content
g239955_stm1_stmicro_com
Associate
April 6, 2007
Question

ST7ULTRALITE INTERNAL RC OSCILLATOR

  • April 6, 2007
  • 2 replies
  • 801 views
Posted on April 06, 2007 at 07:19

ST7ULTRALITE INTERNAL RC OSCILLATOR

This topic has been closed for replies.

2 replies

g239955_stm1_stmicro_com
Associate
April 6, 2007
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
April 6, 2007
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