Bolymin BE220C User manual

BE220C
USER MANUAL
BOLYMIN, INC.
5F, 38 Keya Rd., Daya Dist., Taichung City 42881, Taiwan, R.O.C.
WEB SITE: http://www.bolymin.com.tw TEL: +886-4-2565-8689 FAX: +886-4-2565-8698
Features:
ARM 9 CPU
7” 800X480 TFT with Touch Panel @18bit color
Wi-Fi
10/100Mbps Ethernet LAN
RS-232/485/422
Audio
Host USB1.1 x 1
Device USB2.0 x 1
SD/MMC card
Support WINCE 5.0 OS
Support .Net Compact Framework 3.5

BE220CUSERMANUAL -2-
Declaration of Conformity
CE Class A
This product has passed the CE test for environmental specifications. Test conditions for
passing included the equipment being operated within an industrial enclosure. In order to protect
the product from being damaged by ESD (Electrostatic Discharge) and EMI leakage, we strongly
recommend the use of CE-compliant industrial enclosure products.
FCC Class A Federal Communication Commission Interference Statement
This equipment has been tested and found to comply with the limits for a Class A digital device,
pursuant to Part 15 of the FCC Rules.
FCC Caution:
Any changes or modifications not expressly approved by the party responsible for compliance
could void the user’s authority to operate this equipment.
Note:
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two
conditions:
(1) This device may not cause harmful interference, and
(2) This device must accept any interference received, including interference that may cause
undesired operation.
IMPORTANT NOTE:
FCC Radiation Exposure Statement:
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled
environment. This equipment should be installed and operated with minimum distance 20cm
between the radiator & your body.
This device and its antenna(s) must not be co-located or operation in conjunction with any other
antenna or transmitter.
For product available in the USA/Canada market, only channel 1~11 can be operated. Selection
of other channels is not possible.
Caution:
To comply with FCC part 15 rules in the United States, the system must be professionally
installed to ensure compliance with the Part 15 certification. It is the responsibility of the operator
and professional installer to ensure that only certified systems are deployed in the United States.
The use of the system in any other combination (such as co-located antennas transmitting the
same information) is expressly forbidden.
This BE220C must be installed and used in strict accordance with the manufacturer's
instructions as described in the user documentation that comes with the product. Any other
installation or use will violate FCC Part 15 regulations. Modifications not expressly approved by
manufacture could void your authority to operate the equipment.

BE220CUSERMANUAL -3-
History of Version
Version Contents Date Note
01 Original version 2013/12/18 Spec.

BE220CUSERMANUAL -4-
TABLE OF CONTENTS
1GENERAL INFORMATION.......................................................5
1.1INTRODUCTION ............................................................................................................................................. 6
1.1.1Packing Content................................................................................................................................................ 6
1.1.2Module Layout................................................................................................................................................... 7
1.2SPECIFICATIONS ........................................................................................................................................... 9
1.2.1System Functional Blocks ............................................................................................................................. 9
1.2.2Module Specifications................................................................................................................................... 10
1.3MECHANICAL SPECIFICATIONS .................................................................................................................... 11
1.3.1Module Specifications....................................................................................................................................11
2BE220C INSTALLATION & TESTING ..................................12
2.1CONNECT POWER....................................................................................................................................... 13
2.2CONNECT A SD/MMC CARD ....................................................................................................................... 14
2.3CONNECT HOST USB................................................................................................................................. 15
2.5CONNECT WI-FI.......................................................................................................................................... 19
2.6CONNECT COMMUNICATION BUS................................................................................................................. 23
2.6.1Pin Assignment of Communication Bus .................................................................................................. 23
2.6.2Serial Port Test................................................................................................................................................ 24
2.6.2.1Connect Serial Port ................................................................................................................................................ 24
2.6.2.2Serial Port test procedure..................................................................................................................................... 28
2.6.3Device USB installation ................................................................................................................................ 33
2.6.4Speaker installation ....................................................................................................................................... 34
2.7ADC_GPIO BUS ....................................................................................................................................... 35
2.7.1Pin Assignments of ADC_GPIO Bus.......................................................................................................... 35
2.7.2GPIO Test.......................................................................................................................................................... 36
2.7.3ADC test............................................................................................................................................................ 39
2.7.3.1ADC test set-up ....................................................................................................................................................... 39
2.7.3.2ADC test procedure................................................................................................................................................ 40
2.8HOW TO INSTALLATION THE BE220C ON EQUIPMENT ................................................................................... 42
3BE220C PROGRAMMING GUIDE......................................46
3.1TRANSFER FILE BETWEEN BEGA220C AND PC ......................................................................................... 47
3.1.1Connect PC and BE220C.............................................................................................................................. 47
3.1.2Transfer Files................................................................................................................................................... 51
3.2PROGRAMMING FOR BE220C..................................................................................................................... 52
3.2.1Setup Development environment............................................................................................................... 52
3.2.2Create New Project......................................................................................................................................... 53
3.3SERIAL PORT FUNCTION .............................................................................................................................56
3.3.1Overview........................................................................................................................................................... 56
3.3.2Serial Port Control-CSerialPort class........................................................................................................ 57
3.3.2.1Basic concept of class CSerialPort.................................................................................................................... 57
3.3.2.2Member function of class CSerialPort............................................................................................................... 58
3.3.2.3How to catch the receive message..................................................................................................................... 59
3.3.3Example Code ................................................................................................................................................. 60
3.4GPIO CONTROL......................................................................................................................................... 64
3.4.1How to Control GPIO for BE220C............................................................................................................... 64
3.4.2GPIO Control Function for BE220C........................................................................................................... 65
3.4.3Definition of GPIO Index............................................................................................................................... 66
3.5ADC CONVERTER AND BACKLIGHT ADJUSTMENT........................................................................................ 67
3.5.1Overview........................................................................................................................................................... 67
3.5.2Control Function of A/D Converter ............................................................................................................ 68
3.5.3Function about Backlight Adjustment ...................................................................................................... 69
4 TROUBLESHOOTING.............................................................70

BE220CUSERMANUAL -5-
1 General Information
This chapter provides basic information about Bolymin’s BE220C module and it consists of :
1.1 Introduction
1.2 Specifications
1.3 Mechanical Specifications

BE220CUSERMANUAL -6-
1.1 Introduction
BE22C module is a general purpose embedded system and is suitable for versatile applications
such as medical probing devices, in-car automation, human machine interface (HMI), etc. And
here is the order information for the BE220C family:
Order Information
Part No. RS-485 RS-422 WLAN 20 PIN EXT BUS(IOX12,ADCX6)
BE220C ☆
BE220C1 ☆☆
BE220C2 ☆☆
BE220C3 ☆☆☆
BE220C4
☆
BE220C5
☆☆
BE220C6
☆☆
BE220C7
☆☆☆
1.1.1 Packing Content
A complete package should contain all of the following:
BE220C module
Female USB to mini USB cable with 20cm length (CB04P201LC01$)
220 communication cable with 3M 40 pin connector and length100cm
(CB40P1000LC01$ )( only on sample stage)
CD for user manual and utility software

BE220CUSERMANUAL -7-
1.1.2 Module Layout
No. Name Description
1 Touch screen To support touch screen operation on BE220C
No. Name Description
2 Power socket Use 12V/3A power with a spec. of DC Plug_in φ2.5 socket
3 ADC_GPIO Bus GPIOx12, ADCx6。
4 Communication
Bus Device USB 2.0,RS-232x3,RS485/422x1(Optional)。
5 Host-USB 1.1 Connect to USB 1.1 peripheral (keyboard, mouse, etc)
6 RJ-45 Connect to Ethernet network
2
3
4
5
6
1

BE220CUSERMANUAL -8-
No. Name Description
7 Wi-Fi Antenna
socket Connect Wi-Fi antenna
8 SD Card socket Connect SD and MMC Card (4GB max.)
7
8

BE220CUSERMANUAL -9-
1.2 Specifications
1.2.1 System Functional Blocks

BE220CUSERMANUAL -10-
1.2.2 Module Specifications
Parameter Specification
CPU Samsung S3C2416X 400MHz
32 bit RISC architecture ARM926EJ CPU core
System Memory 16-bit 64MB/133MHz DDR2 memory
Storage Device 2GB NAND Flash
Serial Port 2 wire RS-232 x 3
Isolated RS485/422 x1(Option)
USB 1x USB device (USB2.0) for Active Sync only
1XUSB host (USB1.1)
GPIO Support programmable 12 x IO sharing with Key board interface
ADC Support 6 x channel 12 bit high speed A/D converter
LAN High performance 16-bit 10/100 Ethernet controller
Audio Dual channels 2 watts speaker output
Wi-Fi IEEE 802.11b/g, Wi-Fi compliant
OS WinCE 5.0(default), preloaded with .Net CF3.5
LCD Size 7” TFT LCD
LCD Resolution 800x480
LCD Brightness 400 cd/m²
Power Supply DC9V~DC28V
Operating Temperature -20℃~ +70℃

BE220CUSERMANUAL -11-
1.3 Mechanical Specifications
1.3.1 Module Specifications

BE220CUSERMANUAL -12-
2 BE220C Installation & Testing
This chapter provides installation information for BE220C module and it consists of :
2.1 Connect Power
2.2 Connect SD/MMC Card
2.3 Connect Host USB
2.4 Connect LAN
2.5 Connect Wi-Fi
2.6 Connect Communication Bus
2.7 Connect ADC_GPIO Bus
2.8 How to Installation the BE220C on equipment

BE220CUSERMANUAL -13-
2.1 Connect Power
User may prepare a power adaptor with an output of DC12V/3A and a 2.5φas illustrated.
DC Plug_in φ2.5

BE220CUSERMANUAL -14-
2.2 Connect a SD/MMC Card
Insert SD/MMC card as illustrated and eject card only when it’s not at reading mode. Note that
there is write-protection toggle switch on the card and make sure it’s not write-protected so data
can be written into the card.
WinCE will then detect the SD/MMC Card and appears a storage card icon as follows:

BE220CUSERMANUAL -15-
2.3 Connect Host USB
Users may connect host USB to any USB1.1 device, for example mouse, keyboard, USB
storage, through a mini-USB cable as illustrated.

BE220CUSERMANUAL -16-
2.4 Connect to LAN
STEP1: Connect to LAN port as illustrated.
STEP2: Click on “ Start-Setting-Networking and Dial-up connections ” to set up a network.
STEP3: Select ” DM9ISA1 ” to set up a LAN parameters.

BE220CUSERMANUAL -17-
STEP4: Select static IP or DHCP IP as appropriate.
STEP5: Select Internet Explorer.
STEP6: Enter URL at the Address box

BE220CUSERMANUAL -18-
STEP7: Enter URL at the Address box

BE220CUSERMANUAL -19-
2.5 Connect Wi-Fi
STEP1: Screw up the Antenna on BE220C as illustrated.
STEP2: Click on the network icon as highlighted to enter the wireless setup.

BE220CUSERMANUAL -20-
STEP3: Click on ” Wireless Information ” tab to set up wireless parameters
STEP4: Click on ”Add New…” to add a new wireless connection.
STEP5: Set up SSID, WEP, IEEE802.1X Authentications parameters as appropriate on BE220C,
then click OK.
Table of contents