mpc823rg Freescale Semiconductor, Inc, mpc823rg Datasheet - Page 459

no-image

mpc823rg

Manufacturer Part Number
mpc823rg
Description
Mpc823 Powerquicc Integrated Communications Processor For Portable Systems
Manufacturer
Freescale Semiconductor, Inc
Datasheet
16.2.4 Executing Microcode From RAM or ROM
The microcontroller can execute microcode from a portion of 8K dual-port RAM. Depending
on the size of your microcode, you can program the ERAM field in the RCCR to protect the
first 512 bytes, 1,024 bytes, or 2,048 bytes of on-chip RAM to allow the microcontroller
exclusive access. You can execute microcode from the dual-port RAM or on-chip ROM. This
flexibility not only allows Motorola to add more protocols or enhancements to the MPC823,
but it also allows you to obtain binary microcode. Refer to Table 16-1 for more information.
16.2.5 RISC Configuration and Control Registers
The 32-bit RISC controller configuration register (RCCR) and RISC microcode development
support control (RMDS) register are used to configure and control the RISC microcontroller.
The RCCR configures the microcontroller to run microcode from ROM or RAM and controls
the RISC internal timer. The RMDS determines the regions of the dual-port RAM that can
contain executable microcode. It is recommended that you write to these two registers as if
they were a single 32-bit register.
The ERAM4K bit is cleared in the RMDS if the RCCR’s location is accessed as either part
of a half-word or byte access. RMDS is used in conjunction with the ERAM field of the RCCR
to determine the valid address space for executable microcode. If the ERAM4K bit is to be
set, the RMDS register must be accessed as part of a word starting at IMMR+0x9C4 to
IMMR+0x9C7.
RCCR-RMDS
18. SPI RX
19. SPI TX
20. I
21. I
22. RISC timer tables
23. IDMA DREQ1 (option 3)
24. IDMA DREQ2 (option 3)
RESET
RESET
FIELD
FIELD
ADDR
ADDR
R/W
R/W
BIT
BIT
2
2
C RX
C TX
TIME
R/W
16
0
0
RES
R/W
17
1
0
18
2
Freescale Semiconductor, Inc.
RESERVED
For More Information On This Product,
19
3
R/W
0
20
4
MPC823 REFERENCE MANUAL
TIMEP
R/W
0
Go to: www.freescale.com
21
5
(IMMR & 0xFFFF0000) + 0x9c4
22
(IMMR & 0xFFFF0000) + 0x9c6
6
23
7
ERAM4K
DR2M
R/W
R/W
24
8
0
0
DR1M
R/W
25
9
0
Communication Processor Module
10
26
DRQP
R/W
0
11
27
RESERVED
R/W
R/W
EIE
12
28
0
0
SCD
R/W
13
29
0
14
30
ERAM
R/W
0
15
31
16-7

Related parts for mpc823rg