
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