Chameleon-PIC Nurve Networks, Chameleon-PIC Datasheet - Page 226

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

Chameleon-PIC

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

Specifications of Chameleon-PIC

Processor To Be Evaluated
PIC24
Data Bus Width
16 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
Compiling and Running the MPLAB/TextPad Bootloader Version
Demo Version Description:
Main Source File:
Additional Files Required:
General Requirements:
Controls Required:
Technical Overview
This demo uses the Propeller Port API library to control the pins of the 8-bit local Propeller Port and blink an LED. A
couple cool things about the demo is that it toggles the pins on the I/O header +- in pairs then -+, thus no matter which
way you have the LED nor what pins you have it plugged into, it will actually blink or go bi-color (if you were lucky and got
a bi-color LED in your kit). Below is the entire main() loop of the program.
void main()
{
// Always call ConfigureClock first
SYS_ConfigureClock(MAX_FCY_RATE);
// initialize SPI
SPI_Init();
// give Prop a moment before sending it commands, the boot process is about a second
// if you like you can speed it up, by removing the Prop driver's "LED blink" sequence in the driver
// or speed it up, but commands that are sent before the Prop driver is done booting will be ignored.
// therefore, if you have a lot of set up work to do, then you don't require a delay, but if you jump right
// into commands, then you need a good 1.5 - 2 second delay
DELAY_MS( 2500 );
// clear screens
NTSC_ClearScreen();
NTSC_Color(0);
// set direction of prop port so we have all bits output
PropPort_SetDir( 0b11111111 ); // 1 is output, 0 input
// enter infinite loop...
while(1)
CHAM_PIC_SYSTEM_V010.c|h
CHAM_PIC_I2C_SPI_DRV_V010.c|h
CHAM_PIC_NTSC_DRV_V010.c|h
CHAM_PIC_PROP_PORT_DRV_V010.h
// run over and over again
Blinks and LED on the Propeller Port.
CHAM_PIC_PROPPORT_DEMO_01.C
Video port connected to NTSC TV monitors, LED plugged into the Propeller Port, leftmost
2-pins, orientation doesn’t matter.
None.
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
226

Related parts for Chameleon-PIC