beautypg.com

Clock generator – Rainbow Electronics AT89C5132 User Manual

Page 88

background image

88

AT8xC5132

4173A–8051–08/02

Clock Generator

The MMC clock is generated by division of the oscillator clock (F

OSC

) issued from the

Clock Controller block as detailed in Section "Oscillator", page 12. The division factor is
given by MMCD7:0 Bits in MMCLK register. Figure 61 shows the MMC clock generator
and its output clock calculation formula.

Figure 61. MMC Clock Generator and Symbol

As soon as MMCEN bit in MMCON2 is set, the MMC controller receives its system
clock. The MMC command and data clock is generated on MCLK output and sent to the
command line and data line controllers. Figure 62 shows the MMC controller configura-
tion flow.

As exposed in Section “Clock Control”, MMCD7:0 Bits can be used to dynamically
increase or reduce the MMC clock.

Figure 62. Configuration Flow

MMCD7:0

MMCLK

MMC Clock

MMCclk

OSCclk

MMCD

1

+

-----------------------------

=

OSC

CLOCK

MMCEN

MMCON2.7

Controller Clock

MMC

CLOCK

MMC Clock Symbol

MMC Controller

Configuration

Configure MMC Clock

MMCLK = XXh

MMCEN = 1

FLOWC = 0