Mib Control Register (Mibc); Programming Examples For Mscr; Mibc Field Descriptions - Motorola ColdFire MCF5281 User Manual

Motorola microcontroller user's manual
Table of Contents

Advertisement

Programming Model
If the system clock is 25 MHz, programming this register to 0x0000_0005 will result in an
EMDC frequency of 25 MHz * 1/10 = 2.5 MHz. A table showing optimum values for
MII_SPEED as a function of system clock frequency is provided below.
Table 17-19. Programming Examples for MSCR
System Clock Frequency
25 MHz
33 MHz
40 MHz
50 MHz
66 MHz

17.5.4.8 MIB Control Register (MIBC)

The MIBC is a read/write register used to provide control of and to observe the state of the
MIB block. This register is accessed by user software if there is a need to disable the MIB
block operation. For example, in order to clear all MIB counters in RAM the user should
disable the MIB block, then clear all the MIB RAM locations, then enable the MIB block.
The MIB_DISABLE bit is reset to 1. See Table 17-11 for the locations of the MIB counters.
31
Field MIB_DISABLE MIB_IDLE
Reset
R/W
15
Field
Reset
R/W
Address
Bits
31
30
29–0
17-32
MII_SPEED (field in reg)
30
0000_0000_0000_0000
Figure 17-11. MIB Control Register (MIBC)
Table 17-20. MIBC Field Descriptions
Name
MIB_DISABLE
A read/write control bit. If set, the MIB logic will halt and not update
any MIB counters.
MIB_IDLE
A read-only status bit. If set the MIB block is not currently updating
any MIB counters.
Reserved.
MCF5282 User's Manual
0x5
0x7
0x8
0xA
0xD
1100_0000_000_000
R/W
R/W
IPSBAR + 0x1064
Description
EMDC frequency
2.5 MHz
2.36 MHz
2.5 MHz
2.5 MHz
2.5 MHz
MOTOROLA
16
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfire mcf5282

Table of Contents