gen4-PA
Description
This datasheet covers the gen4-PA (Programming Adaptor) which is compatible with all of the gen4 range of Intelligent Display modules which feature Picaso or Diablo16 graphics processors. It is included in the Starter Kit (SK) packs, and is a quick and easy way to interface and program the gen4 range, without having to break out the signals from the 30-way FFC cable.
The gen4-PA is a programming adaptor for the gen4 display module that also breaks out the signals found on the 30-way FFC cable coming from your gen4 display module. These signals are available via 2.54mm pitch (0.1") pads around the edge of the gen4-PA. It also groups the common 5-way signals found on other 4D Systems products (and the gen4-IB), for easy interface to other products such as our -AR and -PI kits for the Arduino and Raspberry Pi.
The gen4-PA replaces the need for a separate standard programmer, such as the uUSB-PA5 or 4D Programming Cable. The gen4-PA has the circuitry found on the uUSB-PA5-II built into it, and features a microUSB jack, for connection to your PC. Cable is not included with the gen4-PA or in our Starter Kits.
The gen4-PA can be used for programming gen4 display modules, interfacing to a breadboard for prototyping, interfacing to Arduino and Raspberry Pi interfaces (see gen4 -AR and -PI kits), or for interfacing to virtually any host.
The pinout naming, shown on the back of the gen4-PA has been generalised to GPIOx naming, as the gen4-PA can be used with both Picaso and Diablo16 gen4 products, and the naming of GPIO is different for these. Please refer to the following table.
4D-UPA | DIABLO-16 | PICASO | PIXXI-LCD | PIXXI-44 |
---|---|---|---|---|
GPIO1 | PA3 | IO1 | IO1 / IO7 | IO1 |
GPIO2 | PA2 | IO2 | IO2 / IO6 | IO2 |
GPIO3 | PA1 | IO3 | IO3* | IO3 |
GPIO4 | PA0 | IO4 | IO4* | IO4 |
GPIO5 | PA9 | BUS5 | IO5* | IO5 |
GPIO6 | PA8 | BUS4 | - | IO6 |
GPIO7 | PA7 | BUS3 | - | IO7 |
GPIO8 | PA6 | BUS2 | - | IO12 |
GPIO9 | PA5 | BUS1 | - | IO13 |
GPIO10 | PA4 | BUS0 | - | IO14 |
GPIO11 | PA10 | BUS6 | - | IO15 |
GPIO12 | PA11 | BUS7 | - | IO16 |
GPIO13 | PA12 | IO5 | - | IO17 |
GPIO14 | PA13 | RX1 | - | IO18 |
GPIO15 | PA14 | TX1 | - | IO6 |
GPIO16 | PA15 | I2C_SCL | - | IO7 |
GPIO17 | N/C | I2C_SDA | - | N/C |
The gen4-PA utilises the Silicon Labs CP2104 USB to Serial Bridge IC. More information about this can be found from the Silicon Labs website. A link to the driver is available on our website.
- USB 2.0 compliant Full Speed 12Mbps maximum speed.
- Hardware or Xon/Xoff handshaking supported, 300bps to 2Mbps
- UART supports 5, 6, 7, 8 data bits, 1, 1.5, 2 stop bits, odd/even/mark/space and no parity
- Supports Windows 2000 and above, MAC (OSX-8 and above) and Linux (2.4 kernel and above)
- USB powered
- -40 to +85 degrees Celsius temp range
Example Hardware Connections
The following pictures illustrate how to connect the gen4-PA to various hardware. Note, the display module illustrated below is the gen4-uLCD-32DT.
When connecting another device (such as an Arduino) to the gen4-PA to interface to the gen4 Display Module, you will not be able to use the TX/RX pins (COM0) on the gen4-PA for the Arduino. The USB chip on the gen4-PA will hold the TX/RX lines and prevent the Arduino being able to communicate with the gen4 Display. To get around this, configure Workshop4 IDE to use a different COM port for communications to the host.
For example, on Diablo display modules, there are 3 additional UARTs which can be assigned to GPIO pins. Configure one of these UART's to use 2 of the Diablo GPIO pins, and then physically wire these 2 pins from the gen4-PA header pads to the Arduino. This leaves the COM0 (TX/RX) pins just for programming the display over USB, and all communications to the host will go out COM1 for example.
In Workshop4, this can be configured easily for the Serial environment, and the ViSi-Genie environment by setting the pins or COM port in the Workshop4 options. In Designer and ViSi, because these are coded 100% by the User, using COM1/2/3 commands instead of COM0 will achieve the same result.
The same can be done for Picaso modules, but it has a fixed COM1 interface predefined.
Check the table under the Description Section to show how the Diablo and Picaso pins relate to the markings found on the gen4-PA, so the correct header pads are connected to.
On the back of the gen4-PA, is a '5-way interface' marking. This is designed for connecting non-gen4 display modules to the gen4-PA for programming. This utilises the standard 5V, RX, TX, GND, RESET pins which are found on the 30-way FFC connector, for connecting to uLCD or uOLED modules typically, which do not have FFC connectors like gen4. This should not be used for connecting a Host, due to the reasons stated above.
FFC Cable
The Standard FFC cable supplied has the following specifications:
- 30 Pin Flexible Flat Cable, 150mm Long, 0.5mm (0.02") pitch
- Cable Type: AWM 20624 80C 60V VW-1
- Heat Resistance 80 Degrees Celsius
- Connections on the opposite side at each end (Type B)
Revision History
Hardware Revision
Revision Number | Date | Description |
---|---|---|
1.1 | 21/06/2016 | Initial Public Release Version |
1.2 | 31/08/2017 | Updated the microUSB connector part/brand, no changes to the circuit, cosmetic changes to silkscreen only. |
Datasheet Revision
Revision Number | Date | Description |
---|---|---|
1.1 | 21/06/2016 | Initial Draft |
1.2 | 07/03/2019 | Cosmetic Changes to gen4-PA Datasheet |
1.3 | 17/12/2020 | Clarification on UART gen4-PA |
1.4 | 27/02/2023 | Modified datasheet for web-based documentation. |
1.5 | 07/03/2024 | Updated formatting for resource centre redesign |
1.6 | 19/07/2024 | Added missing Rev 1.2 hardware revision information and updated schematic diagram |