background image

 

                                                   

HT67F86A Internal RTC Application Guidelines 

 

AN0448E  V1.00 

2/7 

January 16, 2017 

The clock frequency block diagram is shown as below. 

HXT

Prescaler

f

H

LXT

High Speed 

Oscillator

Low Speed 

Oscillator

f

H

/2

f

H

/16

f

H

/64

f

H

/8

f

H

/4

f

H

/32

CKS2~CKS0

f

SYS

f

SUB

f

SUB

HXTEN

f

LXT

HIRC

HIRCEN

f

H

FHS

IDLE2

SLEEP

 

LXT Oscillator 

The LXT oscillation circuit consists of an external 32768Hz crystal and resistor as well as 

capacitor components. The crystal is connected between pins XT1 and XT2. The 

frequency accuracy adjustment is implemented by the R

P

 resistor together with the C1 

and C2 capacitors. Users should refer to the oscillator specification for the resistance and 

capacitance configurations. After power on the LXTEN bit will be in a high state which 

enable the LXT oscillator. By examining if the LXTF bit has been set high, it can be 

determined if the LXT oscillator is powered up and ready for use. The LXT oscillator 

circuit is shown as below. 

Note: 1. R

P

, C1 and C2 are required .

2. Although not shown pins have a parasitic capacitance of around  7pF.

To internal 
circuits

Internal 
Oscillator 
Circuit

C1

C2

XT1

XT2

R

P

32.768kHz

Internal RC 
Oscillator

 

External LXT Oscillator 

Time Base Control Register 

The HT67F86A provides a Real Time Clock function. A time counting function can be 

implemented by configuring the Time Base 0 or Time Base 1 interrupt control bits, TB0E 

or TB1E, together with the data memory. The time base function clock source, f

PSC, 

comes 

from the f

LXT

. The Time Base frequency division ratio is selected by configuring the 

registers to choose a value within the range of f

PSC

/2

8

 ~ f

PSC

/2

15

. Refer to the datasheet for 

the related registers and the TB0E and TB1E interrupt addresses. 

Содержание HT67F86A

Страница 1: ...orms an excellent solution for applications which require a real time clock function as it reduces the need for an external timing IC with the resulting reductions in cost and design simplification This application note will introduce the Holtek MCU internal RTC oscillator characteristics and application guidelines Functional Description Oscillators The HT67F86A provides 3 frequency oscillation so...

Страница 2: ...h enable the LXT oscillator By examining if the LXTF bit has been set high it can be determined if the LXT oscillator is powered up and ready for use The LXT oscillator circuit is shown as below Note 1 RP C1 and C2 are required 2 Although not shown pins have a parasitic capacitance of around 7pF To internal circuits Internal Oscillator Circuit C1 C2 XT1 XT2 RP 32 768kHz Internal RC Oscillator Exte...

Страница 3: ... TB1 2 0 Time Base 0 Interrupt Time Base 1 Interrupt TB0ON TB1ON Prescaler 1 fPSC 28 fPSC 215 Time Base Interrupt TB0C Register Bit 7 6 5 4 3 2 1 0 Name TB0ON TB02 TB01 TB00 R W R W R W R W R W POR 0 0 0 0 Bit 7 TB0ON Time Base 0 Enable Control 0 Disable 1 Enable Bit 6 3 Unimplemented read as 0 Bit 2 0 TB02 TB00 Time Base 0 time out period selection 000 28 fPSC 001 29 fPSC 010 210 fPSC 011 211 fPS...

Страница 4: ...aracteristics Operating Voltage The internal RTC operating voltage depends on the LXT oscillator which has a voltage range of 2 2V 5 5V Such applications are suitable for battery powered products which require 2 3 batteries Refer to the Low Speed Crystal Oscillator Characteristics LXT section in the datasheet or the following table for the related voltage characteristics Ta 25 C Symbol Parameter T...

Страница 5: ...oscillating state together and the Time Base clock circuit turned on to reduce power it can provides a low MCU standby power consumption of lower than 1µA at an operating voltage of 3V thus achieve longer service life for battery powered products This means that the HT67F86A forms an excellent choice for power sensitive applications As well as considerations regarding the frequency characteristics...

Страница 6: ...llent choice for these applications due to its low power consumption and 1024 pixel LCD driver Consumer Products The HT67F86A internal Real Time Clock function can be applied for use in a wide range of battery powered consumer products such as electronic alarm clocks etc Conclusion This application note summarises the internal RTC usage considerations providing reference information for designers ...

Страница 7: ...sing in using or in connection with the use of this website by any party There may be links in this area which allow you to visit the websites of other companies These websites are not controlled by Holtek Holtek will bear no responsibility and no guarantee to whatsoever Information displayed at such sites Hyperlinks to other websites are at your own risk Limitation of Liability In no event shall ...

Отзывы: