uVGA II (SGC) DS Rev2
uVGA II (SGC) DS Rev2
uVGA II (SGC) DS Rev2
VGA-II(SGC)
Serial VGA Graphics Engine Data Sheet
Document Date: 1st March 2011 Document Revision: 2.0
2011 4D Systems
www.4dsystems.com.au
Page 1 of 20
VGA-II(SGC)
Serial VGA Graphics Engine
4D SYSTEMS
Description Features
Data Sheet
Simple VGA interface to variety of monitors and LCD screens. Supports the following resolutions, 320 x 240 (QVGA) 640 x 480 (VGA) 800 x 480 (WVGA) Custom Resolution X*Y = 405K (414720) Supports RGB 65K true to life colours. The VGA-II(SGC) module is a compact and cost effective Serial-to-VGA graphics engine powered by the PICASO-SGC graphics controller. It can provide QVGA/VGA/WVGA graphics solution to any embedded project with its powerful graphics, text, image, animation and countless more features built inside the module. It offers a simple yet effective serial interface to any host micro-controller that can communicate via a serial port. All the serial commands are sent using a simple protocol via the serial interface. The serial platform allows users to develop their application using their favourite micro-controller and software development tools. Easy 5 pin interface to any host device: VCC, TX, RX, GND, RESET. Asynchronous hardware serial port, interface, with 300 baud to 256K baud. TTL
Powered by the 4D-Labs PICASO-SGC processor (also available as separate OEM IC for volume users). On-board micro-SD memory card adaptor for multimedia storage and data logging purposes. HC memory card support is also available for cards larger than 4Gb. DOS compatible file access (FAT16 format) as well as low level access to card memory. Dedicated PWM Audio pin supports FAT16 audio WAV files and complex sound generation. Comprehensive set of built in high level graphics functions and algorithms that can draw lines, circles, text, and much more. Display full colour images, animations, icons and video clips. Supports all available Windows fonts and characters (imported as external fonts). 16 x General Purpose I/O pins. Upper 8 bits can be used as an I/O Bus for fast 8-bit parallel data transfers. 2 x 11 pin male headers with 2.54mm (0.1") pitch to form a DIP mount package.
So next time your embedded application requires VGA graphics, the VGA-II(SGC) might be the ideal solution.
2011 4D Systems
www.4dsystems.com.au
Page 2 of 20
VGA-II(SGC)
15 pin D-type standard VGA connector to interface to any external VGA monitor. 4.0V to 5.5V range operation (single supply). RoHS Compliant.
Data Sheet
Applications
General purposes embedded graphics. Elevator control systems. Point of sale terminals. Electronic gauges and metres. Test and measurement and general purpose instrumentation. Industrial control and Robotics. Automotive system displays. GPS navigation systems. Medical Instruments and applications. Home appliances. Smart Home Automation. Security and Access control systems. Gaming equipment.. Aviation systems. HMIs.
2011 4D Systems
www.4dsystems.com.au
Page 3 of 20
VGA-II(SGC)
Data Sheet
Table of Contents
1. Pin Configuration and Summary...................................................................................................................5 2. Hardware Interface - Pins.............................................................................................................................8 2.1 Serial Interface - UART ..........................................................................................................................8 2.2 GPIO - General Purpose IO Interface .....................................................................................................8 2.3 System Pins............................................................................................................................................8 3. Software Interface - Commands...................................................................................................................9 4. Module Features.........................................................................................................................................11 4.1 The VGA Interface.............................................................................................................................11 4.2 The PICASO-SGC Processor..................................................................................................................11 4.3 The uSD Memory Card.........................................................................................................................11 4.4 The Audio.............................................................................................................................................11 5. Power-Up and Reset...................................................................................................................................12 5.1 Splash Screen on Power Up.................................................................................................................12 5.2 4DSL Memory Card Script Program .....................................................................................................12 5.3 Auto-Run Card Script Program ............................................................................................................12 6. Programming - System Updates..................................................................................................................13 7. Memory Cards FAT16 Format...................................................................................................................13 8. Development and Support Tools.................................................................................................................14 8.1 PmmC Loader PmmC Programming Software Tool .........................................................................14 8.2 microUSB PmmC Programming Hardware Tool.................................................................................14 8.3 Display Initialisation Setup Personality (DISP) Software Tool...........................................................14 8.4 Graphics Composer Software Tool....................................................................................................14 8.5 FONT Tool Software Tool...................................................................................................................15 8.6 FAT Controller Software Test Tool......................................................................................................15 8.7 RMPET Software Tool........................................................................................................................15 9. Mechanical Details.....................................................................................................................................16 10. Reference Design......................................................................................................................................17 11. Specifications and Ratings........................................................................................................................19 Proprietary Information..................................................................................................................................20 Disclaimer of Warranties & Limitation of Liability...........................................................................................20 Contact Information.......................................................................................................................................20
2011 4D Systems
www.4dsystems.com.au
Page 4 of 20
Data Sheet
Symbol
VCC TX
I/O Description
P O Main Voltage Supply +ve input pin. Reverse polarity protected. Range is 4.0V to 5.5V, nominal 5.0V. Asynchronous Serial Transmit pin. Connect this pin to host microcontroller Serial Receive (Rx) signal. The host receives data from the VGA Graphics Engine via this pin. This pin is tolerant up to 5.0V levels. Asynchronous Serial Receive pin. Connect this pin to host microcontroller Serial Transmit (Tx) signal. The host transmits commands and data to the VGA Graphics Engine via this pin. This pin is tolerant up to 5.0V levels. Supply Ground. Master Reset signal. Internally pulled up to 3.3V via a 4.7K resistor. An active Low pulse greater than 2 micro-seconds will reset the module. If the module needs to be reset externally, only use open collector type circuits. This pin is not driven low by any internal conditions. The host should control this pin via one of its port pins using an open collector/drain arrangement.
3 4
RX GND
I P
RESET
2011 4D Systems
www.4dsystems.com.au
Page 5 of 20
VGA-II(SGC)
Data Sheet
2011 4D Systems
www.4dsystems.com.au
Page 6 of 20
VGA-II(SGC)
Data Sheet
2011 4D Systems
www.4dsystems.com.au
Page 7 of 20
Data Sheet
RX (Serial Receive), uUSB Interface pin 3: Asynchronous Serial port Receive pin, RX. Connect this pin to host micro-controller Serial Transmit (Tx) signal. The host transmits data to the uVGAII(SGC) module via this pin. This pin is 5.0V tolerant.
The Serial port is also the primary interface for updating and programming the on board PICASOSGC processor with PmmC files for future serial command upgrades and enhancements. Please refer to Section 6. Programming-System Updates for more details. TX (Serial Transmit), uUSB Interface pin 2: Asynchronous Serial port Transmit pin, TX. Connect this pin to host micro-controller Serial Receive (Rx) signal. The host receives data from the uVGA-II(SGC) module via this pin. This pin is
2011 4D Systems
www.4dsystems.com.au
Page 8 of 20
VGA-II(SGC)
supply can be powered up via this pin. Maximum available current is 400ma. GND (Module Ground) uUSB Interface pin 4, J2 pin 9: Device ground pins. These pins must be connected to ground. RESET (Module Master Reset) uUSB Interface pin 5: Module Master Reset pin. An active low pulse of greater than 2 micro-seconds will reset the module. Internally pulled up to 3.3V via 4.7K resistor. Only use open collector type circuits to reset the device if an external reset is required.
2011 4D Systems
www.4dsystems.com.au
Page 9 of 20
VGA-II(SGC)
uSD Memory Card Commands (Low-Level/RAW) Initialise Memory Card Set Address Pointer of Card Read Byte Data from Card Write Byte Data to Card Read Sector Block from Card Write Sector Block to Card Screen Copy-Save to Card Display Image-Icon from Card Display Object from Card Display Video-Animation Clip from Card Run Script (4DSL) Program from Card uSD Memory Card Commands (FAT-Level/DOS) Initialise Memory Card Read File from Card (FAT) Write File to Card (FAT) Erase file from Card (FAT) List Directory from Card (FAT) Screen Copy-Save to Card (FAT) Display Image-Icon from Card (FAT) Play Audio WAV file from Card (FAT) Run Script (4DSL) Program from Card (FAT) 4DSL - Scripting Language Commands Delay Set Counter Decrement Counter Jump to Address If Counter Not Zero Jump to Address Exit-Terminate Script Program For a complete detailed list of commands refer to the separate document titled: PICASO-SGC-COMMANDS-SIS.pdf Each command is made up of a sequence of data bytes. When a command is sent to the module and the operation is completed, the module will always return a response. For a command that has no specific response the module will send back a single acknowledge byte called the ACK (06hex), in the case of success, or NAK (15hex), in the case of failure. Commands having specific responses may send back varying numbers of bytes, depending upon the command and response. It will take the module a certain amount of time to respond, depending on the command type and the
Data Sheet
operation that has to be performed. If the VGA Graphics Engine receives a command that it does not understand it will reply back with a negative acknowledge called the NAK (15hex). Since a command is only identified by its position in the sequence of data bytes sending incorrect data can result in wildly incorrect operation. Comm
2011 4D Systems
www.4dsystems.com.au
Page 10 of 20
Data Sheet
The data sheet for the chip is available from the www.4dsystems.com.au website: PICASO-SGC-DS-revx.pdf
Powerful graphics, text, image, animation and countless more features are built right inside the chip. It offers a simple yet effective serial interface to any host micro-controller that can communicate via a serial port.
2011 4D Systems
www.4dsystems.com.au
Page 11 of 20
Data Sheet
transmitted the Auto-Baud command by the end of this period the module will display a built-in splash screen. If the host has transmitted the Auto-Baud command, the screen will remain blank. This wait period is for those customer specific applications where the splash screen is undesired.
PowerUp/Reset Delay
The uVGA-II(SGC) module has a feature that will auto run a preloaded script program on power-up. The module device is equipped to accept memory cards and when using the FAT file system, upon power-up, if a 4DSL script program file called autoexec.4ds exists on the memory card, the PICASO-SGC will automatically run this script program. This is a useful feature for those stand alone applications where the device does not require a host controller to send commands to the module to play a slide show of images, video clips, etc. The user will have to create and upload a slide show composition to the card to benefit from this auto play feature. Refer to 'Section 4: Appendix B' at the end of the separate document titled: PICASO-SGCCOMMANDS-SIS.pdf for a quick guide to creating scripting files using the FAT-Controller software tool available from 4D Systems.
2011 4D Systems
www.4dsystems.com.au
Page 12 of 20
2011 4D Systems
www.4dsystems.com.au
Page 13 of 20
The PmmC Loader is a free software tool for Windows based PC platforms. Use this tool to program the latest PmmC file into the PICASO-SGC chip embedded in the uVGA-II(SGC) module. It is available for download from the 4D Systems website, www.4dsystems.com.au
8.2 microUSB
The micro-USB module is a USB to Serial bridge adaptor that provides a convenient physical link between the PC and the module. A range of custom made micro-USB devices such as the uUSB-MB5 and the uUSB-CE5 are available from 4D Systems www.4dsystems.com.au. The micro-USB module is an essential hardware tool for all the relevant software support tools to program, customise and test the uVGA-II(SGC) module.
uUSB-CE5
uUSB-MB5
2011 4D Systems
www.4dsystems.com.au
Page 14 of 20
It is available for download from the 4D Systems website, www.4dsystems.com.au. Disclaimer: Windows fonts may be protected by copyright laws. This software is provided for experimental purposes only.
2011 4D Systems
www.4dsystems.com.au
Page 15 of 20
Data Sheet
2011 4D Systems
www.4dsystems.com.au
Page 16 of 20
Data Sheet
2011 4D Systems
www.4dsystems.com.au
Page 17 of 20
VGA-II(SGC)
Data Sheet
2011 4D Systems
www.4dsystems.com.au
Page 18 of 20
VGA-II(SGC)
Data Sheet
Ordering Information
Order Code: uVGA-II(SGC) Package: 150mm x 95mm (ZIF Bag dimensions). Packaging: Module sealed in antistatic padded ZIF bag.
2011 4D Systems
www.4dsystems.com.au
Page 19 of 20
VGA-II(SGC)
Data Sheet
Proprietary Information
The information contained in this document is the property of 4D Systems Pty. Ltd. and may be the subject of patents pending or granted, and must not be copied or disclosed with out prior written permission. 4D Systems endeavours to ensure that the information in this document is correct and fairly stated but does not accept liability for any error or omission. The development of 4D Systems products and services is continuous and published information may not be up to date. It is important to check the current position with 4D Systems. All trademarks belong to their respective owners and are recognised and acknowledged.
Contact Information
For Technical Support : [email protected] For Sales Support : [email protected] Website : www.4dsystems.com.au
2011 4D Systems
www.4dsystems.com.au
Page 20 of 20