BEGA220A USER MANUAL 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 BOLYMIN, INC.
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. BEGA220A USER MANUAL - 2 -...
Page 3
The use of the system in any other combination (such as co-located antennas transmitting the same information) is expressly forbidden. This BEGA220A 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.
Page 5
How to catch the receive message ........................56 3.3.3 Example Code ............................57 GPIO C ........................... 61 ONTROL 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 ADC C ..................64...
1 General Information This chapter provides basic information about Bolymin’s BEGA220A module and it consists of : 1.1 Introduction 1.2 Specifications 1.3 Mechanical Specifications BEGA220A USER MANUAL - 6 -...
1.1 Introduction BEGA220A 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 BEGA220A family : Order Information Part No.
1.1.2 Module Layout Name Description Touch screen To support touch screen operation on BEGA220A Name Description Power socket Use 12V/3A power with a spec. of DC Plug_in 2.5 socket GPIOx12, ADCx6 ADC_GPIO Bus Communication Device USB 2.0 RS-232x3 RS485/422x1(Optional) Host-USB 1.1 Connect to USB 1.1 peripheral (keyboard, mouse,etc)
Page 9
Name Description Wi-Fi Antenna Connect Wi-Fi antenna socket SD Card socket Connect SD and MMC Card (4GB max.) BEGA220A USER MANUAL - 9 -...
NAND FLASH (KEYx12) ADC x 6 DDR II CPU (ARM/400MHz) SRAM EEPROM DC/DC SD/MMC Card Audio Device RS232 Touch Host codec USB 2.0 IF x4 USB 1.1 RS485/ 800*480 Dual TFT-LCD COMMUNICATION BUS 40 PIN BEGA220A USER MANUAL - 10 -...
2 BEGA220A Installation & Testing This chapter provides installation information for BEGA220A 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.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. BEGA220A USER MANUAL - 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. BEGA220A USER MANUAL - 17 -...
Page 18
STEP4: Select static IP or DHCP IP as appropriate. STEP5: Select Internet Explorer. STEP6: Enter URL at the Address box BEGA220A USER MANUAL - 18 -...
Page 19
STEP7: Enter URL at the Address box BEGA220A USER MANUAL - 19 -...
2.5 Connect Wi-Fi STEP1: Screw up the Antenna on BEGA220A as illustrated. STEP2: Click on the network icon as highlighted to enter the wireless setup. BEGA220A USER MANUAL - 20 -...
Page 21
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 BEGA220A, then click OK. BEGA220A USER MANUAL - 21 -...
Page 22
STEP6: Select the wireless access point, or SSID as appropriate, then click ”Connect” to enable wireless connection of BEGA220A. The connection status is shown right beneath the SSID selection box. STEP7: Select ”IP Information” tab and click on “renew” to refresh IP address.
Page 23
STEP9: Enter URL address in the ”Address” box STEP10: then the browser will surf to the URL as specified. BEGA220A USER MANUAL - 23 -...
2.6.2 Serial Port Test BEGA220A provides 3 sets of RS-232 for serial connection. There is also optional RS-485 or RS-422 interface available as options. 2.6.2.1 Connect Serial Port set of RS-232 (Debug Port)(for update only) Connect 1 set of RS-232 on BEGA220A to DB9-female on PC’s COM port. This RS-232 port is used as debug port ONLY with a signal level of +/-12v.
Page 26
RS-232 (COM3) Connect 2 set of RS-232 to PC’s COM port. BEGA220A reserves COM3 port for the 2 set of RS-232 and its signal level is at +/-12 v. Pin Assignment of RS-232 RS-232 DB9 Female BEGA220A Pin No...
Page 27
RS-232(COM4) Connect 3 set of RS-232, which is defaulted to COM4 on BEGA220A, to DB-9 COM port of PC. The signal level runs at +/-12v. Pin assignment of RS-232 RS-232 DB9 Female BEGA220A Pin No Pin Name Pin No Pin Name —...
Page 28
RS-422 (Option)(COM1) BEGA220A supports 1 set of RS-422 serial interface and defaulted to COM1 port. It is supported to use a RS-232 to RS-422/485 converter board to connect to PC’s COM port for connectivity test. Pin Assignment of RS-422 Pin No...
STEP1: Run “hyper-terminal” program under start-program-accessories-communication”, then enter a name for this session and click ok. STEP2: Select PC’s COM port in ”Connect using” box to connect to serial port on BEGA220A. Then click OK. BEGA220A USER MANUAL - 29 -...
Page 30
STEP3: Pull down ”Bits per second” to set up communication speed (usu. Ranges from 9600 to 115200). Make sure the baud rate value is identical to that on BEGA220A. Select None for ”Flow control”, then click “”Apply”, and click ”OK”.
Page 31
BEGA220A set up procedure: STEP1: Select ”My Device” on BEGA220A STEP2: Select “Windows” folder STEP3: Run ”SerialPortTest” BEGA220A USER MANUAL - 31 -...
Page 32
STEP4: ” Here is the initial screen of SerialPortTest” STEP5: Select COM port as appropriate. Pull down at Baud Rate ranged between 9600 to 115200 and use the same value at both BEGA220A and PC end. Then click on “Open port” to activate a serial connection.
Page 33
STEP8: At PC end, you will see the same text entered echoed back. STEP9: Enter some text at PC end and note an echo of the text will appear at RX window at BEGA220A end. BEGA220A USER MANUAL - 33 -...
2.6.3 Device USB installation BEGA220A supports one set of Device USB to communicate with a PC through ActiveSync software for data sync. Here illustrates the connection of Device USB. Please refer to chapter 3.1.1 for ActiveSync operation. Pin assignment of Device USB...
2.6.4 Speaker installation BEGA220A offers 2 sets of speaker circuits to connect to 8 /2W speaker. Connect speakers as illustrated to support audio playback. set of Speaker Pin Assignment of Speaker Speaker BEGA220A Pin No Pin Name Pin No Pin Name...
2.7.2 GPIO Test BEGA220A offers 12 general purpose programmable I/O ports (GPIO). Please refer to sample code at chapter 4.4.The typical signal length is around 10 to 15 cm and the rated voltage is as follows Item Symbol Unit High Level Input Voltage —...
Page 38
STEP3: Run ”GpioTest_220A” STEP4: Here is the initial screen of ”GpioTest_220A” and defaulted to test all KEYs as inputs. STEP5: A green light at KEY stands for a high input signal BEGA220A USER MANUAL - 38 -...
Page 39
STEP6: To test output, pull down the Input and change the KEY to output. STEP7: While KEY is defined as OUTPUT as step6, check on red circle to the left of KEY to generate a high output voltage. BEGA220A USER MANUAL - 39 -...
ADCT0 to be 1.6 volt (ADC readout as 4095 , 12-bit unsigned). Then run the ADC test by using test program as BEGA220A provided. Note that the maximum voltage of ADCTO should not exceed 1.6 volt.
2.7.3.2 ADC test procedure STEP1: Select”My Device”on BEGA220A STEP2: select “Windows” folder STEP3: Run “ADCTest” program by double-clicking the icon. BEGA220A USER MANUAL - 41 -...
Page 42
STEP4: ”ADCTest” initial screen is as follows: STEP5: Click ”Start” button to start testing ADC. STEP6: Adjust variable resistor (VR) and observe the changes in read-out of ADC Port value. Click on “Stop” to finish the ADC test. BEGA220A USER MANUAL - 42 -...
This chapter demonstrates connection from BEGA20A to PC and how to use software to control serial port, GPIO , ADC, and Backlight. This chapter consists of the following: Transfer File Between BEGA220A and PC Programming for BEGA220A Serial Port Function...
1141&displaylang=en&tm After installation, you need to restart PC. STEP 2. Connect desktop PC and BEGA220A by USB cable. Below picture shows the hardware connection between desktop PC and BEGA220A for file transfer. Host USB used for USB 1.0 device, such as mouse, keyboard or USB storage device.
Page 45
STEP 3. Power on BEGA220A and connect BEGA220A and PC by USB cable. For the first connection, windows system on PC will request the USB device driver of BEGA220A. Please install USB driver by following procedures. (1). Select the advance item on below dialog and click “Next” button.
Page 46
(3). Click “Continue” button (4). Click “Finish” button. Now BEGA220A may connect to PC by ActiveSync. BEGA220A USER MANUAL - 46 -...
Page 47
(5). Select “No” and click “Next” button to cancel the synchronization. BEGA220A USER MANUAL - 47 -...
3.1.2 Transfer Files After connecting PC and BEGA220A, below screen will display. The green cycle means the connection between PC and BEGA220A has been built. Execute ”Explore” program and move into the folder of BEGA220A, you can transfer files between PC and BEGA220A.
After the patch, the eVC sp4 version is 4.00.1610.0. 3. Connect BEGA220A and Desktop PC by procedures in section 3.1.2 4. Install SDK of BEGA220A provided by Bolymin. The installation file may be found in the product CD. Here is the download URL: http://www.bolymin.com.tw/manual/BEGA220A_INX_SDK_101109_v094.msi...
STEP 3: Select your application type, setup the location and name of your project and. Please select “WCE MFC AppWizard(exe)” as application type. Project name Project location Application type Only select “ARMV4I” as CPU type BEGA220A USER MANUAL - 50 -...
Page 52
STEP 6: Click “Next” button. STEP 7: Click “Finish” button. STEP 8: Now you can add your codes into this new project. You can get more development information from below MSDN website. http://msdn.microsoft.com/en-us/library/bb847963.aspx BEGA220A USER MANUAL - 52 -...
3.3 Serial Port Function 3.3.1 Overview There are 4 serial ports in BEGA220A. The following table lists the function of each serial port: Name Function Comment COM1: RS-422 or RS485 port Option COM3: Used by application program. 2 wire RS-232 COM4: Used by application program.
3.3.2 Serial Port Control-CSerialPort class Bolymin provided a class, CSerialPort, which implements basic control logic for serial port. Application may use this class by adding “CSerialPort.cpp” and “CSerialPort .h” into project. Customer may modify the source code of class CSerialPort to expand the serial port functions.
Handle of the window that will receive message. receive_msg User defined message value. Return value None Close Function: Close current serial port. Syntax BOOL Close ( Parameters None Return value TRUE: Close serial port successfully. FALSE: Cloas serial port fail. BEGA220A USER MANUAL - 55 -...
STEP 1: Define a receive message in your code as below: const UINT WM_CMD_OK = WM_USER+1; STEP 2: Declare a message processing function in the window that will process receive message. STEP 3: Create message mapping. STEP 4: Implement the receive message processing function. BEGA220A USER MANUAL - 56 -...
3.3.3 Example Code Bolymin provide a test application and its source code for example. Below picture is the screen shot of the serial port test program: Select serial port and setup its parameter values. Open/Close selected serial port. Data will be sent by...
Page 58
DWORD buflen; buf = (char *)wParam; // memory pointer of received data buflen = (DWORD)lParam; // received data length CEdit *pRecvStrEdit = (CEdit*)GetDlgItem(IDC_REC_DISP); for (int i = 0; i < buflen; i++, buf++) tmp.Format(_T("%c"), *buf); BEGA220A USER MANUAL - 58 -...
Page 60
BOOL status = m_pSerialPort->Send(m_cSendBuffer, len); if (!status) MessageBox(_T("Can't write string to COM"),_T("Error"),MB_OK); /******************************************************************************************* Destory function of serial port test dialog ********************************************************************************************/ void CSerialPortDlg::OnDestroy() CDialog::OnDestroy(); m_pSerialPort->Close(); Close current serial port and delete CSerialPort object. delete m_pSerialPort; delete m_cSendBuffer; BEGA220A USER MANUAL - 60 -...
General Purpose Input and Ouput(GPIO) signal. In BEGA220A, there are 12 user defined GPIO. User may read current value of all GPIO of BEGA220A, change values of GP output signal and set the attribute of GPIO by functions in “pGPIO_220A.dll”.
3.4.2 GPIO Control Function for BEGA220A GetGPInput Function: Get current status of specified GPIO. Syntax BOOL GetGPInput ( int gpio_index Parameters gpio_index The index of specified GPIO. Refer to section 3.4.3 for the value definition. Return value TRUE: Current status of specified GPIO is HIGH.
User defined general purpose input/output. (KEY11) GIO_KEY12 User defined general purpose input/output. (KEY12) Backlight control. Default value : HIGH. GO_BLIGHT_ENABLE GO_LCD_POWER_ENABLE LCD power control. Default value : LOW. GO_AMP_SWITCH Amplifier switch. Default vale: LOW. GO_EN485 Reserved for internal use. BEGA220A USER MANUAL - 63 -...
Bolymin provides a dynamic link library “CtrlFunc_220A.dll” which includes all control functions of A/D converter and backlight adjustment. For A/D converter, there are 6-ch A/D converters with 12-bit resolution in BEGA220A. User may read the value from selected A/D converter channel by functions provided by Bolymin.
ReadADC Function: Read A/D converted data from specified A/D converter channel. Syntax Int ReadADC( int adc_channel Parameters adc_channel The index of specified A/D converter channel. ADC_CHANNEL0~ADC_CHANNEL5 Return value A/D converted data from specified A/D converter channel. BEGA220A USER MANUAL - 65 -...
Return value Current brightness value of backlight. (0~100) SetBrightness Function: Set brightness value of backlight. Syntax Int SetBrightness( int new_value Parameters new_value New brightness value of backlight. (0~100) 0: Turn OFF the backlight Return value Original brightness value of backlight. BEGA220A USER MANUAL - 66 -...
File-Property to view folder details. Repeat above steps for PocketMory1. Click Start-Control-Storage Manager to view partition info. Cross reference storage and property to know PocketMory and PocketMory1 allocation/free/used space on 2GB flash memory. BEGA220A USER MANUAL - 67 -...
Page 68
<End of BEGA220A User Manual > BEGA220A USER MANUAL - 68 -...
Need help?
Do you have a question about the BEGA220A and is the answer not in the manual?
Questions and answers