BEGA220A USER MANUAL
- 5 -
TABLE OF CONTENTS
1
GENERAL INFORMATION.......................................................6
1.1
I
NTRODUCTION
........................................................................................................................................ 7
1.1.1
Packing Content
......................................................................................................................................... 7
1.1.2
Module Layout
............................................................................................................................................ 8
1.2
S
PECIFICATIONS
.................................................................................................................................... 10
1.2.1
System Functional Blocks
.......................................................................................................................10
1.2.2
Module Specifications
.............................................................................................................................. 11
1.3
M
ECHANICAL
S
PECIFICATIONS
................................................................................................................ 12
1.3.1
Module Specifications
..............................................................................................................................12
2
BEGA220A INSTALLATION & TESTING
..............................13
2.1
C
ONNECT
P
OWER
................................................................................................................................. 14
2.2
C
ONNECT A
SD/MMC
C
ARD
.................................................................................................................. 15
2.3
C
ONNECT
H
OST
USB ............................................................................................................................ 16
2.4
C
ONNECT TO
LAN ................................................................................................................................ 17
2.5
C
ONNECT
W
I
-F
I
.................................................................................................................................... 20
2.6
C
ONNECT
C
OMMUNICATION
B
US
............................................................................................................ 24
2.6.1
Pin Assignment of Communication Bus
...............................................................................................24
2.6.2
Serial Port Test
..........................................................................................................................................25
2.6.2.1
Connect Serial Port
..........................................................................................................................................25
2.6.2.2
Serial Port test procedure
...............................................................................................................................29
2.6.3
Device USB installation
...........................................................................................................................34
2.6.4
Speaker installation
..................................................................................................................................35
2.7
ADC_GPIO
B
US
.................................................................................................................................. 36
2.7.1
Pin Assignments of ADC_GPIO Bus
......................................................................................................36
2.7.2
GPIO Test
....................................................................................................................................................37
2.7.3
ADC test
......................................................................................................................................................40
2.7.3.1
ADC test set-up
.................................................................................................................................................40
2.7.3.2
ADC test procedure
..........................................................................................................................................41
3
BEGA220A PROGRAMMING GUIDE
....................................43
3.1
T
RANSFER
F
ILE
B
ETWEEN
BEGA220A
AND
PC ...................................................................................... 44
3.1.1
Connect PC and BEGA220A
...................................................................................................................44
3.1.2
Transfer Files
.............................................................................................................................................48
3.2
P
ROGRAMMING FOR
BEGA220A ........................................................................................................... 49
3.2.1
Setup Development environment
...........................................................................................................49
3.2.2
Create New Project
...................................................................................................................................50
3.3
S
ERIAL
P
ORT
F
UNCTION
........................................................................................................................ 53
3.3.1
Overview
.....................................................................................................................................................53
3.3.2
Serial Port Control-CSerialPort class
....................................................................................................54
3.3.2.1
Basic concept of class CSerialPort
...............................................................................................................54
3.3.2.2
Member function of class CSerialPort
..........................................................................................................55
3.3.2.3
How to catch the receive message
................................................................................................................56
3.3.3
Example Code
............................................................................................................................................57
3.4
GPIO
C
ONTROL
................................................................................................................................... 61
3.4.1
How to Control GPIO for BEGA220A
.....................................................................................................61
3.4.2
GPIO Control Function for BEGA220A
..................................................................................................62
3.4.3
Definition of GPIO Index
..........................................................................................................................63
3.5
ADC
C
ONVERTER AND
B
ACKLIGHT
A
DJUSTMENT
.................................................................................... 64
3.5.1
Overview
.....................................................................................................................................................64
3.5.2
Control Function of A/D Converter
........................................................................................................65
3.5.3
Function about Backlight Adjustment
...................................................................................................66
4. TROUBLESHOOTING ..............................................................67
Содержание BEGA220A
Страница 12: ...BEGA220A USER MANUAL 12 1 3 Mechanical Specifications 1 3 1 Module Specifications ...
Страница 19: ...BEGA220A USER MANUAL 19 STEP7 Enter URL at the Address box ...
Страница 47: ...BEGA220A USER MANUAL 47 5 Select No and click Next button to cancel the synchronization ...
Страница 68: ...BEGA220A USER MANUAL 68 End of BEGA220A User Manual ...