Getting Started: Running the “S1D13517” demo
This demo is supported by the PIC32MX family along with the PIC24FJ256GB210. Using the PIC24FJ256GB210, the only configuration supported is 16-bit PMP interface and VGA (640x480) display.
All PIC32MX graphics PIMs and starter kits work without code change except for ethernet starter kit.
Ethernet Starter kit will run with SPI1 configured properly. Change the S1D13517 board SPI jumpers to SPI one and change the hardware profile to point to SPI1.
Some code change is necessary.
Make sure you have the following jumpers set correctly to run the out of the box demo:
PIC24FJ256GB210 PIM
- JP1, JP2, and JP3 jumpers closed to the side the says 'P' which stands for parallel (16-bit)
- Leave JP4 jumper open
Load External Hex file by:
- Programming the PIC
- Calibrate the touch screen if not prompted by pressing and holding down for at least 1 second on the touch screen while resetting the microcontroller, then follow the on sreen instruction.
- On the main application screen, select 'Upload', then use the External Memory Programmer utility to upload the hex file in the 'Resources' folder. The upload should be done via RS-232.
- Please refer to external memory programmer help file and Getting Started - Programming Memory on Graphics PICtail Daughter and Demo Boards.
Graphics PICtail Plus S1D13517 Board
- Set JP3, Jp4, JP5, and JP6 to use SPI2
- Close jumper JP2
- Set PEN_INT jumper to RA14 (mapped to RC3 on the actual PIC24FJ256GB210, due to PIM signal remapping)
- Leave J4 jumper open
Graphics Display Truly 5.7" 640x480 Board
- Set jumper to MCU if using software resistive touch driver
- Set jumper to AR1020 if using AR1020 as the resistive touch digitizer
You can switch between the two touch options above by selecting the appropriate sub-hardwareprofile file in the HardwareProfile.h
Graphics Display Truly 7.0" 800x480 Board
- Set jumper to MCU if using software resistive touch driver
- Set jumper to AR1020 if using AR1020 as the resistive touch digitizer
You can switch between the two touch options above by selecting the appropriate sub-hardwareprofile file in the HardwareProfile.h
This demo has a lot of features all built into one demo. The demo has a main side panel shown in the left corner of the screen. Here you can go to various demo screens that contain sample applications that the controller could be used for along with the different performance features. Here are some of the features found in the demo:
1) Alpha Blending - Used throughout the demo to show an overlaying effect and also a transparency. This is a hardware accelerated feature. It has it's own demo screen found under the performance button on the main menu.
2) Gradient - Used throughout the demo to showcase how gradients can make a demo look more cutting edge and give colors depth. The background is a drawn gradient and each panel button has a gradient effect to it. This is not a hardware accelerated function and can be found in the primitive layer of the graphics library. It has it's own demo screen found under the performance button on the main menu.
3) Transitions - When a user hits a main menu button the panel will scroll out and then reappear. Also, the slide show button on the main menu will show the screen scroll in all four directions. This is a hardware accelerated function, but other controllers in the graphics library support this feature also. The transitions were slowed down so the effect could be seen. The user can control the speed with software.
Setting up the External Memory Programming Mode
Only the PIC24F project required external memory programming.
To program the external memory on the Graphics PICtail
1. Hold down MCLR and S6 switches on the Explorer 16 Board
2. Release MCLR while holding down S6. This will place the board on programming mode.
3. Send the hex data from the External Memory Programmer utility.
Trademarks:
The Microchip name and logo, the Microchip logo, MPLAB, and PIC are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
PICDEM and PICTail are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
SD is a trademark of the SD Association in the U.S.A and other countries
Microsoft, Windows, Excel, and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.