Table of Contents
Embedded Graphics Processor
DIABLO16
DATASHEET
Document Revision: 2.6
Document Date: 13
th
December 2021
DIABLO16 DATASHEET
Page 1 of 35
www.4dlabs.com.au
Table of Contents
Table of Contents
1. Description .............................................................................................................. 4
2. Features ................................................................................................................... 4
3. Applications ............................................................................................................. 5
4. Pin Summary ............................................................................................................ 6
5. Pin Description ......................................................................................................... 9
5.1. Display Interface ...................................................................................................... 9
5.2. SPI Interface
–
Memory Card ................................................................................. 10
5.3. Serial Ports
–
TTL Level Serial................................................................................. 10
5.4. Audio Interface ...................................................................................................... 11
5.5. Touch Screen Interface .......................................................................................... 12
5.6. GPIO
–
General Purpose IO .................................................................................... 12
5.7. System Pins ............................................................................................................ 13
5.8. Alternate Pin Functions.......................................................................................... 14
5.9. SPI........................................................................................................................... 15
5.10. I2C ........................................................................................................................ 16
5.11. Pulse Out .............................................................................................................. 16
5.12. PWM Out ............................................................................................................. 17
5.13. Pin Counter .......................................................................................................... 17
5.14. Quadrature In....................................................................................................... 18
5.15. Analog Inputs ....................................................................................................... 18
6. Diablo16 Architecture ............................................................................................ 19
6.1. Flash Storage & RAM Allocation ............................................................................ 20
6.2. PmmC / PmmC Loader ........................................................................................... 20
6.3. Display Driver ......................................................................................................... 20
6.4. User Flash Memory Banks ..................................................................................... 21
6.5. RAM (Both System and User) ................................................................................ 21
7. 4DGL
–
Software Language ..................................................................................... 22
8. In Circuit Serial Programming ................................................................................. 22
9. System Registers Memory Map .............................................................................. 23
10. Memory Cards
–
FAT16......................................................................................... 25
11. Hardware Tools .................................................................................................... 25
11.1. 4D Programming Adaptors .................................................................................. 25
DIABLO16 DATASHEET
Page 2 of 35
www.4dlabs.com.au
Table of Contents
11.2. Evaluation Display Modules ................................................................................. 26
12. 4D Labs
–
Workshop4 IDE ..................................................................................... 26
12.1. Designer Environment ......................................................................................... 27
12.2. ViSi Environment .................................................................................................. 27
12.3. ViSi Genie Environment ....................................................................................... 27
12.4. Serial Environment ............................................................................................... 28
13. Reference Design ................................................................................................. 29
14. Package Details .................................................................................................... 30
15. PCB Land Pattern.................................................................................................. 31
16. Specifications and Ratings .................................................................................... 32
17. Revision History ................................................................................................... 34
18. Legal Notice ......................................................................................................... 35
19. Contact Information ............................................................................................. 35
DIABLO16 DATASHEET
Page 3 of 35
www.4dlabs.com.au
DIABLO16 GRAPHICS PROCESSOR
1. Description
The Diablo16 Processor is one of 4D Labs processor
range, providing more power, more FLASH, more RAM
and more features than the Picaso Processor.
The Diablo16 Processor is a custom embedded 4DGL
graphics controller designed to interface with many
popular OLED and LCD display panels. With its
powerful graphics, text, image, and animation abilities
built-in, along with numerous more features make the
Diablo16 a single chip solution for a wide variety of
LCD and OLED display solutions.
The Diablo16 offers a simple plug-n-play interface to
many 16-bit 80-Series colour LCD and OLED displays,
and is designed to work with minimal design effort as
all of the data and control signals are provided by the
chip to interface directly to the display. This offers
enormous advantage to the designer in development
time and cost saving and takes away the burden of
low-level design.
Note:
Please refer to
Section 6.3
for information on
creating the Display Driver. Please contact Technical
Support or Sales before starting.
The Diablo16 belongs to 4D Labs family of processors
powered by a highly optimised soft-core virtual
engine, EVE (Extensible Virtual Engine). EVE is a
proprietary, high performance virtual processor with
an extensive byte-code instruction set optimised to
execute compiled 4DGL programs. 4DGL (4D Graphics
Language) was specifically developed from ground up
for the EVE engine core. It is a high-level language
which is easy to learn and simple to understand yet
powerful enough to tackle many embedded graphics
applications.
The processor offers a comprehensive set of I/O
features and can interface to SPI, I2C, serial, digital,
and analog devices, and provides a wealth of features
such as PWM, Quadrature, PulseOut and Pin Counter
functions. Provision is also made for a dedicated PWM
audio output that supports audio WAV files and
complex sound generation.
All of the display built-in driver libraries implement
and share the same high-level function interface. This
allows your GUI application to be portable to different
display controller types.
2. Features
•
•
•
•
6 banks of 32750 bytes of Flash memory for User
Application Code and Data
32KB of SRAM purely for the User.
16 General Purpose I/O pins for user interfacing,
which include 4 configurable Analog Inputs.
The GPIO is variously configurable for alternative
functions such as:
o
3x I2C channels available
o
1x dedicated for SD Card and 3x configurable
SPI channels available
o
1x dedicated and 3x configurable TTL Serial
comm ports available
o
Up to 6 GPIO can be used as Pin Counters
o
Up to 6 GPIO for PWM (simple and Servo)
o
Up to 10 GPIO for Pulse Output
o
Up to 14 GPIO can be configured for
Quadrature Encoder Inputs (2 channels)
FAT16 file services.
Dedicated SPI interface for SDHC/SD memory card
for multimedia storage and data logging purposes
(micro-SD with up to 2GB and SDHC memory
cards starting from 4GB and above). SD/uSD Card
must be SPI Compatible.
4-Wire Resistive Touch panel interface.
Audio support for wave files and complex sound
generation with a dedicated 16-bit PWM audio
output.
8 x 16-bit timers with 1 millisecond resolution.
Low-cost OLED, LCD and TFT display graphics user
interface solution.
Ideal as a standalone embedded graphics
processor or interface to any host controller as a
graphics co-processor.
Connect to almost any colour display that
supports an 80-Series 16-bit wide CPU interface.
All data and control signals are provided.
RoHS compliant.
Available in a 64 pin TQFP 10mm x 10mm package.
•
•
•
•
•
•
•
•
•
•
DIABLO16 DATASHEET
Page 4 of 35
www.4dlabs.com.au
DIABLO16 GRAPHICS PROCESSOR
3. 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 and Smart Home Automation.
Security and Access control systems.
Gaming equipment.
Aviation systems.
HMI with touch panels.
DIABLO16 DATASHEET
Page 5 of 35
www.4dlabs.com.au