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

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
Table 16.1 shows the pin map in more detail.
16.1 Master Control Program (MCP)
The MCP (cham_default2_drv_111.spin) is the primary driver that runs on the Propeller chip and listens to SPI traffic
over the SPI link from the PIC chip as shown in Figure 16.2. As the virtual SPI interface (running on its own core) receives
packets (messages/commands) from the PIC, the messages are parsed and packaged and placed into a global shared
memory region. The MCP is listening to the global shared region and tracks a flag. Once this flag is noted to change, the
MCP reads the packet in and then tries to parse it to determine if it’s a valid command that is supported. This is achieved
via a large switch statement to see if the command portion of the packet is valid. Below is the list of current commands
supported by the MCP by the default driver cham_default2_drv_111.spin:
‘ null command, does nothing
CMD_NULL
' graphics commands
GFX_CMD_NULL
' NTSC commands
GFX_CMD_NTSC_PRINTCHAR = 1
GFX_CMD_NTSC_GETX
GFX_CMD_NTSC_GETY
GFX_CMD_NTSC_CLS
' VGA commands
GFX_CMD_VGA_PRINTCHAR = 8
GFX_CMD_VGA_GETX
GFX_CMD_VGA_GETY
GFX_CMD_VGA_CLS
' mouse and keyboard are "loadable" devices, user must load one or the other on boot before using it
' keyboard commands
KEY_CMD_RESET
KEY_CMD_GOTKEY
KEY_CMD_KEY
KEY_CMD_KEYSTATE
KEY_CMD_START
I/O device
NTSC video
VGA video
PS/2 Keyboard
Sound
Serial Coms
= 9
= 10
= 11
= 16
= 17
= 18
= 19
= 20
= 0
= 0
= 2
= 3
= 4
Table 16.1 - The I/O pin map for the connections to media devices.
Figure 16.2 – The SPI link between the PIC and Propeller chip.
Propeller IO Port Pins Used
12, 13, 14 (video LSB to MSB)
16(V),17(H),18(B1),19(B0),20(G1),21(G0),22(R1),23(R0)
26 (data), 27 (clock)
10 (PWM or pure signal)
30 (TX), 31 (RX)
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
128

Related parts for Chameleon-PIC