REGISTERS

 

 

FREQ_GEN

 

 

 

FREQ_GEN

Address:

1FB8H

(8XC196MD)

Reset State:

00H

The frequency (FREQ_GEN) register holds a programmed value that specifies the output frequency. This value is reloaded into the down-counter each time the counter reaches 0.

8XC196MD

7

0

Output Frequency

 

Bit

 

Function

 

 

Number

 

 

 

 

 

 

 

 

 

 

 

7:0

Output Frequency

 

 

 

Use the following formula to calculate the FREQ value for the desired output frequency

 

 

 

and write this value to the frequency register.

 

 

 

 

FXTAL1

 

 

 

FREQ = --------------------------------------------1

 

 

 

16

× FREQ_OUT

 

 

 

where:

 

 

 

 

FREQ

= 8-bit value to load into FREQ_GEN register

 

 

 

FXTAL1

= input frequency on XTAL1 pin, in MHz

 

 

 

FREQ_OUT

= output frequency on FREQOUT pin, in MHz

 

 

 

 

 

 

 

 

 

 

 

C-23

Page 500
Image 500
Intel 8XC196MC, 8XC196MD, 8XC196MH manual Freqgen