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

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
Function Prototype:
Example(s): Print the string “Hello World!” to screen.
_________________________________________________________________________________________________
Function Prototype:
Example(s):
_________________________________________________________________________________________________
21.0 VGA Library Module Primer
The basic premise of the Chameleon design is that it leverages drivers running on the Propeller chip to do all the media
and graphics. Thus, whatever features the particular driver running on the Propeller side is the only features we can
access via the AVR side. That doesn’t mean we can’t abstract functionality and add higher level functions that build on the
sub-functions, however, this probably isn’t productive since you will want to change drivers, re-write the Propeller driver
and so forth. Thus, for the majority of the “media” drivers all the API functions do (including the VGA) is expose some of
the base functionality in nice function calls so you don’t have to send SPI messages yourself. In the case of the enhanced
NTSC driver (CHAM_DEFAULT2_DRV_112.SPIN), we are using the following Propeller Object for the VGA tile engine
and text display:
VGA_Text_010.spin – VGA tile engine with support for terminal mode graphics with a tile resolution of 32x15. Very
Unlike the NTSC driver, we are using the same VGA terminal driver for both Default1 and Default2 Propeller drivers, so it
doesn’t matter which you are using the same rules apply. The VGA standard is much higher resolution, thus this driver is
much less capable than the NTSC driver. However, you can always use a more advanced VGA driver and modify the
Propeller message dispatcher, but we choose this one to get you started since it requires only a single processing core
and many of the more advanced VGA drivers require 2 or more cores to generate higher resolutions and capabilities.
But, again, the point is, you can change the Propeller driver and re-write it as you wish, we simply give you a starting point
to get going with. So, if you want to know what the driver supports, you can always peek into the driver itself
int NTSC_Term_Print(char *string);
int NTSC_Color(int col);
Print the character ‘X’ in all colors.
Description:
scrolling, etc. if the string prints off the right of the screen or bottom of terminal. Returns 1.
Description:
col parameter should be from [0..7] and selects one of a number of different foreground background color
schemes for the characters printed. This function has different behavior between the Default1 driver and
the Default2 driver. The Default2 driver is more for graphics and gaming, and thus the idea is to control
the color more directly with palette manipulation. Returns 1.
stable, but limited.
NTSC_Term_Print(…) prints a NULL terminated string to the screen with automatic
NTSC_Color(…) sets the color of the text and background (depending on driver). The
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon AVR 8-Bit”
171

Related parts for Chameleon-AVR