09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Real-time clock (RTC) <strong>RM0090</strong><br />

23.6.7 RTC calibration register (RTC_CALIBR)<br />

Address offset: 0x18<br />

Power-on reset value: 0x0000 0000<br />

System reset: not affected<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

Bits 31:8 Reserved<br />

Note: This register can be written in initialization mode only (RTC_ISR/INITF = ‘1’).<br />

This register is write protected. The write access procedure is described in RTC register<br />

write protection on page 625.<br />

645/1416 Doc ID 018909 Rev 3<br />

DCS<br />

DC[4:0]<br />

Reserved<br />

rw rw rw rw rw rw<br />

Bit 7 DCS: Digital calibration sign<br />

0: Positive calibration: calendar update frequency is increased<br />

1: Negative calibration: calendar update frequency is decreased<br />

Bits 6:5 Reserved, must be kept at reset value.<br />

Bits 4:0 DC[4:0]: Digital calibration<br />

DCS = 0 (positive calibration)<br />

00000: + 0 ppm<br />

00001: + 4 ppm (rounded value)<br />

00010: + 8 ppm (rounded value)<br />

..<br />

11111: + 126 ppm (rounded value)<br />

DCS = 1 (negative calibration)<br />

00000: −0 ppm<br />

00001: −2 ppm (rounded value)<br />

00010: −4 ppm (rounded value)<br />

..<br />

11111: −63 ppm (rounded value)<br />

Refer to Case of RTCCLK=32.768 kHz and PREDIV_A+1=128 on page 630 for the exact<br />

step value.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!