DOC30_WT56F248-232 Starter Kit Board Operation Manual V1.0

WT56F248/232 Starter Kit Board
Operation Manual
WT56F248/232
Starter Kit Board
Operation Manual
REV. 1.0
June 6, 2014
This document is Weltrend confidential information. Do not copy.
WT56F248/232 Starter Kit Board
Operation Manual
Ver.
1.0
Date
Applicant
2014/06/06
Louis 1st version
This document is Weltrend confidential information. Do not copy.
2
Description
WT56F248/232 Starter Kit Board
Operation Manual
Table of Contents
CHAPTER 1
WT56F248/232 STARTER KIT BOARD HARDWARE DESCRIPTION.............................................4
1.1 SYSTEM BLOCK DIAGRAM ............................................................................................................4
1.2 STARTER KIT BOARD COMPONENTS LOCATION ............................................................................5
CHAPTER 2
WT56F248/232 STARTER KIT BOARD I/O PORT DESCRIPTION ..................................................6
2.1
2.2
2.3
2.4
CHAPTER 3
WT56F248/232 STARTER KIT BOARD CIRCUIT DESCRIPTION .................................................10
3.1
3.2
3.3
3.4
CHAPTER 4
DC INPUT CONNECTOR (J3) ........................................................................................................6
SWUT (SINGLE-WIRE UART) PROGRAMMING INTERFACE PORT (JP7) .........................................6
2
WT56F248/232 I C INTERFACE PORT ........................................................................................7
TEST PINS (J5/J6/J7/J8) ............................................................................................................8
VDD POWER SELECTION ..........................................................................................................10
POWER CIRCUIT ........................................................................................................................10
RESET CIRCUIT .......................................................................................................................11
OSCILLATE CIRCUIT ..................................................................................................................11
WT56F248/232 STARTER KIT BOARD OPERATION MANUAL ....................................................12
4.1 WT56F248/232 TESTING AND DEMO PLATFORM ........................................................................ 12
4.2 LED DISPLAY ............................................................................................................................ 13
CHAPTER 5
DRIVER MODULE ............................................................................................................................14
5.1 DRIVER MODULE SUMMARY ...................................................................................................... 14
5.2 LED DRIVER MODULE <LED.C> .............................................................................................. 14
CHAPTER 6
APPENDIX ........................................................................................................................................15
6.1 CIRCUIT ....................................................................................................................................15
6.2 BOM ........................................................................................................................................17
6.3 ORDERING INFORMATION ..........................................................................................................18
This document is Weltrend confidential information. Do not copy.
3
WT56F248/232 Starter Kit Board
Operation Manual
Chapter 1
1.1
WT56F248/232 Starter Kit Board Hardware Description
System Block Diagram
WT56F248/232 is an enhanced 8052 Micro Controller with a variety of peripheral functions, and the Starter Kit
Board is designed for 64-pin LQFP type IC to demonstrate its functions. System structure is as the figure
below.
VDD
VDD
47uF
SCL
I2C
SDA
0.1uF
WT56F248/232
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
WT56F248/232 Starter Kit Board
Operation Manual
1.2
Starter Kit Board Components Location
This document is Weltrend confidential information. Do not copy.
5
WT56F248/232 Starter Kit Board
Operation Manual
Chapter 2
2.1
WT56F248/232 Starter Kit Board I/O Port Description
DC Input Connector (J3)
This is DC input connector for Starter Kit Board (supporting voltage: DC 5V/12V).
2.2
Pad Number
Description
1
Positive Input Pin
2
--
3
Negative Input Pin
SWUT (Single-wire UART) Programming Interface Port (JP7)
WT56F248/232 Single-wire programming port as below:
Pitch (1.25 mm)
This document is Weltrend confidential information. Do not copy.
6
WT56F248/232 Starter Kit Board
Operation Manual
2.3
Pad Number
Description
1
VDD
2
SWUT
3
GND
WT56F248/232 I2C Interface Port
2
Components Location (JP6): Slave I C 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
WT56F248/232 Starter Kit Board
Operation Manual
2.4
Test Pins (J5/J6/J7/J8)
These are testing signal pins.
Pitch (2.54 mm)
J5
J6
Pad Number
Description
Pad Number
Description
1-2
GPIOF0DH/IRQ1/T2O/BUZOA/PWM0A
1-2
XSIN
3-4
GPIOF1DH/MOSIA/IRQ2/P01/PWM2B
3-4
XSOUT
5-6
GPIOF2DH/STBA/IRQ3/P02/PWM3B
5-6
GPIOA5D
7-8
GPIOG3/IRQ2B/P06/PWM4A
7-8
GPIF3/NRST/SWUT
9-10
GPIOG4/IRQ3B/P07/PWM5A
9-10
GPIOA6D/STBB/IRQ6/PWM2A
11-12
GPIOG5
11-12
GPIOA7D/ADC0/IRQ7/ETMO/PWM1A
13-14
VDD
13-14
GPIOF4DH
15-16
GND
15-16
GPIOF5DH
17-18
GPIOA0D/MOSIB/IRQ4
17-18
GPIOB0/ACOM7/BSEG0/ADC1/RX0/IRQ8
19-20
GPIOA1D
19-20
GPIOB1/BSEG1/VREF/TX0/IRQ9/PWM4B
21-22
XMOUT
21-22
GPIOB2/ACOM6/BSEG2/ADC2
23-24
XMIN
23-24
GPIOB3/ACOM5/BSEG3/ADC3
25-26
GPIOA2D
25-26
GPIOB4/ACOM4/BSEG4/ADC4
27-28
GPIOA3D/SDA/MISO/IRQ5/P03/PWM3A
27-28
GPIOB5/BSEG5/ADC5/IRQ10/PWM0B
29-30
GPIOA4D
29-30
GPIOB6/BSEG6/ADC6/BUZOB
31-32
NC
31-32
GPIOB7/BSEG7/ADC7/RX0B
This document is Weltrend confidential information. Do not copy.
8
WT56F248/232 Starter Kit Board
Operation Manual
J7
J8
Pad Number
Description
Pad Number
Description
1-2
NC
1-2
NC
3-4
GPIOD2/ASEG5/BSEG18/BCOM5
3-4
GPIOE7DH/ASEG18/SCL/SCK/IRQ0/PWM1B
5-6
GPIOD1/ASEG4/BSEG17/BCOM6
5-6
GPIOE6DH/ASEG17/ADC15/TX1/IRQ15
7-8
GPIOD0/ASEG3/BSEG16/BCOM7
7-8
GPIOE5DH/ASEG16/ADC14/RX1/IRQ14
9-10
GPIOC7/ASEG2/BSEG15
9-10
GPIOE4DH/ASEG15/ADC13
11-12
GPIOC6/ASEG1/BSEG14
11-12
GPIOE3DH/ASEG14/ADC12/IRQ13/BUZOC
13-14
GPIOG0
13-14
GPIOE2DH/ASEG13/ADC11/IRQ12/PWM5B
15-16
GPIOF7DH
15-16
GPIOE1DH/ASEG12/ADC10/IRQ11
17-18
GPIOF6DH
17-18
GPIOE0DH/ASEG11/ADC9
19-20
GPIOC5/ASEG0/BSEG13
19-20
GPIOG2/IRQ1B
21-22
GPIOC4/ACOM0/BSEG12
21-22
GPIOG1/IRQ0B
23-24
GPIOC3/ACOM1/BSEG11
23-24
GPIOD7/ASEG10/BCOM0
25-26
GPIOC2/ACOM2/BSEG10
25-26
GPIOD6/ASEG9/BCOM1
27-28
GPIOC1/ACOM3/BSEG9
27-28
GPIOD5/ASEG8/BCOM2
29-30
GPIOC0/BSEG8/ADC8/TX0B
29-30
GPIOD4/ASEG7/BCOM3
31-32
NC
31-32
GPIOD3/ASEG6/BSEG19/BCOM4
This document is Weltrend confidential information. Do not copy.
9
WT56F248/232 Starter Kit Board
Operation Manual
Chapter 3
3.1
WT56F248/232 Starter Kit Board Circuit Description
VDD Power Selection
There are three main power options for WT56F248/232 Starter Kit Board.
(External power input cannot exceed Max. 5.5V as spec. definition).
1. 5V/12V adapter (Select input is 5V/12V by J2), J3 DC Jack (VDD)
2. External VDD: P01 positive input, P02 negative power, external VDD cannot exceed Max 5.5V as spec.
definition.
3. WLINK-SWUT VDD: Using WLINK-SWUT MCU_ VDD as WT56F248/232 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.
10
WT56F248/232 Starter Kit Board
Operation Manual
3.3
RESET Circuit
WT56F248/232 RESET circuit and SWUT (Single-wire programming) use the same pin, the related circuit
description as below. When SWUT on programming, J4 JUMP should be removed, and disconnect from the
external RC RESET. After programming finished, J4 JUMP should be plugged in again, if the REST function
had been used.
3.4
Oscillate Circuit
WT56F248/232 oscillates circuit as bellow:
This document is Weltrend confidential information. Do not copy.
11
WT56F248/232 Starter Kit Board
Operation Manual
Chapter 4
4.1
WT56F248/232 Starter Kit Board Operation Manual
WT56F248/232 testing and demo platform
WT56F248/232 Starter Kit Board built in a single and easy led flash to display functions, and reserved some
pins for testing usage.
This document is Weltrend confidential information. Do not copy.
12
WT56F248/232 Starter Kit Board
Operation Manual
4.2
LED display
After Power on, LED will alternately blink on the Starter Kit Board. Meanwhile, adjusting VR1 can change
LED blinking speed.
This document is Weltrend confidential information. Do not copy.
13
WT56F248/232 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
LED Driver Module <LED.C>
Function
Description
void
API_LedGpioInitial (void)
Initialize “LED port” (Driver layer)
void
DisplayLedGroup1 (void)
Rotate “LED” light (Application layer)
This document is Weltrend confidential information. Do not copy.
14
WT56F248/232 Starter Kit Board
Operation Manual
Chapter 6
6.1
Appendix
Circuit
1. Power
This document is Weltrend confidential information. Do not copy.
15
WT56F248/232 Starter Kit Board
Operation Manual
2. WT56F248/232 (MCU)
This document is Weltrend confidential information. Do not copy.
16
WT56F248/232 Starter Kit Board
Operation Manual
6.2
BOM
This document is Weltrend confidential information. Do not copy.
17
WT56F248/232 Starter Kit Board
Operation Manual
6.3
Ordering Information
1. WT56F248/232 Starter Kit
Kit
WT56F248/232
Starter Kit
(WK007)
Product Name
Number
Single-wire Programming Board PL-2303 (WLINK-SWUT) x 1
WA000
Simple Version (WT56F248/232 Starter Kit Board) x 1
WB010
SWUT Programming Wire x 1
2. WT56F248/232 Starter Kit Board (Simple Version)
Kit
WT56F248/232
Simple Version
3.
Product Name
Number
Simple Version (WT56F248/232 Starter Kit Board)
WB010
EVB Operation Manual
DOC30
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.
18