Real Time Counter

The on-chip crystal oscillator circuit works with an offchip crystal to generate a high precision clock. It has an accuracy of 100 ppm (0.01%) and is capable of providing system clocks for Fusion peripherals and other the system clock networks, both on-chip and off. When combined with the on-chip CCC/PLL blocks, a wide range of clock frequencies can be created to support various design requirements.

The Real Time Counter inside the Analog Block has the following features:

The figure below shows the Real Time Counter dialog box.

Real Time Counter Dialog Box

Crystal Oscillator Mode

RC network - Oscillator is configured to work with an external resistor-capacitor network.

LOW_GAIN / MEDIUM_GAIN / HIGH_GAIN - Oscillator is configured to support an external crystal or ceramic resonator. The difference is the supported crystal frequency or resonator, as shown in the table below.

Mode

Recommended Capacitor

Frequency Range (in MHz)

LOW_GAIN

100 pf

0.032 to 0.20

MEDIUM_GAIN

100 pf

0.21 to 2.0

HIGH_GAIN

15 pf

2.1 to 20.0

Match Register Value

The MATCH signal asserts when it is equal to this value; this is a 40 bit binary or a 10 bit hex value.

Counter Initial Value

You may specify a different counter start value. The default is zero. This also is a 40 binary or a 10 bit hex value.

On Match - Defines the actions to perform when a match occurs. You can:

Enable dynamic update of matchregister and counter - This option provides access to the ACM Address and Data signals to update the values of counter and match register. Exercise caution: The ACM address bus is shared by the Analog System and the Analog system configuration could be overwritten if it accesses an incorrect address.