User’s Guide
Doc Rev. 05 (July 2017)
EPD Extension Kit Gen2
Preface
EPD* Extension Kit Generation 2 (EXT2) is a new generation of
extension board to the Texas Instruments’ LaunchPad
development platform to drive most of Pervasive Displays’ EPDs.
It is designed to kick-start EPD development with your
microcontrollers. There are onboard headers can be bridged to
any of your development kit and product.
* EPD: Electrophoretic display, Electronic paper display. E-Paper display
Table of Contents
Preface ........................................................................................................................................................................................ 1
1. Introduction ........................................................................................................................................................................ 3
1.1 Overview ................................................................................................................................................................ 3
1.2 EXT2 kit introduction ........................................................................................................................................ 4
1.2.1 EXT2 kit contents ................................................................................................................................. 4
1.2.2 EPD Extension Board Gen2 (EXT2 board) ................................................................................... 4
1.3 EPD Displays ........................................................................................................................................................ 6
1.3.1 FPL (E ink Imaging film): ................................................................................................................... 6
1.3.2 COG (Chip on Glass): .......................................................................................................................... 6
1.3.3 Supported EPD Display Lineup for EXT2 .................................................................................... 7
1.4 TI LaunchPads ...................................................................................................................................................... 9
2. Getting Started ................................................................................................................................................................ 10
2.1 Assembling the EXT2 board with LaunchPad ........................................................................................ 10
2.1.1 Adjust the Jumpers of LaunchPad .............................................................................................. 10
2.1.2 Getting started with EXT2 kit ........................................................................................................ 12
2.1.3 Stack the EXT2 board on LaunchPad ......................................................................................... 12
2.1.4 Connect the EPD to the EXT2 board .......................................................................................... 13
2.2 Programming firmware to LaunchPad ..................................................................................................... 14
2.2.1 Download firmware file to LaunchPad by UniFlash.............................................................. 15
2.2.2 Install CCS and setup driver library ............................................................................................ 18
2.2.3 Load project and program firmware by CCS .......................................................................... 19
2.2.4 Set driverlib path of MSP-EXP432P401R and EK-TM4C123GXL...................................... 21
2.3 Installing the PDI Apps................................................................................................................................... 22
2.4 Working with PDI Apps.................................................................................................................................. 23
2.4.1 Global Update .................................................................................................................................... 24
2.4.2 Fast Update.......................................................................................................................................... 26
2.4.3 Bitmap Converter .............................................................................................................................. 28
3. Hardware Instructions of EXT2 Kit ............................................................................................................................ 30
3.1 Introduction of EXT2 board.......................................................................................................................... 30
3.1.1 Headers and Connectors ................................................................................................................ 31
3.2 How to bridge EXT2 with other development kit ................................................................................ 32
3.3 Integration with front light guide .............................................................................................................. 34
3.4 Integration with touch panel ....................................................................................................................... 35
4. Working with TI CCS Project Code ........................................................................................................................... 36
4.1 EPD_drivers Project.......................................................................................................................................... 36
4.2 LaunchPad Name Project .............................................................................................................................. 38
5. Document revision history .......................................................................................................................................... 40
6. Evaluation board/kit important notice ................................................................................................................... 41
EPD Extension Kit Gen2 (EXT2)
2
[User’s Guide] Rev.05
1.
Introduction
1.1
Overview
Thank you for purchasing the EPD Extension Kit/Board Generation 2 (EXT Gen2, EXT2) for
low-power electrophoretic paper display (EPD) solutions. This document provides an
overview of the kit and is organized into four main sections.
1. The EXT2 introduction and supported EPD, material and drivers
2. Getting started with the EXT2 to drive EPD
3. Hardware instruction of EXT2 kit
4. Working with TI CCS project code
The 1st and 2nd sections are most of the user guide to instruct how to use the EXT2 kit and
get the EPD working. The 3rd and 4th sections are more details of developing EPDs with EXT2
kit and provided project code.
The EXT2 is a new EPD Extension board to the Texas Instruments (TI)’s LaunchPads
development platform supports driving most of Pervasive Displays Inc. (PDI)’s EPD panels
lineup. It has 20 to 40 pins socket at the rear side to stack on TI’s LaunchPad board. It also
provides a 20 pins header to bridge with your project/product or other development kit.
The project of EXT2 is open source code provides driving waveform and command interface
to update content on EPD panel for developer to start working with EPD application easily.
EPD Extension Kit Gen2 (EXT2)
3
[User’s Guide] Rev.05
1.2
EXT2 kit introduction
1.2.1 EXT2 kit contents
Model name of EXT2 Kit: B3000MS034(24 pin connector supported)
The EXT2 kit contents of one EXT2 board, one 90 degrees 20 pins header and one bridging
cable.
EPD Extension Board Gen2 (EXT2 board)
90 degrees 20 pins header
Bridging cable
1.2.2 EPD Extension Board Gen2 (EXT2 board)
Figure 1-1
40 pins connector
for eTC driver displays
EPD Extension Board Gen2 (front view)
24 pins connector
for iTC driver displays
26 pins connector
for iTC driver displays
The EXT2 board supports driving most of the PDI’s EPD panels with the 40 and 24/26 pins
FPC connector. The EXT2 board has embedded EPD driving circuit which are soldered at the
backside.
eTC and iTC will be explained later.
EPD Extension Kit Gen2 (EXT2)
4
[User’s Guide] Rev.05
Figure 1-2
EPD Extension Board Gen2 (rear view)
20 pins connector
for stacking on TI LaunchPads
There are two 20 pins connectors at the backside of EXT2 board is able to stack on TI
LaunchPads.
EPD Extension Kit Gen2 (EXT2)
5
[User’s Guide] Rev.05
1.3
EPD Displays
Figure 1-3
Structure layer of EPD
Protective Sheet
Driver IC(COG)
E-Ink Film (FPL)
TFT Backplane
1.3.1 FPL (E ink Imaging film):
Made by E-ink which is embedded in PDI’s EPD panels. The EXT2 board supports driving the
following films:
-
Aurora Ma: also call V230. The display color is black and white. It supports
operating at wide temperature from -20°C to +50°C. It has to load special driving
waveform to get the display works. This film type display is suggested for lower
temperature operation is the major criteria only.
-
Aurora Mb: also call V231. The display color is black and white. Most of the cases,
The Aurora Mb film type display provides the best performance, faster update
speed and lower power consumption. It supports operating at room temperature
from 0°C to +50°C.
-
Spectra: also call E4. The display color is red, black and white, three colors. The
EXT2 board will support this film type driving soon. It supports operating at room
temperature from +0°C to +40°C
1.3.2 COG (Chip on Glass):
also call Tcon (TC, Timing controller) or Driver IC which is mounted on TFT glass of EPD display.
-
eTC: external Tcon, the driving waveform and flow are controlled by the host MCU
(microcontroller). Developer needs to manage most of the driving stages, frame
time and data flow by the MCU of host control board.
The eTC includes PDI’s G1, G1b and G2 COG (where G1/G1b are EOL (end of life)).
The pin number of FPC (flexible printed circuit) of eTC is 40 pins.
-
iTC: internal Tcon, the driving waveform and settings are managed by Lookup Table
(LUT). The LUT is serial hex array includes the waveform parameters. User will need
to send defined LUT and image data to COG. The COG will extract the waveform
settings from the LUT to update display by following image data.
The pin number of FPC of iTC is 24 or 26.
EPD Extension Kit Gen2 (EXT2)
6
[User’s Guide] Rev.05
1.3.3 Supported EPD Display Lineup for EXT2
Table 1-1
Size
Picture
Supported EPDs for EXT2
Resolution
Pixel
Density
Model No.
FPL
EK014BS011
Aurora Ma
E1144CS021
Aurora Mb
E2144CS021
Aurora Mb
E1190CS021
Aurora Mb
COG
(dpi)
1.44”
1.90”
2.00”
128 x 96
111
144 x 128
128 x 96
101.6
208 x 112
110
2.60”
232 x 128
101.6
2.71”
EPD Extension Kit Gen2 (EXT2)
eTC
E2190CS021
Aurora Mb
EG020BS011
Aurora Ma
E1200CS021
Aurora Mb
111
2.15”
264 x 176
7
eTC
eTC
E2200BS021
Aurora Mb
E2200CS021
Aurora Mb
E2215CS062
Aurora Mb
iTC
Aurora Mb
eTC
E1260CS021
(EOL)
EM027BS013
Aurora Ma
E1271CS021
Aurora Mb
117
eTC
E2271BS021
Aurora Mb
E2271CS021
Aurora Mb
[User’s Guide] Rev.05
E2287CS051
2.87”
4.2”
296 x 128
400 x 300
Aurora Mb
112
iTC
E2287ES051
Spectra
E2417CS051
Aurora Mb
120
iTC
E2417ES053
Spectra
There are more sizes with iTC COG will be added in the table above in the future, please keep
watching on our release of sample project code, PDi website or contact PDI for more information.
EPD Extension Kit Gen2 (EXT2)
8
[User’s Guide] Rev.05
1.4
TI LaunchPads
The Texas Instruments (TI)’s LaunchPad is excluded in the EXT2 kit, so user and developer
has to purchase the LaunchPad on TI official website or other online webshop.
The supported LaunchPads for EXT2 kit that are provided CCS (Code Composer Studio™)
project source code are
MSP: MSP-EXP432P401R, MSP-EXP430F5529LP
Connected: EK-TM4C123GXL
There are more LaunchPads will be supported in the CCS projects. Please kindly keep
watching on our updated project code in PDI website of EXT2 kit.
If you are first time with this EXT2 kit and will order TI LaunchPad to work with, we would
highly suggest choosing EK-TM4C123GXL for more functions that we will offer.
EPD Extension Kit Gen2 (EXT2)
9
[User’s Guide] Rev.05
2.
Getting Started
This section provides instructions to set up the EXT2 kit with TI LaunchPads and use the PDI
Apps to update image on EPD display.
There are four steps to prepare the kit:
(1) Assembling the EXT2 board with LaunchPad
(2) Programming firmware to LaunchPad
(3) Installing the PDI Apps
(4) Working with PDI Apps
2.1
Assembling the EXT2 board with LaunchPad
We will need to set the jumpers of LaunchPad in order to get the LaunchPad programmable.
2.1.1 Adjust the Jumpers of LaunchPad
MSP-EXP430F5529LP LaunchPad
-
eZ-FET Jumper:
-
JP8 Jumper:
EPD Extension Kit Gen2 (EXT2)
10
[User’s Guide] Rev.05
MSP-EXP432P401R LaunchPad(Black PCB version)
EK-TM4C123GXL LaunchPad
-
PWR Selecting switch to DEBUG side
EPD Extension Kit Gen2 (EXT2)
11
[User’s Guide] Rev.05
2.1.2 Getting started with EXT2 kit
Please check with the backside of EXT2 board. You will find a table for adjusting the J7 of 8
positions of DIP switch.
Table 2-1
Configuration of the DIP switch
S1
S2
S3
S4
S5
S6
S7
S8
0
0
0
0
0
0
1
-
0
0
0
0
0
0
0
-
(iTC) 2.15
1
0
1
0
0
0
0
-
(iTC) 2.87 4.2
0
1
0
1
0
1
0
-
(eTC) 1.44 2.0
(eTC) 1.9
2.6
2.71
When connecting with any EPD, please always check with this table and switch each shift
register from S1 to S8 accordingly. The 0 means Off and set the shift register at the bottom.
The 1 means On and set the shift register to the top. The dash means (don’t care) either 0 or
1 is fine.
2.1.3 Stack the EXT2 board on LaunchPad
After adjusting the jumpers of LaunchPad and EXT2, please stack the EXT2 board on
LaunchPad. There are two 20 pins socket at the rear of EXT2 board allows user to stack on
LaunchPad board. Please make sure the assembly direction of EXT2 board to align with
LaunchPad headers. Most of the cases, when facing to the LaunchPad, the USB port is at the
top side.
Figure 2-1
Stack EXT2 on LaunchPad
USB port
LaunchPad
EPD Extension Board Gen2(EXT2)
EPD Extension Kit Gen2 (EXT2)
12
[User’s Guide] Rev.05
2.1.4 Connect the EPD to the EXT2 board
Connecting with 40-pins eTC connector (J1)
Open the
connector
Slide the FPC into
connector
Close the
connector
Note the pin1 is at the top side.
Connecting with 24/26-pins iTC connector (J3/J2)
Open the
connector
Slide the FPC into
connector
Close the
connector
Note the pin1 is at the bottom side.
EPD Extension Kit Gen2 (EXT2)
13
[User’s Guide] Rev.05
2.2
Programming firmware to LaunchPad
Before you proceed to get started with EXT2 kit, you have to download the EXT2 project
source code from PDI website in advance.
Download link: EPD Extension Board Gen2 (EXT2)
You will be asked to fill out your basic contact information and then you will receive an email
to show the download link.
Please download and extract it (.RAR file format usually).
If you don’t have CCS or you don’t plan installing CCS to develop EPD
product and will just want to demo or test EPDs, please refer to section 2.2.1
Download firmware file to LaunchPad by UniFlash which is the next section.
If you have CCS installed and you will develop EPD product based on our
provided project source code, please go to section 2.2.2 “
Install CCS and setup driver library” to section 2.2.4 to program the project code in
CCS IDE.
EPD Extension Kit Gen2 (EXT2)
14
[User’s Guide] Rev.05
2.2.1 Download firmware file to LaunchPad by UniFlash
CCS UniFlash is a free of charge and standalone tool used to program on-chip flash memory
on TI MCUs and on-board flash memory. Uniflash has a GUI, command line, and scripting
interface.
Please download CCS UniFlash tool from this link and install it in your computer.
It’s better you can read the Quick Start Guide of UniFlash.
During installation, you will be asked to select Components.
Depends on what LaunchPad will you connect with, you will just need to select the
Microcontrollers. For example: MSP-EXP430F5529LP to select “MSP430 Ultra Low
Power”, MSP-EXP432P401R to select “MSP432 Ultra Low Power” and EK-TM4C123GXL
to select both of “Tiva/Stellaris Cortex-M”.
In next step, deselect the Debug Probes
Click Next until the CCS UniFlash is installed in your computer.
EPD Extension Kit Gen2 (EXT2)
15
[User’s Guide] Rev.05
Launch the CCS UniFlash tool, you will see the clean user interface below
We have setup Configurations for our supported LaunchPads for you to use directly.
Click on menu to select [File] / [Open Configuration] / [Browse] to select the
configuration file at the extracted folder from “EPD Extension Board Gen2 (EXT2)”
project code under [Output] / [UniFlash] folder. Please select the LaunchPad name
accordingly (EPD_Extension_Board_LaunchPadName.ccxml).
Hereafter, will use MSP-EXP432P401R as example:
Click OK button to complete this step. You will see the configuration be loaded
automatically in the CCS UniFlash tool.
In general, you don’t need to change all the setting. Just select the [Programs] from the
tree view menu.
Click the
button to select the .out file for programming. Switch the folder under
EPD Extension Kit Gen2 (EXT2)
16
[User’s Guide] Rev.05
[Output] of “EPD Extension Board Gen2 (EXT2)” project code and click Open button to
add the Program in the list. In this case, we select MSP-EXP432P401R.out.
Click the
button to start programming the firmware into LaunchPad. If there is
no error appears in the Console window and it reports “Programs operation
finished.” which means the programming work is loaded successfully.
You can now close the CCS UniFlash tool and go to Section 2.3 Installing the PDI Apps.
EPD Extension Kit Gen2 (EXT2)
17
[User’s Guide] Rev.05
2.2.2 Install CCS and setup driver library
The sections from this to 2.2.4 are for user will develop EPD and debug with our provided
project source code in CCS IDE.
Before proceeding to program project code into LaunchPad by CCS, you will need to
download the following software.
The latest version of TI Code Composer Studio™ (CCS) and install in your computer.
During the installation, please select MSP430 compiler and ARM compiler at least.
After installed the CCS, you have to install the driver library to work with your LaunchPad
that will develop with. Download and install the latest driver library at:
-
MSP-EXP430F5529LP LaunchPad: MSPWare
-
EK-TM4C123GXL LaunchPad: TivaWare™ software for C Series Software (Complete)
-
MSP-EXP432P401R LaunchPad: MSPWare
Try to connect with your LaunchPad on USB port and see if your Device Manager can
detect the COM ports (COM number may different) as follows. If not, please install the
USB driver of the LaunchPad accordingly.
There is an alternative way to install drivers. You can install CCS UniFlash that is
introduced in Section 2.2.1.
-
MSP-EXP430F5529LP LaunchPad:
the latest MSP430Drivers Windows-installer at this webpage.
If you cannot get the MSP-EXP430F5529LP COM port detected by Device
Manager, please refer to the user’s guide of MSP430F5529 at section 2.2.3 to 2.2.6.
-
EK-TM4C123GXL LaunchPad:
the latest Stellaris® ICDI Drivers for Windows at this webpage or this webpage.
If you cannot get the EK-TM4C123GXL COM port detected by Device Manager,
please refer to the user’s guide of TM4C123G at section 2.3 to 3.2.
-
MSP-EXP432P401R LaunchPad:
the latest XDS Emulation Software Package for Windows at this webpage.
If you cannot get the MSP-EXP432P401R COM port detected by Device
Manager, please refer to the user’s guide of MSP432P401R at section 2.3.1 to 2.3.3.
EPD Extension Kit Gen2 (EXT2)
18
[User’s Guide] Rev.05
2.2.3 Load project and program firmware by CCS
Open CCS and switch the workspace to the root folder of EXT2 project code. After loading
the project code in CCS IDE, you will find the Project Explorer like the screen capture below.
The newer project code will support more LaunchPads in the list.
Click on the Project name of your current LaunchPad. The project name will be added
[Active – (configuration)] at the end. For example:
Right click on the project name and find [Build Configurations] / [Set Active] from the
pop-up submenu. You will see the configuration list. The format is:
DriverType_(DriverID if eTC)_Size_FPL_Description
Where:
- DriverType = iTC, eTC
- DriverID = G1, G2
- Size = 144, 190, 200, 215, 260, 271, 287, 420 and more, or “Size” for same group
- FPL = Aurora_Ma, Aurora_Mb, Spectra
- Description = detail description of the configuration
There is a configuration “PDI APPs” at the top for working with the PDi Apps utility
that supports all models.
If you don’t know how to recognize the size, FPL and driver type, please refer to
this webpage and check the rear label of display.
Please make sure you have selected the correct configuration before programming to
LaunchPad and the project name follows correct [Active – configuration] you have
selected.
Click on the [Debug] button of tool bar or right click on the project to select [Debug As]
/ [1 Code Composer Debug Session].
EPD Extension Kit Gen2 (EXT2)
19
[User’s Guide] Rev.05
A progress information window will pop up and start to download firmware code to the
microcontroller of LaunchPad board. Once the download process is done successfully
with errors, the LaunchPad board is now built and tested of the firmware code. You can
start debugging the code.
Click the
Terminate button go back to CCS Edit.
If you didn’t select the configuration of “PDI APPs”, you will see the display be updated
between two images alternately. For more details of selecting the configuration to Single
mode, please refer to the conf_EPD.h file in section 4.2 at page 39.
If your CCS is free license, the code size is 16KB only for MSP430 family. Due to this
limitation, if you are using MSP430F5529 LaunchPad, you will get the out of memory error
when compiling with “PDi Apps” configuration. You may need to
(1) order license of CCS,
(2) program the .out file by UniFlash,
(3) select single drive configuration without working with PDi Apps below.
EPD Extension Kit Gen2 (EXT2)
20
[User’s Guide] Rev.05
2.2.4 Set driverlib path of MSP-EXP432P401R and EK-TM4C123GXL
If you got errors with MSP-EXP432P401R or EK-TM4C123GXL when compiling, it should be
caused by the wrong MSPWare/TivaWare library path settings.
Build Variables
Please right click on project and select [Properties] and find [Build] from the tree view.
Select [Variables] tab to set the variables name of library path in your computer.
Please make sure the value would be:
LaunchPad
Variable name
Type
MSP-EXP432P401R
MSPWAREDLIB_ROOT Directory
C:\ti\msp\MSPWare_#_##_##_##\driverl
ib\driverlib\MSP432P4xx
EK-TM4C123GXL
TIVAWAREDLIB_ROOT
C:\ti\TivaWare_C_Series-#.#.#.###
String
Value (same
Resources)
as
value
in
Linked
Where the # are the version number you have installed in your computer at section
2.2.2. Please click the [Edit] button to ensure you can find the directory and have set
the correct directory.
As before 2016/Oct/1, the version of TivaWare_C_Series is v2.1.3.156, MSP430 is
v3.50.00.02 and MSP432 is v3.50.00.04 for your reference. The project code of EXT2 will
be updated to compile with the libraries.
EPD Extension Kit Gen2 (EXT2)
21
[User’s Guide] Rev.05
2.3
Installing the PDI Apps
Download the PDI Apps from EPD Extension Board Gen2 (EXT2) webpage. You will
be asked to fill out your basic contact information and then you will receive an email to
show the download link.
Please note the installer is for Microsoft Windows OS only and Windows 7 above.
The installer name is “PDI_Apps_v#.##_Setup.exe” where the # is number for tool version.
Double clicks the installer to start the installation.
Follow the instructions on the screen to install the utility. After installed, you will find
there is a shortcut “PDI_Apps” placed on your desktop.
Per the LaunchPad you will connect with EXT2, there is USB driver needs to be installed.
Please refer to Section 2.2.2 to make sure you get the COM ports can be detected in
Device Manager in advance.
EPD Extension Kit Gen2 (EXT2)
22
[User’s Guide] Rev.05
2.4
Working with PDI Apps
Double click on the PDI_Apps icon on your desktop. The initial screen will similar to the
picture below.
There are three main functions built in this Apps: Global Update, Fast Update and Bitmap
converter.
EPD Extension Kit Gen2 (EXT2)
23
[User’s Guide] Rev.05
2.4.1 Global Update
This function will send our standard driving waveform to EPD and perform a complete global
(full) update cycle including power on and power off the EPD. Global Update provides the
best optical performance and will perform three or four update stages.
COM Port:
If you’ve programmed the firmware well, the COM port will be auto detected and the
message area will show COM port is connected to your EXT2 board with firmware
version information. If there is no COM port detected, please click the
detect again and select the correct COM port from the dropdown list.
button to
Panel Selection:
Here will list the supported sizes and types of EPD by the programmed firmware. Please
select the size first and the second dropdown will list the supported
DriverType__Size_FPL accordingly. If you don’t know how to recognize the size, FPL and
driver type, please refer to this webpage and check the rear label of display.
The
means One-Time Programmable (OTP) function which is the driving
waveform preprogrammed in driver IC of EPD in factory to provide the best tuned
performance.
When you are connecting with iTC EPD with EXT2, this OTP option should be always
selected.
The OTP option can be selected when the Panel Type is iTC related only.
For further support of custom LUT (Lookup Table) not by OTP, please contact us
for more information.
Search for Model Name:
If it’s still hard for you to select the correct EPD size and type at the previous step, you
can use barcode scanner to scan the barcode or type the serial number on the rear label
of the display, then click the
button to help you select the correct EPD type.
Operating Temperature:
The EPD needs temperature information to compensate the total update time. If you’ve
checked with the
, the following update will get the temperature
EPD Extension Kit Gen2 (EXT2)
24
[User’s Guide] Rev.05
value from the onboard thermal sensor. If you uncheck with the auto sensing, you can
specify the temperature in the textbox to evaluate the update time accordingly. This
option is used for real ambient temperature. If you define the custom temperature at
different ambient temperature environment, you may get abnormal phenomenon on
the display.
Image Folder:
After installed the PDI Apps, we provide some demo patterns in your user folder at
[C:\Users\...\Documents\PDI Apps\images]. Click on
button to select the size folder
of EPD and then the thumbnails will be listed in the area below. You can also select any
dimension of picture and this tool will convert it to panel size (ex.2”) as bitmap file format
for update.
Double click on the image you like to update on EPD, the image will show on the preview
area.
Download image to EPD:
Click on this button to update the selected image to the EPD. You will get the
information in the Message area including temperature and total update time.
EPD Extension Kit Gen2 (EXT2)
25
[User’s Guide] Rev.05
2.4.2 Fast Update
This page provides full image to run fast update. It’s a kind of partial update (local update)
that just the pixel color is different between two images will be updated (black to white or
white to black). It’s sent the full images continuously and compare with the previous image
and new image pixel by pixel.
Image List:
-
Click on the
button to select the image for update. You can hold down the
key to select multiple images and then these images will be generated in
Image List together. Once selected, a new object will be created for next image.
Click on
to delete the image.
Right click and hold on the image to drag & drop to your preferred place to change
the order.
-
Selected with the
if this image will run global update. This is used in the
scene when there is a change of style or for removing the ghosting phenomenon
after several updates. We recommend enabling this GU option after around 10
updates. The 1st image is fixed to run global update which cannot be changed.
-
The
interval is used for delay time or update time.
When
is checked, the value in this textbox is defined for how many
milliseconds of delay time to run next image.
When
is unchecked, the value in this textbox is defined for the eTC displays
that how many milliseconds of duration to run the partial image. Checked or
unchecked this is always for delay time with iTC displays. The lower the value, the
more obvious ghosting image. We recommend keeping it 400ms above.
Refer to the example below how to arrange a demonstration. You will find we’ve selected
with the GU option at the 4th image and set a white image for different sense.
Some 2.71” demo images for fast update can be found under [My Documents\PDI
Apps\images\2.71 PU] folder.
EPD Extension Kit Gen2 (EXT2)
26
[User’s Guide] Rev.05
Upload and Run the Patterns above:
-
The size of your selected images in the Image List has to match the Panel Size in
this area. Please select the correct type in the second dropdown list.
-
Selected with
to list the EPD type has supported Partial Update in
the dropdown.
If your selected EPD type hasn’t supported the partial update, the connected EPD
will show the images with selected GU
for global updates only.
-
The
is the same function as in previous tab to update iTC EPD by
preprogrammed waveform in driver IC.
-
Before you click Run button to test the arrangement, you have to upload all the
images in the list to the onboard Flash memory of EXT2 board. Please click the
button to start uploading the images and you will see the
progress at the bottom.
-
Once completed the uploading work, click
button to see the
demonstration. Every time you have changed the order, images or setting, you have
to upload them again and then click Run.
Other Functions:
-
Set all to GU: select or deselect all
-
Set all intervals to mini-seconds: set all the intervals to same defined mini-seconds
in the image list.
-
Clean ImageList: to clear all the images and settings in the list above.
-
Save ImageList: if you would like to save the images and settings that you just
created for future use, click this button to save it (as *.pdst file).
-
Load ImageList: to restore your saved image list and settings.
-
Start AutoRun by Interval: after clicking this button, the images will run
continuously. You can close the PDI Apps now and supply the power to LaunchPad
to get the kit auto running alone with connecting with computer and PDi Apps.
-
Start AutoRun by Button: after clicking this button, the image update can be
controlled by the on board buttons of LaunchPad. The left button is for showing
the previous image and the right button is for displaying the next image. It’s also
able to run this demo alone without PDi Apps and computer if you supply power
to LaunchPad for demonstration.
-
Stop AutoRun: to stop the auto run and disable this function.
-
Download from Flash: when you want to know what images and settings had
uploaded in the onboard Flash memory, this function can get back them to the list.
-
Erase Flash: to erase all the data in the onboard Flash memory.
EPD Extension Kit Gen2 (EXT2)
27
options in the image list
[User’s Guide] Rev.05
2.4.3 Bitmap Converter
This page is used for converting any image format to 1-bit bitmap file as image array by the
resolution of selected EPD size. The output image can be saved as file to be used for our
EPDs. It supports monochrome (black & white) mode and color (black, white and red) mode.
Input Image:
The input image supports .bmp, .jpeg, .jpg and .png image file. You will get the pixel
numbers of the width and height.
Image Converting Type:
-
General:
to list the supported EPD type that you
would like to convert from Input Image to the resolution of our standard EPDs as
image array file.
-
Custom:
The output resolution can be custom defined. This function will convert the Input
Image to such resolution.
There are Monochrome mode and Color mode options to generate black/white
and black/white/red image arrays.
You can also select the direction of rotation to turn the input image.
-
Convert:
Click this button to generate the raw data at the bottom area and the output image
EPD Extension Kit Gen2 (EXT2)
28
[User’s Guide] Rev.05
at the right area.
-
Save as file:
Click this button to save the raw data as image array for you to use in code for
driving our EPDs.
EPD Extension Kit Gen2 (EXT2)
29
[User’s Guide] Rev.05
3.
Hardware Instructions of EXT2 Kit
From section 3 to 4, these sections are focused on more details of EXT2 hardware and
software for developers to better understand how to work with EXT2 kit and further develop
own products.
3.1
Introduction of EXT2 board
EXT2 is the next generation of PDi’s EPD Extension kit. The EXT2 board supports driving most
of the PDI’s EPD panels with different driver IC and FPC. The EXT2 board has embedded EPD
driving circuit which are soldered at the backside. It also features 8M bits flash memory (U3),
DIP switch (J7) and temperature sensor (U1) onboard.
Figure 3-1
40 pins connector (J1)
for eTC driver displays
Figure 3-2
EPD Extension Board Gen2 (front view)
24 pins connector (J3)
for iTC driver displays
26 pins connector (J2)
for iTC driver displays
EPD Extension Board Gen2 (rear view)
20 pins connector * 2 (J4, J6)
for stacking on TI LaunchPads
8 position DIP switch (J7)
Temperature sensor(U1)
Touch panel connector(J13)
Flash memory (U3)
Front Light Guide connector (J10)
Connecting to other development kit by 20 pins header (J5)
There are two 20 pins connectors (J4 and J6) at the backside of EXT2 board is able to stack
on TI LaunchPads. There is also 20 holes (J5) at the bottom of board for user to solder the 90
degrees 20 pins header connects with the bridging cable to any of your product or
development kit working with this EXT2 board.
For further request to extend the applications, this EXT2 board has built in touch panel
connector (J13) is able to control by MCU via the I2C interface. We also provide the front light
guide connector (J10) to supply power if you have EPD that integrates with such function.
EPD Extension Kit Gen2 (EXT2)
30
[User’s Guide] Rev.05
3.1.1 Headers and Connectors
eTC EPD connector (J1)
This is a 40-pins 0.5mm pitch of ZIF type FPC connector to connect with PDi’s EPD that
is embedded G2 COG.
For more details of the 40 pin assignment, please refer to the product specification of
each size of EPD can be downloaded from PDi website.
iTC EPD connector (J2, J3)
This is a J2 26-pins 0.5mm pitch of ZIF type FPC connector to connect with PDi’s EPD
that is embedded iTC driver. The connector supports dual contact. The width of the FPC
is 34-pins with 8 dummy pins.
The J3 is a 24-pins FPC connector which is removed the pin#1 and pin#26 of J2
connector. It’s pin-to-pin (from #1 to #24) to the #2 to #25 of 26-pins connector.
For more details of the 26 pin assignment, please refer to the EPD product specification
on PDi website.
LaunchPad stacking connector (J4 & J6)
There are two 20-pins connectors at the backside of EXT2 board to stack on TI LaunchPad
directly. We use the outer side pins only. The pin assignment is listed on the rear side of
PCB.
8 position DIP switch (J7)
This DIP switch is used for differentiating driver type (iTC, eTC) and different components.
If you didn’t configure this switch correctly before updating the EPD, the image shows
on EPD may has abnormal phenomenon like broken image, different color, wrong pixel
data or ghosting.
For more details of the configuration, please refer to Table 2-1 Configuration of the DIP
switch.
EPD Extension Kit Gen2 (EXT2)
31
[User’s Guide] Rev.05
3.2
How to bridge EXT2 with other development kit
If you will use our EXT2 board to bridge with your product or other development kit, there is
Bridging header (J5) which is pin-to-pin to J4 and J6. The pin assignment is listed on the front
side of PCB. Please use the 90 degree 20-pins header to solder on the backside of PCB like
the picture below.
We highly recommend cutting the protruding portion of the pin header in order to avoid
breaking the EPD.
After soldering the header on the EXT2 board, you are able to connect the bridging cable
with the pin headers of other development kit or your product.
Please note there is a white dot on the connector of bridging cable indicates the pin 1.
EPD Extension Kit Gen2 (EXT2)
32
[User’s Guide] Rev.05
The pin assignment is listed below.
Table 3-1
Jumper
J4, J5
J5, J6
Pin No.
Pin assignment of EXT2 header
Name
Description
1
VCC
Target supply voltage
2
GUARD2
TFT Breakage detection (option)
3
VPP
Power Supply for OTP Programming
4
UART-TX
LaunchPad default pin
5
TS_SDA_MCU
I2C data for external temperature sensor (GPIO)
6
TS_SCL_MCU
I2C clock for external temperature sensor (GPIO)
7
SPI_CLK
Clock for SPI
8
BUSY
COG busy pin (GPIO)
9
D/C
Data/Command control for iTC (GPIO)
10
/RESET
Reset signal. Low enable (GPIO)
11
PANEL_ON
COG driver power control pin (GPIO)
12
DISCHARGE
EPD discharge when EPD power off (GPIO)
13
BORDER_CONTROL
(GUARD1)
Border control pin for eTC (GPIO)
Breakage detection (option)
14
SPI_MISO
Serial output from EPD to host MCU
15
SPI_MOSI
Serial input from host MCU to EPD
16
RST/SBWTDIO
LaunchPad default pin
17
TEST/SBWTCK
LaunchPad default pin
18
/FLASH_CS
On board flash chip select (GPIO)
19
/EPD_CS
Chip Select. Low enable (GPIO)
20
GND
Ground
EPD Extension Kit Gen2 (EXT2)
33
[User’s Guide] Rev.05
3.3
Integration with front light guide
Light guide connector (J8, J9, J10).
There are V-cut lines arranged on the EXT2 board. If you will connect the EPD with front light
guide to EXT2 board, you have to cut off the small PCBs and wiring by yourself.
TP PCB
LGP PCB
We define the upper PCB is touch panel PCB (TP PCB) and the lower one is light guide plate
PCB (LGP PCB).
The defined pin-out of LGP PCB is listed below.
Pin No.
1
2
3
4
Description
LED-1
LED-2
LED-3
GND
It depends on how far of the FPC connector of the light guide on EPD to the LGP PCB. The
LED-1 to 3 are supplied by 3V. Please jumper wiring the pins to EXT2 onboard like the drawing
below.
To your LGP FPC
EPD Extension Kit Gen2 (EXT2)
34
[User’s Guide] Rev.05
3.4
Integration with touch panel
Touch panel connector (J11, J12, J13)
If you will connect the EPD with touch panel to EXT2 board, you have to cut off the small
PCBs and wiring by yourself. The defined pin-out of touch panel is listed below.
Pin No.
1
2
3
4
5
6
Description
GND
I2C-INT
/RSTN
VDD-3.3V
I2C-SCL
I2C-SDA
It depends on how far of the FPC connector of the touch panel on EPD to the TP PCB. Please
jumper wiring the pins to EXT2 onboard like the drawing below.
To your TP FPC
EPD Extension Kit Gen2 (EXT2)
35
[User’s Guide] Rev.05
4.
Working with TI CCS Project Code
As you can find there are many configurations in the projects which are PDi Apps and some
Single drivers. The Single driver means it’s not working with PDi Apps and will toggle
between two images right away after debugging the project. It helps you to simply test the
basic global update function with your connected EPD. It’s also the driving waveform that
you will migrate to your product using the chosen EPD.
The descriptions in this section will focus on the single driver.
The project model in the CCS project consists of the main project “EPD_drivers” and some
supported LaunchPad_name projects.
4.1
EPD_drivers Project
All of the driving waveform source code of supported EPDs with different FPL and driver are
placed in this project including the API (application interface).
FPL_drivers folder:
You can find all the driving code under this folder for your chosen EPD. If you cannot find
the model in this folder, please contact us to request the driving source code.
The more advanced version of the project, the more driving code of EPDs will be
supported under this folder. You will find the file format is like the configuration that we
describe before:
DriverType_(DriverID if eTC)_Size_FPL
The captured picture below is for example. Your project code may be listed less or more
than the example.
EPD Extension Kit Gen2 (EXT2)
36
[User’s Guide] Rev.05
-
EPD_drivers.h:
This file defines the main structures of EPD and COG type, the enumerations and
the constants.
-
DriverType_Size_FPL.*:
The most of driving source code for each supported EPD including the power on,
initialization, update and power off stages. This is the waveform code you will
migrate into your project for driving your chosen EPD.
Please note the LUT for iTC EPDs are compiled in the library (.lib file) with each
Launchpad. The code in the iTC_*.c file is for sending update command by OTP.
-
iTC_Engine.*:
This file is used for iTC EPDs. In each of iTC_Size_FPL.c file, the code will always call
functions from this iTC_Engine.c to extract the arrays (LUT) to get the corresponding
data and set to each of predefined constant for later use.
COG_Drivers_List.h file:
This file defines the driver list and functions that will be supported in each of LaunchPad
project.
EPD_interface.* file:
The main function interfaces for each project to call with.
Extern_Board_HW_Driver.h file:
If you want to compile the “EPD_drivers” project as library, you need this file to compile
with together.
EPD Extension Kit Gen2 (EXT2)
37
[User’s Guide] Rev.05
4.2
LaunchPad Name Project
In MSP-Exp430F5529LP project, we have copied the driver files in [driverlib] folder. If there is
new update from F5529 LaunchPad, you can copy the driver files into this folder.
In MSP-Exp432P401R and EK-TM4C123GXL projects, we have linked the drivers with your
local installed MSPWare and TivaWare folder. (Refer to section 2.2.4)
The folder structure in [src] folder of each LaunchPad project is same. The included or
excluded files depends on which configuration you’ve set.
HW_drivers folder:
Under this folder, you will find the most important driver files to work with the LaunchPad.
If you will bridge the EXT2 to other development kit or your product, these files are the
keys to modify with.
-
Board_HW_Driver: defining and configuring all the GPIO pins including SPI and
timer.
-
EPD_Temperature_IIC: set and get the temperature from the onboard S5851AAA
sensor via I2C interface.
-
Flash_Mem_Map: get the block and address from the onboard serial Flash memory
EPD Extension Kit Gen2 (EXT2)
38
[User’s Guide] Rev.05
MX25V8005.
-
Mem_Flash: access with the onboard serial Flash memory MX25V8005.
-
Ringbuf: set the ring buffer (FIFO) for transmission and reception.
-
UART_Driver: configure and control with the UART interface.
PDI_apps_drivers folder:
The functions and modules to work with the PDi Apps utility. To understand the
functionalities, you have to get the source project code of PDi Apps and understand the
operating commands and data flow between PDi Apps and these files under this folder.
The source codes are linked from the physical project folder under root/PDI_apps_drivers.
PDI_displays_drivers folder:
The files under this folder are linked from EPD_drivers project to get synchronization for
the EPD driving.
Conf_EPD.h file:
This file is used for single driver mode only (it doesn’t work with PDi Apps mode).
-
Once you set the Active configuration from project in CCS to “eTC_G2_*” like the
capture below, you will need to configure this file when in single driver mode.
-
You can skip the definition if you set the other “iTC_*” configuration in single driver
mode.
-
Check the EPD size of your connected eTC display, find the non-gray area and the
“#define USE_EPD_SIZE s_EPD_200” line, change the s_EPD_200 to size you are
connected.
Options are sEPD_144 for 1.44”, sEPD_190 for 1.9”, sEPD_200 for 2.0”, sEPD_260 for
2.6” and sEPD_271 for 2.71” (2.7”).
Main_single_driver.c file:
The main file for selecting single driver mode.
Main_PDI_APPs.c file:
The main file for selecting PDi Apps mode.
EPD Extension Kit Gen2 (EXT2)
39
[User’s Guide] Rev.05
5.
Document revision history
Rev.
Date
01
31 Mar, 2016
-
02
17 Jun, 2016
03
5 Aug, 2016
-
04
7 Oct, 2016
-
05
10 Jul, 2017
-
EPD Extension Kit Gen2 (EXT2)
Comment
First release
Supported driving eTC: 1.44”, 1.9”, 2.0”, 2.6” and 2.71”. iTC: 2.15”
Added supporting 4.2” iTC
The PDi Apps supports 2.15” iTC and 4.2” iTC for partial update.
The “TIVAWAREDLIB_ROOT” of Build Variables of EK-TM4C123GXL
is revised to String type at page 20.
Added supporting 2.87” iTC
The PDi Apps supports 2.87” iTC for partial update.
List the up-to-date library version for each LaunchPads since the
project code released.
Added the description of code size limitation of MSP430 at page 20.
Added supporting 2.87” Spectra and 4.2” Spectra displays.
Added changing image by clicking the on-board buttons of
LaunchPad in the [Fast Update] of PDi Apps.
Change the description for the checkbox of GU in the fast update.
Changed Model name of EXT2 Kit to B3000MS034(24 pin connector
supported)
Changed EXT2 Kit picture and instruction
Added EC-type EPD on Supported EPD Display Lineup
40
[User’s Guide] Rev.05
6.
Evaluation board/kit important notice
This evaluation board/kit is intended for use for FURTHER ENGINEERING, DEVELOPMENT,
DEMONSTRATION, OR EVALUATION PURPOSES ONLY. It is not a finished product and may
not (yet) comply with some or any technical or legal requirements that are applicable to
finished products, including, without limitation, directives regarding electromagnetic
compatibility, recycling (WEEE), FCC, CE or UL (except as may be otherwise noted on the
board/kit). Pervasive Displays (PDi) supplied this board/kit "AS IS," without any warranties, with
all faults, at the buyer's and further users' sole risk. The user assumes all responsibility and
liability for proper and safe handling of the goods. Further, the user indemnifies PDi from all
claims arising from the handling or use of the goods. Due to the open construction of the
product, it is the user's responsibility to take any and all appropriate precautions with regard
to electrostatic discharge and any other technical or legal concerns.
EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER USER NOR PDI
SHALL BE LIABLE TO EACH OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES.
No license is granted under any patent right or other intellectual property right of PDi covering
or relating to any machine, process, or combination in which such PDi products or services
might be or are used.
EPD Extension Kit Gen2 (EXT2)
41
[User’s Guide] Rev.05
Pervasive Displays Inc.
4F, No. 28, Chuangye Rd.,Tainan Science Park, Tainan City (74144) Taiwan (R.O.C.)
T: (+886)(6) 2795399
Disclaimer: The information in this document is provided in connection with Pervasive Displays (PDi) products. No license, express or implied, by estoppel or
otherwise, to any intellectual property right is granted by this document or in connection with the sale of PDi products. EXCEPT AS SET FORTH IN THE PDi
TERMS AND CONDITIONS OF SALES LOCATED ON THE PDI WEBSITE, PDI ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR
STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL PDI BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR
INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION)
ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF PDI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. PDi makes no
representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to
specifications and products descriptions at any time without notice. PDi does not make any commitment to update the information contained herein. Unless
specifically provided otherwise, PDi products are not suitable for, and shall not be used in, automotive applications. PDi products are not intended, authorized,
or warranted for use as components in applications intended to support or sustain life.
EPD Extension Kit Gen2 (EXT2)
42
[User’s Guide] Rev.05