Getting To Know The Rcm2200 - Rabbit RabbitCore RCM2200 User Manual

C-programmable module with ethernet
Hide thumbs Also See for RabbitCore RCM2200:
Table of Contents

Advertisement

3.1.1 Getting to Know the RCM2200

The following sample programs can be found in the
—demonstrates the setup and simple addressing to an external SRAM.
EXTSRAM.C
This program first maps the external SRAM to the I/O Bank 7 register with a maximum
of 15 wait states, chip select strobe (PE7), and allows writes. The first 256 bytes of
SRAM are cleared and read back. Values are then written to the same area and are read
back. The Dynamic C
Connect an external SRAM as shown below before you run this sample program.
SRAM
A0–A3
D0–D7
/WE
/OE
/CE
—repeatedly flashes LED DS3 on the Prototyping Board on and off.
FLASHLED.C
LED DS3 is controlled by Parallel Port E bit 7 (PE7). LED DS2 will remain on
continuously.
—demonstrates the use of coding with assembly instructions, cofunc-
FLASHLEDS.C
tions, and costatements to flash LEDs DS2 and DS3 on the Prototyping Board on and
off. LEDs DS2 and DS3 are controlled by Parallel Port E bit 1 (PE1) and Parallel Port E
bit 7 (PE7).Once you have compiled this program and it is running, LEDs DS2 and
DS3 will flash on/off at different rates.
—demonstrates the use of costatements to detect switch presses using
TOGGLELED.C
the press-and-release method of debouncing. As soon as the sample program starts run-
ning, LED DS2 on the Prototyping Board (which is controlled by PE1) starts flashing
once per second. Press switch S3 on the Prototyping Board (which is connected to PB3)
to toggle LED DS3 on the Prototyping Board (which is controlled by PE7) on and off.
The pushbutton switch is debounced by the software.
12
window will indicate if writes and reads did not occur
STDIO
10 kW
Vcc
SAMPLES\RCM2200
RCM2300
Core Module
A0–A3
D0–D7
/IOWR
/IORD
PE7
RabbitCore RCM2200
folder.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RabbitCore RCM2200 and is the answer not in the manual?

Questions and answers

Table of Contents