Pervasive Displays EPD Extension Kit Gen2 User manual

User’s Guide
Doc Rev. 01 (Nov 2017)
EPD Extension Kit Gen2
with Cypress PSoC4
Preface
EPD* Extension Kit Generation 2 (EXT2) is a new generation of
extension board that can connect Cypress Psoc4 BLE
development platform to drive most of all 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

EPD EXT2 with Cypress PSoC 4 BLE module 2 [User’s Guide] Rev.01
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).................................................................................................. 5
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 Cypress PSoC 4 Bluetooth® Low Energy (BLE) 4.1 Compliant Pioneer Kit.................................. 8
2. Getting Started................................................................................................................................................................... 9
2.1 Assembling the EXT2 board with Cypress PSoC 4 BLE kit.................................................................. 9
2.1.1 Adjust the Jumpers of Cypress PSoC 4 BLE kit ....................................................................................... 9
2.1.2 Stack CY8C4248LQI-BL583 onto Cypress PSoC 4 BLE kit by BLE module headers (J10/J11)
10
2.1.3 Getting started with EXT2 kit.......................................................................................................................10
2.1.4 How to bridge EXT2 with other development kit................................................................................11
2.1.5 Bridge EXT2 board and Cypress PSoC 4 BLE kit...................................................................................12
2.1.6 Connect the EPD to the EXT2 board.........................................................................................................14
2.2 Programming firmware to Cypress PSoC 4 BLE kit .............................................................................15
2.2.1 Download Software PSoC Creator.............................................................................................................15
3. Working with Cypress PSoC Creator Project Code ............................................................................................17
3.1 EPD_drivers Project..........................................................................................................................................17
3.2 Change the different size EPD and image..............................................................................................19
4. Document revision history ..........................................................................................................................................20
5. Evaluation board/kit important notice ...................................................................................................................21

EPD EXT2 with Cypress PSoC 4 BLE module 3 [User’s Guide] Rev.01
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 Cypress PSoC Creator 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 section are more details of developing EPDs with EXT2 kit
and provided project code.
The EXT2 is a new EPD Extension board supports driving all of Pervasive Displays Inc. (PDI)’s
EPD panels lineup. It has 20 flying leads can 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 EXT2 with Cypress PSoC 4 BLE module 4 [User’s Guide] Rev.01
1.2 EXT2 kit introduction
1.2.1 EXT2 kit contents
Model name of EXT2 Kit: B3000MS034(24 pin connector supported)/B3000MS035(34 pin FFC
supported)
The EXT2 kit includes,
-B3000MS034: one EXT2 board, one 90 degrees 20 pins header and one bridging cable.
-B3000MS035: one EXT2 board, one 90 degrees 20 pins header, one bridging cable, one
34 pin FFC and one 9.7”/12” connection board.
EPD Extension Board Gen2 (EXT2 board)
90 degrees 20 pins header
Bridging cable
34 pins FFC(9.7”/12”) for B3000MS035
only
Connection board(9.7”/12”) for B3000MS035
only

EPD EXT2 with Cypress PSoC 4 BLE module 5 [User’s Guide] Rev.01
1.2.2 EPD Extension Board Gen2 (EXT2 board)
Figure 1-1 EPD Extension Board Gen2 (front view)
The EXT2 board supports driving most of the PDI’s EPD panels with the 40 and 24/34 pins
FPC connector. The EXT2 board has embedded EPD driving circuit which are soldered at the
backside.
eTC and iTC will be explained later.
Figure 1-2 EPD Extension Board Gen2 (rear view)
There are two 20 pins connectors at the backside of EXT2 board is able to stack on TI
LaunchPads.
40 pins connector
for eTC driver displays
34 pins connector
for iTC driver displays
20 pins connector
for stacking on TI LaunchPads
24 pins connector
for iTC driver displays

EPD EXT2 with Cypress PSoC 4 BLE module 6 [User’s Guide] Rev.01
1.3 EPD Displays
Figure 1-3 Structure layer of EPD
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. It
supports operating at room temperature from +0°C to +40°C
-Spectra Yellow: The display color is yellow, black and white, three colors. It
supports operating at room temperature from +10°C to +40°C
-Aurora -25: also call V430. The display color is black and white. It supports
operating at a freezer temperature from -25°C to +10°C. This film type display is
suggested for lower temperature operation is the major criteria only.
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.
Driver IC(COG)
Protective Sheet
E-Ink Film (FPL)
TFT Backplane

EPD EXT2 with Cypress PSoC 4 BLE module 7 [User’s Guide] Rev.01
-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 34.
1.3.3 Supported EPD Display Lineup for EXT2
Table 1-1 Supported EPDs for EXT2
Size
Picture
Resolution
Pixel
Density
(dpi)
Model No.
FPL
COG
1.44”
128 x 96
111
E2144CS021
Aurora Mb
eTC
1.90”
144 x 128
101.6
E2190CS021
Aurora Mb
eTC
2.00”
128 x 96
111
E2200BS021
Aurora Ma
eTC
E2200CS021
Aurora Mb
2.6”
232 x 128
101.6
E2260CS021
Aurora Mb
eTC
2.71”
264 x 176
117
E2271CS021
Aurora Mb
eTC
Please keep watching on our release of sample project code, PDi website or contact PDI for more
information, https://www.pervasivedisplays.com/

EPD EXT2 with Cypress PSoC 4 BLE module 8 [User’s Guide] Rev.01
1.4 Cypress PSoC 4 Bluetooth® Low Energy (BLE) 4.1 Compliant Pioneer Kit
The Cypress PSoC 4 Bluetooth® Low Energy (BLE) 4.1 Compliant Pioneer Kit is excluded in
the EXT2 kit, so user and developer has to purchase the PSoC 4 BLE kit on Cypress official
website or other online webshop.
The BLE Pioneer Kit supports system-level designs by using PSoC Creator
For the latest information about this kit and to download kit software and hardware files,
visit www.cypress.com/CY8CKIT-042-BLE

EPD EXT2 with Cypress PSoC 4 BLE module 9 [User’s Guide] Rev.01
2. Getting Started
This section provides instructions to set up the EXT2 kit with Cypress PSoC 4 BLE kit and use
the PSoC Creator to update image on EPD display.
There are two steps to prepare the kit:
(1) Assembling the EXT2 board with Cypress PSoC 4 BLE kit
(2) Programming firmware to PSoC 4 BLE kit
2.1 Assembling the EXT2 board with Cypress PSoC 4 BLE kit
We will need to set the jumpers of Cypress PSoC 4 BLE kit in order to get works at a proper
system voltage and programmable.
2.1.1 Adjust the Jumpers of Cypress PSoC 4 BLE kit
Cypress PSoC 4 BLE kit
-System power supply jumper(J16):
-BLE power supply jumper/current measurement(J15)

EPD EXT2 with Cypress PSoC 4 BLE module 10 [User’s Guide] Rev.01
2.1.2 Stack CY8C4248LQI-BL583 onto Cypress PSoC 4 BLE kit by BLE module headers
(J10/J11)
2.1.3 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
(eTC) 1.44 2.0
0
0
0
0
0
0
1
-
(eTC) 1.9 2.6 2.71
0
0
0
0
0
0
0
-
(iTC) 1.54 2.13 2.66
2.71 2.87 3. 7
4.2 4. 37 7. 4
5 89. 7
12.2
0
1
0
1
0
1
0
-
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.

EPD EXT2 with Cypress PSoC 4 BLE module 11 [User’s Guide] Rev.01
2.1.4 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 EXT2 with Cypress PSoC 4 BLE module 12 [User’s Guide] Rev.01
The pin assignment is listed below.
Table 2-2 Pin assignment of EXT2 header
Jumper
Pin No.
Name
Description
J4, J5
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)
J5, J6
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
2.1.5 Bridge EXT2 board and Cypress PSoC 4 BLE kit
After adjusting the jumpers of Cypress PSoC 4 BLE kit and soldered the 90 degree 20-pins
header on J5 of EXT2 board, please use the bridging cable to connect the EXT2 board with
Cypress PSoC 4 BLE kit. This are two 20 pins header(J5) at the EXT2 board allows user to
connect any development board. Please make sure the assembly signal headers of EXT2
board is aligned with Cypress PSoC BLE kit ports.

EPD EXT2 with Cypress PSoC 4 BLE module 13 [User’s Guide] Rev.01
Figure 2-1 Connections between EXT2 and Cypress PSoC 4 BLE kit
Table 2-2 Connections of the EXT2 J5 header and Cypress PSoC 4 BLE kit port
EXT2 J5
PSoC 4 BLE port
TS_SCL_MCU
6
P3.5 SCL
TS_SDA_MCU
5
P3.4 SDA
TEST/SBWTCK/BS1
17
P1.5
Border_Control(EPD_border)
13
P1.2
BUSY(EPD_Busy)
8
P0.5
/EPD_CS
19
P0.2
PWM/ D/C(EPD_DC)
9
P0.4
Discharge(EPD_discharge)
12
P1.7
/REST(EPD_RST)
10
P1.0
/Flash_CS
18
P1.6
Panel_On
11
P1.1
SPI_CLK
7
P0.3
SPI_MISO
14
P0.1
SPI_MOSI
15
P0.0
VCC
1
V3.3
GND
20
GND

EPD EXT2 with Cypress PSoC 4 BLE module 14 [User’s Guide] Rev.01
2.1.6 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/34-pins iTC connector (J3/J2)
Open the
connector
Slide the FPC/FFC into
connector
Close the
connector
Note the pin1 is at the bottom side.
9.7”/12” Connection board with a 34-pins FFC connecting to iTC connector
J2(B3000MS035 only)
Open the
connector
Slide the 2 FPC@EPD /1
FFC into the connector
Close the
connectors

EPD EXT2 with Cypress PSoC 4 BLE module 15 [User’s Guide] Rev.01
2.2 Programming firmware to Cypress PSoC 4 BLE kit
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: http://www.pervasivedisplays.com/kits(Cypress PSoC 4 BLE kit).
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).
2.2.1 Download Software PSoC Creator
Follow these steps to install the BLE Pioneer Kit software:
1. Download the kit software from www.cypress.com/CY8CKIT-042-BLE. The software is
available in the following formats:
a. CY8CKIT-042-BLE Kit Complete Setup: This installation package contains the files related
to the BLE Pioneer Kit. However, it does not include the Windows Installer or Microsoft .NET
framework packages. If these packages are not on your computer, the installer directs you
to download and install them from the Internet.
b. CY8CKIT-042-BLE Kit Only Package: This executable file installs only the BLE Pioneer Kit
contents, which include code examples, hardware files, and user documents. This package
can be used if all the software prerequisites (listed in step 5) are installed on your computer.
c. CY8CKIT-042-BLE DVD ISO: This file is a complete package, stored in a DVD-ROM image
format, that you can use to create a DVD or extract using an ISO extraction program such
as WinZip or WinRAR. The file can also be mounted similar to a virtual CD/DVD using virtual
drive programs such as ‘Virtual CloneDrive’ and ‘MagicISO’. This file includes all the required
software, utilities, drivers, hardware files, and user documents.
2. Click Install CY8CKIT-042-BLE Kit to start the installation, as shown in Figure 2-2.
Figure 2-2 Installer Screen

EPD EXT2 with Cypress PSoC 4 BLE module 16 [User’s Guide] Rev.01
3. Select the folder in which you want to install the CY8CKIT-042-BLE kit-related files.
Choose the directory and click Next.
4. When you click Next, the CY8CKIT-042-BLE Kit installer automatically installs the
required software, if it is not present on your computer. The following software packages
are required:
Note: For the Kit Only Package, download and install the following prerequisites.
a. PSoC Creator 4.1 or Download the latest version from
www.cypress.com/psoccreator
b. b. PSoC Programmer 3.26 or later: This is installed as part of PSoC Creator
installation (www.cypress.com/programmer).
c. c. CySmart 1.2 SP1 or later: Download the latest version from
www.cypress.com/cysmart.
Choose the Typical/Custom/Complete installation type in the Product Installation
Overview window, as shown in Figure 2-2. Click Next after you select the installation type.
Figure 2-3 Installation Overview
5. Read the license agreement and select I accept the terms in the license agreement to
continue with installation. Click Next.
6. When the installation begins, a list of packages appears on the installation page. A
green check mark appears next to each package after successful installation.
7. Click Finish to complete the CY8CKIT-042-BLE kit installation.
8. Enter your contact information or select the Continue Without Contact Information
check box. Click Finish to complete the CY8CKIT-042-BLE kit installation.

EPD EXT2 with Cypress PSoC 4 BLE module 17 [User’s Guide] Rev.01
3. Working with Cypress PSoC Creator Project Code
The Single driver will toggle between two images right away after programming 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.
3.1 EPD_drivers Project
All of the driving waveform source code of supported EPDs with different FPL and driver are
placed in this project
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 EXT2 with Cypress PSoC 4 BLE module 18 [User’s Guide] Rev.01
-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..
-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.

EPD EXT2 with Cypress PSoC 4 BLE module 19 [User’s Guide] Rev.01
3.2 Change the different size EPD and image
In main c, you have to set both of dr_eTC_BWb and sz_eTC_epd-size to use the proper driving
waveform
For example, if you attached 2.71” eTC EPD, the code is as follows,
#define USE_EPD_Type dr_eTC_BWb
#define USE_EPD_Size sz_eTC_271
If you attached 2.15” iTC epd, the code should be modified as follows,
#define USE_EPD_Type dr_iTC_BWb
#define USE_EPD_Size sz_iTC_215
images folder:
You can convert any image file to a binary data and put it in this folder.

EPD EXT2 with Cypress PSoC 4 BLE module 20 [User’s Guide] Rev.01
4. Document revision history
Rev.
Date
Comment
01
03 Nov, 2017
-First release
-Supported driving eTC: 1.44”, 1.9”, 2.0”, 2.6” and 2.71”. iTC: 2.15”
This manual suits for next models
3
Table of contents
Popular Computer Hardware manuals by other brands

Alcatel
Alcatel onetouch v100 quick start guide

Jameco Electronics
Jameco Electronics PICProto Prototyping Boards Specification sheet

Intel
Intel SRCZCRX - RAID Controller Storage Hardware user's guide

DeLOCK
DeLOCK 61052 user manual

Nexus
Nexus OSL101 instructions

Radica Games
Radica Games DAVID-II 716 Operating and maintenance instruction manual