User manual

PROFESIONAL, CREDITABLE, SUCCESSFULL DWIN DGUS v2.0 Specification
Beijing DWIN Technology Co., Ltd. - 6 - www.dwin.com.cn/en
R2(SYS_CFG configuration Byte)
Position
Ratio
Definition
Description
.7
0x80
VDS
0=Normal display
1=90° Rotation
.6
0x40
HDS
0=Normal Display
1=180° Rotation(anti-visual-angel)
.5
0x20
TP_LED
0=Backlight is not controlled by condition of touch screen
1=Backlight is controlled by condition of touch screen, set by R6, R7, R8 in config.txt.
.4
0x10
FCRC
0=Unable CRC16frame check in the serial communication
1= Enable CRC16frame check in the serial communication
.3
0x08
TPSAUTO
0=Touch screen input parameters are not automatically uploaded(user query);
1=Touch screen input parameters automatically uploaded to the serial port.
.2
0x04
L22_Init_En
0=56KB Variable Storage initiated by 0x00
1=56KB Variable Storage initiated by the values defined by 22 (0x16) font library file
.1
0x02
FreshTime_Sel
0=Refresh cycle of variable is 200mS; 1= Refresh cycle of variable is 250mS.
Recommended to write 0.
.0
0x01
RnumMode_Sel
0=Normal mode; 1=High-speed mode (Power consumption will be higher than normal
mode about 100mW). Recommended to write 0.
VDS and HDS Control Panel Display Mode
Example of User Config. file
R1=07 ;Baudrate,07=115200bps
R2=20 ; SYS_CFG
R6=40; brightness of backlight-on in the mode of automatic control,40 =100%brightness (the brightest selection)
R7=10 ; brightness of backlight-off in the mode of automatic control, 10 =25%brightness
R8=14 ;Light-up time
units: 0.5 seconds
14=10 seconds
R3=A5 ; high-byte of frame header:0xA55A
RA=5A ; low-byte of frame ending:0xA55A
Note
Besides of modification via SD card,R0-RA Register can be modified by using Command 0XFE07.
1.3 Memory Space Description
Font Library
DWIN DGUS v2.0 software uses 32MB FLASH Memory as a font memory which is divided by 128 units of 256KB
space. The correspondence font ID is 0-127. See below explanation:
Font ID
size
Explanation
Note
0
3072KB
0#ASCII Font
0_DWIN_ASC.HZK
12
256KB
Pinyin input method font
12_PYK.BIN
13
256KB
Touch configuration file
13_touch.BIN
14
2048KB
Variable configuration files(up to1024pages
with max.64variables per page)
14_ variable.BIN
22
256KB
Variable initializing file
(56KB Default value of variable storage that
loading depends on SYS_CFG.2)
22_variable initializing.BIN
23-127
26.3MB
Font, icon library. Icon 64-127 can be used as
user database.
User defined