DOC28_WT51F116-108 Starter Kit Board Operation Manual V1.0

WT51F116/108 Starter Kit Board
Operation Manual
WT51F116/108
EVB Starter Kit Board
Operation Manual
REV. 1.0
September 24, 2014
本文件為偉詮電子股份有限公司機密資料 , 未經許可不得擅自複印或備份。
WT51F116/108 Starter Kit Board
Operation Manual
Ver.
1.0
Date
2014/09/24
Applicant
Louis 1st version
This document is Weltrend confidential information. Do not copy.
2
Description
WT51F116/108 Starter Kit Board
Operation Manual
Table of contents
CHAPTER 1
WT51F116/108 STARTER KIT BOARD HARDWARE DESCRIPTION..................................................4
1.1 SYSTEM BLOCK DIAGRAM ......................................................................................................................................4
1.2 STARTER KIT BOARD COMPONENTS LOCATION .......................................................................................................5
CHAPTER 2
2.1
2.2
2.3
2.4
DC INPUT CONNECTOR (J1)...................................................................................................................................6
SWUT (SINGLE-WIRE UART) PROGRAMMING INTERFACE PORT (J2) ......................................................................6
WT51F116/108 I2C INTERFACE PORT ...................................................................................................................7
TESTING PINS (J6/J7)............................................................................................................................................8
CHAPTER 3
3.1
3.2
3.3
3.4
WT51F116/108 STARTER KIT BOARD I/O PORT DESCRIPTION........................................................6
WT51F116/108 STARTER KIT BOARD CIRCUIT DESCRIPTION.........................................................9
VDD POWER SELECTION .......................................................................................................................................9
POWER CIRCUIT.....................................................................................................................................................9
RESET CIRCUIT .................................................................................................................................................10
OSCILLATE CIRCUIT .............................................................................................................................................10
CHAPTER 4
WT51F116/108 STARTER KIT BOARD OPERATION MANUAL ..........................................................11
4.1 WT51F116/108 TESTING AND DEMO PLATFORM ...................................................................................................11
4.2 LED DISPLAY ......................................................................................................................................................12
CHAPTER 5
DRIVER MODULE.........................................................................................................................................13
5.1 DRIVER MODULE SUMMARY .................................................................................................................................13
5.2 MAIN PROGRAM <MAIN.C> ..................................................................................................................................13
CHAPTER 6
APPENDIX......................................................................................................................................................14
6.1 CIRCUIT ..............................................................................................................................................................14
6.2 BOM ..................................................................................................................................................................16
6.3 ORDERING INFORMATION .....................................................................................................................................17
This document is Weltrend confidential information. Do not copy.
3
WT51F116/108 Starter Kit Board
Operation Manual
Chapter 1
1.1
WT51F116/108 Starter Kit Board Hardware Description
System Block Diagram
WT51F116/108 is an enhanced 8052 Micro Controller with LCD Driver functions, and the Starter Kit Board is
designed for 32-pin QFN type IC to demonstrate its functions. System structure is as the figure below.
VDD
VDD
47uF
SCL
I2C
SDA
0.1uF
WT51F116/108
20pF
OSCI
12MHz
5V
OSCO
20pF
LED
GPIOB0
GPIOB1
VDD
GPIOB2
10K
RST / SWUT
4.7uF
GPIOB3
GPIOB4
GPIOB5
SWUT
AD_ADJ
ADC 2
5V
VR
This document is Weltrend confidential information. Do not copy.
4
WT51F116/108 Starter Kit Board
Operation Manual
1.2
Starter Kit Board Components Location
Testing Area
LED Display Area
J3
External Reset
Pin / SWUT
Option Jump
U1
WT51F116/108
J2
Single-wire
Programming
Interface Port
SWB1
Reset Key
J1
DC 5 V Power
J5
I2C Port
J6/ J7
WT51F116/108
Test Pin
This document is Weltrend confidential information. Do not copy.
5
VR1
Adjust AD
Voltage
VR
WT51F116/108 Starter Kit Board
Operation Manual
Chapter 2
2.1
WT51F116/108 Starter Kit Board I/O Port Description
DC Input Connector (J1)
This is DC input connector for Starter Kit Board (supporting voltage: DC 5V).
2.2
Pad Number
Description
1
Positive Input Pin
2
--
3
Negative Input Pin
SWUT (Single-wire UART) Programming Interface Port (J2)
WT51F116/108 Single-wire programming port as below:
Pitch (1.25 mm)
This document is Weltrend confidential information. Do not copy.
6
WT51F116/108 Starter Kit Board
Operation Manual
2.3
Pad Number
Description
1
VDD
2
SWUT
3
GND
WT51F116/108 I2C Interface Port
Components Location (J5): Slave I2C Interface Port.
Pitch (1.25 mm)
Pad Number
Description
1
VDD
2
Slave_SCL
3
Slave_SDA
4
GND
This document is Weltrend confidential information. Do not copy.
7
WT51F116/108 Starter Kit Board
Operation Manual
2.4
Testing Pins (J6/J7)
These are testing signal pins.
Pitch (2.54 mm)
J6
J7
Pad Number
Description
Pad Number
Description
1-2
GPIOA5DH/IRQ15/ADC15/OSCI/PWM1B/P00
1-2
GPIOC2D/ PWM2C/P06
3-4
GPIOA4DH/IRQ14/ADC14/OSCO/PWM0B/P01
3-4
GPIOC1D/IRQ7/ADC7/P05
5-6
GPIOB5D/IRQ12/ADC12/RXA/PWM1A/P02
5-6
GPIOC0D/IRQ6/ADC6/PWM3B/P04
7-8
GPIOB4D/IRQ11/ADC11/TXA/PWM1D/P03
7-8
GPIOB2D/IRQ5/ADC5/STB/PWM0D
9-10
GPIOB3D/IRQ10/ADC10/PWM0A
9-10
GPIOB1D/IRQ4/ADC4/MOSI/PWM3A
11-12
GPIOC5D/IRQ9/ADC9
11-12
GPIOB0D/IRQ3/ADC3/PWM2A
13-14
GPIOC4D/IRQ8/ADC8
13-14
GPIOA2DH/IRQ2/ADC2/CMPO/PWM1C
15-16
GPIOC3D/PWM3C/P07
15-16
GPIOA1DHIRQ1/ADC1/VREF/CMPN/SCKA/
MISOB/RXA/SCL/PWM2B
17-18
GPIOA7DH
17-18
GPIOD5
19-20
GPIOA6DH
19-20
GPIOD4
21-22
GPIOB7D
21-22
GPIOA0DH//IRQ0/ADC0/CMPP/MISOA/
SCKB/TXA/SDA/PWM0D
23-24
GPIOB6D
23-24
VSS
25-26
GPIOC7D
25-26
VDD
27-28
GPIOC6D
27-28
GPIA3D/IRQ13/ADC13/NRST/SWUT
29-30
GPIOD1
29-30
GPIOD3
31-32
GPIOD0
31-32
GPIOD2
This document is Weltrend confidential information. Do not copy.
8
WT51F116/108 Starter Kit Board
Operation Manual
Chapter 3
3.1
WT51F116/108 Starter Kit Board Circuit Description
VDD Power Selection
There are three main power options for WT51F116/108 Starter Kit Board.
(External power input cannot exceed Max. 5.5V as spec definition).
1. 5V adapter, J1 DC Jack (VDD).
2. External VDD: PO1 positive input, PO2 negative power, external VDD cannot exceed Max 5.5V as spec
definition.
3. WLINK-SWUT VDD: Using WLINK-SWUT VDD supplies WT51F116/108 VDD power.
If power works normally, DB1 LED will light up.
3.2
Power circuit
VDD power input should be with filter capacitance, this is best that the layout is close to the pin.
This document is Weltrend confidential information. Do not copy.
9
WT51F116/108 Starter Kit Board
Operation Manual
3.3
RESET Circuit
WT51F116/108 RESET circuit and SWUT (Single-wire programming) use the same pin, the related circuit
description as below. When SWUT on programming, J3 JUMP should be removed, and disconnect from the
external RC RESET. After programming finished, J2 JUMP should be plugged back, if the REST function
had been used.
3.4
Oscillate Circuit
WT51F116/108 oscillates circuit as bellow:
This document is Weltrend confidential information. Do not copy.
10
WT51F116/108 Starter Kit Board
Operation Manual
Chapter 4
4.1
WT51F116/108 Starter Kit Board Operation Manual
WT51F116/108 testing and demo platform
WT51F116/108 Starter Kit Board built in a single and easy led flash to display functions, and reserved some
pins for testing usage.
Add Function
Testing Area
WT51F116 /108
Test Pin
5V
Power Indicator
WT51F116 /108
Reset key
DC 5V Input
AD Voltage
LED Indicator Adjust Button
(VR1)
This document is Weltrend confidential information. Do not copy.
11
WT51F116/108 Starter Kit Board
Operation Manual
4.2
LED display
After Power on, LED will alternately blink on the EVB board. Meanwhile, adjusting VR1 can change LED
blinking speed.
LED Indicator
This document is Weltrend confidential information. Do not copy.
12
AD Voltage
Adjust Button
(VR1)
WT51F116/108 Starter Kit Board
Operation Manual
Chapter 5
5.1
Driver Module
Driver Module Summary
Please refer to the Driver module display, as below:
5.2
Main Program <Main.c>
Function
Description
void
INIT_LED(void)
Initialize “LED port” (Driver layer)
void
LED_SHIFT (void)
Rotate “LED” light (Application layer)
This document is Weltrend confidential information. Do not copy.
13
WT51F116/108 Starter Kit Board
Operation Manual
Chapter 6
6.1
Appendix
Circuit
1. Power
This document is Weltrend confidential information. Do not copy.
14
WT51F116/108 Starter Kit Board
Operation Manual
2. WT51F116/108 (MCU)
This document is Weltrend confidential information. Do not copy.
15
WT51F116/108 Starter Kit Board
Operation Manual
6.2
BOM
This document is Weltrend confidential information. Do not copy.
16
WT51F116/108 Starter Kit Board
Operation Manual
6.3
Ordering Information
1. WT51F116/108 Development Kit
Kit
WT51F116/108
Development Kit
Product Name
Number
Single-wire Programming Board PL-2303 (WLINK-SWUT) x 1
WA000
Simple Version (WT51F116/108 Starter Kit Board) x 1
WB010
SWUT Programming Wire x 1
2. WT51F116/108 Starter Kit Board (Simple Version)
Kit
WT51F116/108
Simple Version
3.
Product Name
Number
Simple Version (WT51F116/108 Starter Kit Board)
WB010
EVB Operation Manual
DOC28
Single-wire Programming Board (WLINK-SWUT)
Kit
Single-wire
Programming
Board
WLINK-SWUT
Product Name
Number
Single-wire Programming Board PL-2303 (WLINK-SWUT)
WA000
WLINK-SWUT Operation Manual
DOC2
This document is Weltrend confidential information. Do not copy.
17
Similar pages