Chameleon-AVR Nurve Networks, Chameleon-AVR Datasheet - Page 228

MCU, MPU & DSP Development Tools AVR8 & PROPELLER DEV SYSTEM (SBC)

Chameleon-AVR

Manufacturer Part Number
Chameleon-AVR
Description
MCU, MPU & DSP Development Tools AVR8 & PROPELLER DEV SYSTEM (SBC)
Manufacturer
Nurve Networks
Datasheet

Specifications of Chameleon-AVR

Processor To Be Evaluated
AVR 328P
Data Bus Width
8 bit
Interface Type
USB, VGA, PS/2, I2C, ISP, SPI
Operating Supply Voltage
3.3 V, 5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
I have highlighted the little scanner that looks for the sequence “morpheous”. Try typing it in and see if it works!
Summary
This demos shows off how easy it is to access the PS/2 keyboard. If you have done
work with embedded systems, reading a PS/2 keyboard is always a challenge since its
such a slow device. Thus, the best solution is to use interrupts to detect bits sent by the
keyboard. However, this usually means that any other processes that are running on a
high speed interrupt will be interrupted which is tricky. However, with the Propeller
doing all the work on a separate processing core, reading the keyboard is trivial and
requires no processing load at the master’s end.
30.1.2 Mouse “ASCII Paint” Demo
This demo uses the mouse API to communicate with a local PS/2 mouse plugged into the PS/2 port via the Propeller’s
mouse. Make sure to plug your mouse into the Chameleon and get a good connection. This crude “ASCII Paint” demo
allows you to draw with the mouse. The right mouse button changes the ASCII drawing character and the left mouse
button clears the screen. The program displays simultaneously on both the NTSC and VGA displays. Figure 30.2 shows
the demo in action.
Compiling and Running the AVRStudio Version
Demo Version Description:
Main Source File:
Additional Files Required:
General Requirements:
Controls Required:
CHAM_AVR_SYSTEM_V010.c|h
CHAM_AVR_TWI_SPI_DRV_V010.c|h
CHAM_AVR_NTSC_DRV_V010.c|h
CHAM_AVR_VGA_DRV_V010.c|h
CHAM_AVR_MOUSE_DRV_V010.h
Draws on the screen with the mouse using ASCII art.
CHAM_AVR_MOUSE_DEMO_01.C
Video ports connected to NTSC or VGA monitors.
PS/2 mouse plugged into Chameleon, draw ASCII art with the mouse. Left button to clear
the screen, right button to cycle thru different drawing characters.
Figure 30.2 – Mouse “ASCII Paint” demo in action.
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon AVR 8-Bit”
228

Related parts for Chameleon-AVR