CE223726 – PSoC 6 TFT Display Interface
with EmWin Graphics Library
Document Number: 002-23726 Rev. *B
1
Objective
This code example shows how to control a TFT display using EmWin Graphics Library in PSoC
®
6 MCU.
Overview
This code example demonstrates how to display graphics on a TFT display using EmWin Graphics Display Library. EmWin
graphics library implements 2D graphics and provides easy-to-use API functions to display text, 2D graphics (lines, rectangles,
circles, etc.), and bitmap images. In PSoC Creator
™, EmWin graphics library is implemented as a PDL middleware library.
This code example assumes that you are familiar with the PSoC 6 MCU and the PSoC Creator Integrated Design Environment
(IDE). If you are new to PSoC 6 MCU, see the application note
PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity
For details of EmWin Graphics Library API, see the EmWin documentation
UM03001_emWin5.pdf
in the
Program Files
(x86)\Cypress\PDL\3.x.x\doc\
folder.
Requirements
4.2;
Programming Language:
C (Arm
®
GCC 5.4.1)
Associated Parts:
Related Hardware:
CY8CKIT-062-BLE PSoC 6 BLE Pioneer Kit
Hardware Setup
1. Plug in the TFT display shield on to the Pioneer Board as
Figure 1. Hardware Setup
2. Set the switches and jumpers on the Pioneer Board as shown in Table 1.
Table 1. Switch and Jumper Selection
Switch/Jumper
Position
Location
SW5
3.3 V
Front
SW6
PSoC 6 BLE
Back
SW7
V
DDD
/ KitProg2
Back
J8
Installed
Back