User`s manual

30 MiniCore RCM5600W
4.1.1 Memory I/O Interface
The Rabbit 5000 address lines (A0–A19) and data lines (D0–D7) are routed internally to
the onboard SRAM. I/0 write (/IOWR) and I/0 read (/IORD) are available for interfacing
to external devices.
Parallel Port A can also be used as an external I/O data bus to isolate external I/O from the
main data bus. Parallel Port B pins PB2–PB7 can also be used as an external address bus.
When using the external I/O bus for any other reason, you must add the following line at
the beginning of your program.
#define PORTA_AUX_IO // required to enable external I/O bus
Selected pins on Parallel Ports D and E as specified in Table 2 may be used for input
capture, quadrature decoder, DMA, and pulse-width modulator purposes.
4.1.2 Other Inputs and Outputs
The status, /RESET_IN, and SMODE I/O are normally associated with the programming
port. Since the status pin is not used by the system once a program has been downloaded
and is running, the status pin can then be used as a general-purpose CMOS output. The
programming port is described in more detail in Section 4.2.2.
/RESET_IN is an external input used to reset the Rabbit 5000 microprocessor and the
RCM5600W memory. /RESET is an output from the reset circuitry that can be used to
reset other peripheral devices.
The two SMODE pins, SMODE0 and SMODE1, are tied together to +3.3 V via a pullup
resistor, and may be used as a special input when the RCM5600W is operating in the Run
Mode. The logic state of these two pins determines the startup procedure after a reset.