V850ES TOUCHIT NEC, V850ES TOUCHIT Datasheet - Page 35
![STARTER KIT, 32BIT, TFT LCD](/photos/24/20/242071/150286507-40_sml.jpg)
V850ES TOUCHIT
Manufacturer Part Number
V850ES TOUCHIT
Description
STARTER KIT, 32BIT, TFT LCD
Manufacturer
NEC
Datasheet
1.V850ES_TOUCHIT.pdf
(61 pages)
Specifications of V850ES TOUCHIT
Kit Contents
V850ES/JG2 UPD70F3718 CPU, Epson S1D13A05 LCD/USB Companion Chip, USB Connector
Svhc
No SVHC (18-Jun-2010)
Development Tool Type
Demonstration Kit
Kit Features
Complete Touch Controlled
Silicon Manufacturer
NEC
Kit Application Type
Audio Visual
Application Sub Type
TFT LCD
9.4.2
Next the TFT LCD hardware registers are configured by calling a macro function
“TFT_POWER_ON_COMMAND” (source found in TFTReg_Setting.h). The sequence of data and
timeouts required when setting up the TFT registers are detailed in the NECEL TFT LCD user manual.
9.4.3
The LCD companion chip is initialised when LCD_Init( ) is called by the function GUI_Init( ) in emWin
library. The function GUI_Init( ) in turn is called a the beginning of the first task to use the LCD, in this
case, MainTask( ).
9.4.3.1 LCDLIN.c
This file is provides the specific drivers to the Epson LCD companion chip. If a different LCD driver is
to be considered in your project, this file will need to be updated before the emWin libraries is able to
output to the TFT colour LCD display. The Segger emWin product is able to support other different
LCD drivers, but these are not included in the Touch It! Demonstration kit. Please contact Segger for
further information.
9.5
In addition to calling the OS_Initkern( ) function, OS_init( ) is also called near the start of main( ) to
perform the low level initialisation for the clocks and serial comms ports used by the kernel and OS
debug functions. Please refer to the Chapter 17 in the Segger embOS_Generic.pdf for further
information.
9.5.1
9.5.1.1 LCDconf.h
In order for the emWin to drive the Epson S1D13A05 LCD companion chip correctly, it needs to be
informed which LCD driver chip is being used, the parameters of the LCD screen and the number of
bits for the colour resolution per pixel. For further information, please refer to Chapter 27
emWinUser.pdf
Initialising the TFT display registers
Initialising the Epson S1D13A05 LCD companion chip
OS_Init
Setting up the LCD touch screen header files
#define LCD_XSIZE
#define LCD_YSIZE
#define LCD_BITSPERPIXEL 16
#define LCD_CONTROLLER 1304 //
#define LCD_SWAP_BYTE_ORDER 1
#define LCD_SWAP_RB
#define LCD_USE_BITBLT
#define LCD_FIXEDPALETTE -1
CHAPTER 9
User's Manual U18781EE1V0UM00
STRUCTURE OF THE DEMO CODE
320 /* X-resolution of LCD, Logical coor. */
240 /* Y-resolution of LCD, Logical coor. */
0
0
// to enable use of User colour conversion function
35