Home
User Manual
Contents
1. 17 18 CSM Din 18 LC D13 20 CS D12 i 21 TOSH Di5 A i 22 LC Di4 23 CSM D17 l 24 CSM D16 25 CSM D19 26 CSM D18 27 LC PIXCLK 28 TC MCLK o 29 CSI VSYNC CAMERA1 amp 20 IC HSYNC J CAMERA2 31 j CS2Dil8 l 32 csizD1i5s 33 CSI2D13 34 CSI2D17 35 CS2D12 36 CSI2D1 6 37 CSI2D19 38 CSI2D14 29 CSI2 HSYNC 40 CSI2 VSYNC 41 GPIO CAM2 LPM O 42 43 e Version V1 0 Page 12 Total 95 DISP1 2 for Series LCD I2C 4 4 ES 4 aV SSCS 4 KeyPad 4 4 4 5 6 T 8 9 50 51 EX 9162M51A SBC User Manual 52 KEY COLS EE UU UO 53 KEY ROWO E 54 KEY ROW1 E 55 KEY ROW2 _ 56 KEY ROW3 X EE UU UO 57 18V Leo IT O 58 5V Leo IT O 59 GND GND TT O 60 3V3 FT EEE AA O E EE 62 LGANI J Lp 63 AUDA RXD f X JfS4JirectinpttoiMX51 64 AUDA TXD o X Sameabove J o OO 65 AUD4 TXFS__ Lo X Sameabove TI 66 AUD4 TXC o X Sameabwe ___ 67 GND 68 OWIRE LINE p 69 AUDIO AGND AGND Le O Audio Output RCh TI Audio Input RCh TI Audio Output LCh TI Audio Input LCh TI S Video Clo LI S Video Lumin yD VideoGND LI Video Composite Signal B Power Supply by SW TI 80 COIN CELL B
2. Parameters NONE Return value Set successful return true else false Version V1 0 Page 52 Total 95 EX 9162M51A SBC User Manual 5 CSPICom Read Data port reception facilities DWORD Read BYTE pData DWORD nLen DWORD amp nOPLen Parameters pData out Point to the receiver buffer nLen in The length of receive data nOPLen out Undefined Return value Set successful return true else false 6 CSPICom Write Write data to the device port DWORD Write BYTE pData DWORD nLen DWORD amp nOPLen Parameters pData inl Point to send buffer nLen in Send data bytes nOPLen out Undefined Return value Set successful return true else false 2 16 4 5 An Example to Call API include libi Communication SPMNSPICom h To create an SPI device interface the code is exemplified as follows CSPICom m pSPlCom NULL m pSPlCom new CSPICom TEXT SPI1 0 Open the port the code is as follows if m_pSPICom gt HasOpened FALSE m pSPlCom Open To read data to the device the code is exemplified as follows DWORD nLength 0 BYTE cText 64 0 m pSPlCom Read cText 2 nLength Write data to the device the code is as follows Version V1 0 Page 53 Total 95 EX 9162M51A SBC User Manual DWORD nLength 0 BYTE cText 64 abcd int nL strlen cText m_pSPICom gt Write cText nL nLength Version V1 0 Page 54 Total 95 EX 9162M51A SBC User Manual 2 17 12C Interface F
3. Version V1 0 Page 32 Total 95 EX 9162M51A SBC User Manual 4 Click the button Scan Device then the Bluetooth module will scan other existing Bluetooth device Ei np 2 a Ww 9 De D Bluetooth Certificates Date Time Dialing Display Freescale Input Panel Internet Keyboard Mouse Device display driver Options Network and Owner e Inquiry Running OK stem volume amp Dial up Ca SE Sounds Untrusted Trusted 5 If the Bluetooth mobile is on the module can scan it and the name and address of the Bluetooth device will be displayed in the dialog Untrusted 0 O a Lh A 9 Pe D Bluetooth Certificates Date Time Dialing un Display Freescale X Input Panel Internet Keyboard Mouse Device display driver Options Network and Owner OK stem volume E Dial up Co Sounds Trusted Version V1 0 Page 33 Total 95 EX 9162M51A SBC User Manual 2 5 2 WiFi Bluetooth API The API fulfills the function of IP Configure POWER ENABLE DISABLE WiFi and BT switch 2 5 2 1 Overview The API provides the switch of WiFi and Bluetooth WiFi or Bluetooth works at one moment alternatively In order for power saving please turn off the power of WiFi Bluetooth Module when no use 2 5 2 2 API Function BOOL WiFiBTPowerOn int nModule BOOL WiFiBTPowerOff int nModule 2 5 2 3 API Function Description 1 CEX 9162M51ACtl WiFIBTPowerOn Set module opened BOOL WiFiBTPowerOn int nModule Parameters
4. a A dd dd dd dd dd dd dd dd dd AAA IIA AAA dd dd dd dd dd dd dd dd ones M51AExample 1 projt CM51AExampleD1g message handlers EI M51AExample files BOOL CMS1AExampleD1g OnInitDialog lt 3 Source Files b M51AExample cpp CDialog OnInitDialog A M51AExample rc 4 M51AExampleDlg cpp Set the icon for this dialog The framework does this automatically A StdAfx cpp when the application s main window is not a dialog gt 3 Header Files SetIcon m_hIcon TRUE Set big icon iB Communi ation h SetIcon m hlIcon FALSE Set small icon Z i2cbus h 12CCom h M51ACtl h 1 M51AExample h BYTE cError E M51AExampleDlg h m pH518 CH518Ctl Create STCBNotifyFun cError M51Base h if m_pM51A NULL Si N51ABCt h newres h Public h m pH518 0pen Resource h StdAfx h PE R p i p p s to a control 73 Resource Files CenterWindow GetDesktoplindow center to the hpc screen return FALSE lt 3 ClassVi fS Resourc FileView X corelibc lib crt8init obj warning LNK4269 debugging information corrupt recompile module linking object as if no debug infca A Creating brouse info file MS1AExample exe 8 error s 4 warning s Dounloading files Failed dounloading N Build Debug X Findin Files 1 Y FindinF in 76 Col21 REC COL OVR READ Z Now the object of EX 9162M51A pointer has been created instantiated as above so you c
5. ES Workspace M51AExample 0 project WCE MEC AppWizard exe Step 1 of 4 Application Sr What type of application would you like to reate Single document Dialog based Iv Document View architecture support What language would you like your resources in z FileView gt N Build Debug X Fndin Files 1 X FindinF Ready click Next until accomplishment It will provide the lib folder copied to the project directory SS M51AExample File Edit View Favorites Tools Help Q es bp J search gt Folders EL Address CiDocuments and Settings AdministratorlDesktop M514Example11514Example File and Folder Tasks ES LJ ARMY4IDbg KH Make a new Folder E Publish this Folder to the MS1AExample cpp M514Example h iweb c C Source CIC 4 X Header Share this Falder Ee KB MS1AExample rc a MS1AExample vcc Ss Resource Script OC File Other Places Uu 5 KB 1 KB CH MEIAExample Ms1AExample vcp M514Ex ampleDlg cpp G My Documents evil 3 4 Project k C Source ZER ZER CH Shared Documents e Y My Computer a MbiAExampleDlg h newres h CiC Head CiC Heade amp J My Network Places r Ce Reade txt Resource h Details Text Document CIC Header 4 KB i 1 KB SEdAFx cpp Std Arsh C Source CIC 4 Header 1 KB ZER M51AExample vcl HTML Document 3 KB Click Compile shown below Version V1 0 Page 7 Total 95 EX 9162M51A SBC Use
6. Open Open the Device Communication port BOOL Open Parameters NONE Return value Set successful return true else false 3 Cl2CCom Close Close Communication Ports BOOL Close Parameters NONE Return value Set successful return true else false 4 Cl2CCom HasOpened Whether the Communication ports are opened BOOL HasOpened Parameters NONE Return value Set successful return true else false 5 Cl2CCom Read Data port reception facilities DWORD Read BYTE pData DWORD nLen DWORD amp nOPLen Parameters pData out Point to the receiver buffer nLen in The length of receive data Version V1 0 Page 56 Total 95 EX 9162M51A SBC User Manual nOPLen out Undefined Return value Set successful return true else false 6 CI2CCom Write Write data to the device port DWORD Write BYTE pData DWORD nLen DWORD amp nOPLen Parameters pData inl Point to send buffer nLen in Send data bytes nOPLen out Undefined Return value Set successful return true else false 2 17 4 5 An Example to Call APIs include libi CommunicationM2CM2C Com h Create an I2C device interface the code is as follows CIl2C Com m pl2CCom NULL m pl2CCom new Cl2CCom T 12C1 0x01 Open the port the code is as follows if m_pl2CCom gt HasOpened FALSE m_pl2CCom gt Open Read the device registers in the data the code is as follows This case of operation for the 16 register BYTE Regis
7. nModule in The specified module ID 1 WIFI 2 Bluetooth Return value Set successful return true else false 2 CEX 9162M51ACtI WiFiBTPowerOff Set Module Close BOOL WiFiBTPowerOff int nModule Parameters nModule in The specified module ID 1 WIFI 2 Bluetooth Return value Set successful return true else false 2 5 2 4 Application Example If set to open WIFI module the code is as follows m pDvcBase WiFiBTPowerOn 1 Version V1 0 Page 34 Total 95 EX 9162M51A SBC User Manual If set to turn off WIFI modules the code is as follows m pDvcBase WIFiBTPowerOff 1 Version V1 0 Page 35 Total 95 EX 9162M51A SBC User Manual 2 6 KeyPad Function 2 6 1 Introduction The KPP Keyboard Port is a fixed key function as below b cu i cu KEY_COLO lt gt KEY COL1 7 4 5 6 p i E KEY COL2 7 A cu Lu m ES l e LI G LA LA X m m Ch x e C El El I un F 18 KEY Roum 18 KEY ROW lt 18 KEY ROW2 gt 18 KEY ROW3 7 Figure 2 8 Keypad Layout 2 6 2 Connector KPP port can be found on Port B Connector 2 6 3 Electrical Parameters Table 2 6 Key Board Electrical Parameters Min Typ Max Unit Low level output voltage MOL 045 V High Level DC input voltage VIH 22 33 V VL 0 045 V High level output voltage O VIH VIL Low Level DC input voltage Version V1 0 Page 36 Total 95 EX 9162M51A S
8. 44 242 4 Ee EE 44 2422U09B OTG PInD dellillo sso ovs ctas Hoo a D roD t Eos 44 A ee 44 Za SOHAL POr FUNG HOM TT T S TU TITULI 45 2 19 AO EE 45 2 13 2 Serial Port Gonnectofr is eade teh ande 45 2 15 9 902392 Pin DeSCHIDHOD since qoi panis Cb MO avr vint Be ps cO rr IEEE aetna 45 Zoe ob ot Ee 45 2 19 9 Electrical Paramete Sne a 46 A E 47 E ei TEE 47 2 14 24 1 HIEMER taaan tica 47 2 149 API Function DESCMDTOM E 47 2 14 4 An Example to Call Ais 48 ZNO ADE FUNC WOM ETE aran ars 49 Zh OW PANE OV EI VICW queres ds A EE 49 2 19 2 FAP TLPUDCIOD EE 49 2 15 3 API Function Description erra cien in ca D RD EF C n RR 49 2 15 4 An Example to Call APIS EE 50 2216 SF Interface FUNCH a r li 51 e en Elle e eiel Lee EE 51 2 16 2 Electrical Parameters eene 51 ZUMOS COMME Sarna darte 51 VO SAA AAA AN 51 ZANE EES iso 55 2 4 Ys WMP CUCU OM EE 55 2 Kee 12 Pi DESCUIDO I ssi daa 55 ZANE NR ele ere EE 55 Zu de EE EE 55 ZI THISIZC ATIS EE 59 2 19 CAN BUS FUNGUO raras tasador 62 2 10 Mia tee ee EE 62 2 10 2 Electrical Paramete S ninia ia 62 2 18 3 Pin Description of CAN BUS mener 62 21O ACAN BUS GE 62 Chapter 3 Application Development Gude cece eeeeeeeseteeeteeeeeeeaeeeeeeseeeaaes 66 3 1 Application Development Architecture oocooccoccconconconnccnconconnocnonnconnononnncaninnos 66 Version V1 0 Page 4 Total 95 EX 9162M51A SBC User Manual 3 2 HOW TO Connecb WIth E 66 3 2 1 Install the Software Tool Microsoft ActiveSync 0a
9. 9162M51A eo Before connecting or removing signal cable from the single board ensure that all power cables are unplugged Seek professional assistance before using an adapter or extension cord These EX 9162M51A could interrupt the grounding circuit e Make sure that your power supply is set to the correct voltage in your area If you are not sure about the voltage of the electrical outlet you are using contact your local power company e f the power supply is broken do not try to fix it by yourself Contact a qualified service technician or your retailer Version V1 0 Page 1 Total 95 EX 9162M51A SBC User Manual Operation Safety eo Before installation please carefully read all the manuals that came with the package eo Before using the product make sure all cables are correctly connected and the power cables are not damaged If you detect any damage contact your dealer immediately e To avoid short circuits keep paper clips screws and staples away from connectors slots sockets and circuitry Avoid dust humidity and temperature extremes Do not place the product in any area where it may become wet e Place the product on a stable surface e f you encounter technical problems with the product contact a qualified service technician or your retailer Caution The symbol of the crossed out wheeled bin indicated that the product electrical and electronic equipment should not be placed in municipal waste
10. B J6 for the function of DC SPI GPIO ADC UART USB S Video Signals Key pad and so on The function s detailed description will be shown on Chapter 2 Port J7 is display port 1 and J4 is the mirror to J7 pins left right reversed placed on Top layer J5 J6 and J7 are used to plug with Carrier Board EX 9162X51AB directly 1 6 1 Connector Location Diagram Figure1 4 Connector Location Diagram 1 6 2 Pin Assignment Table 1 1 Port A J5 Extension Pin Description Pin Name J Sym PortFunction Remak USB HS DP USB Host USB Host port USB HS DM UO 3 5SV po 5VPowerOutput Output from DC2DC 4 GND GND Il RXD1 i 6 1D LO UARTI System Debug port iMX51 UART port 1 7 RTS pj 8 etsi o 9 RXD2 J 10 TXD2 o UART2 Optional provided only 11 RTS2 hen no Bluetooth IUS sevens ee 12 CTS2 o Version V1 0 Page 10 Total 95 EX 9162M51A SBC User Manual A ESCHER xDIO1 Us UO I2 7 V in out Set by SW API 19 CSPM MOS o 27 20 CSPM MISO 27V Tea 22 CSPM SCLK lo 27V DENEN A VEN 24 Lan SS1 to 25 3V3 po j345VSupplyfomPMIC 26 xa4 LAN 2 5V 12bitADC 27 Lon IN X 295V12btADC TI 28 xpioo WO ImoutSetbySWAPI_____ _________ 29 xpiog VIO InoutSetby SW API J 0 20 xposg O JlvoutSetbySWAP J 31 xpio3 WO Info
11. CEX 9162M51ACtl SetAudioVolume Set the output volume BOOL SetAudioVolume int nLVol int nRVol Parameters nLVol in Specify the value of the output volume of the left channel in the 0 31 range nRVol in Specify the value of the output volume of the right channel in the 0 31 range Return value Set successful return true else false 4 CEX 9162M51ACtl GetAudioVolume Get the output volume BOOL GetAudioVolume int amp nLVol int amp nRVol Parameters nLVol out The volume of the left channel value the range of 0 31 nRVol out Right channel volume value the range of 0 31 range Return value Get successful return true else false 2 4 2 4 An Example to Call APIs If the sound channel to switch to the system the code is as follows m pDvcBase SetAudioln 0 m pDvcBase SetSpeakerCh 0 If the voice switch to the Line1 channel the code is as follows m pDvcBase SetAudioln 1 m pDvcBase SetSpeakerCh 0 If the switch to the GSM voice channel the code is as follows m pDvcBase SetAudioln 5 m pDvcBase SetSpeakerCh 0 Version V1 0 Page 25 Total 95 EX 9162M51A SBC User Manual Set the system volume to 20db the code is as follows m pDvcBase SetAudioVolume 20 20 Version V1 0 Page 26 Total 95 EX 9162M51A SBC User Manual 2 5 WiFi Bluetooth Function EX 9162M51A offers a full featured WiFi 802 11b g n or Bluetooth V2 1 EDR dual radio module that simultaneously provides WiFi and Bluetooth con
12. Check local regulations for disposal of electric products Packing List Before you begin installing your single board please make sure the following materials as attached e 1 x EX 9162M51A Single Board e 1 x USB A type female to Mini USB A type male converter e 1 x CD with User Manual Driver Software Tools e 1 x Warranty card e 1 x Earphone Set If any of the above item is damaged or missed please contact your retailer Revision History Date Match Revised Location Revision 2010 07 22 First Release Se Helen Hellen E Janice Version V1 0 Page 2 Total 95 EX 9162M51A SBC User Manual CONTENTS Grejeiioludeie 1 Re EU un EE 1 ere laten e NE o o PEO e TE mm 1 Sege Sale E 1 a A 2 EEI AE E N 2 REVISION RIS ON M RE oo E E E LT 2 Chapter 1 Product Introduction cooccocccoccconnconiconconnconnnnncconnonnconocononononnncnnnnnnconnnnrnnannns 6 MAA CS NT t 6 1 2 SD SCI CANONS X X 6 e AGN ai lisa E A T A ROE E 8 1 5 Board Layout and Dimension eese nnns 9 1 6 Extension Connechors nennen nennen nnne nena sra sre ns 10 1 6 1 Connector Location Diagram occcoccccccncccncoonncocnnonncnnnnnnnncnanononnnncnnnanonoss 10 1 0 2 P eiit ins 10 T7 Power RTE oie 16 1 7 1 Powe
13. Down Link 1 src IP 182 158 1 T Port O400 Dest IP 1892 1B8 1 100 Port OFBS Ethllown TFTPD_ PEN boot bin EbootSendbootmeaAndi ai tForTfitp INFO EMMultiBINHotify dwHumRegions 1 dwRegionStart OxX9T2A00007 INFO EMVerifyMemory CA Ox9TZAD000 FA OxBSDADOOO length 0x1691060 INFO Downloading HE HAHI image Seat Oe GU Blat Tine sena Clear Download is Completed INFO Read is 97 complete INFO Read is 95 complete INFO Read is 99 complete INFO Read is 100 complete INFO Verifying image INFO Update of HE completed successfully Reboot the device manually SpinForever Plain T F Power on again you My Devica will launch the latest ej WinCE Demo Apps gt Microsoft KO Explorer BE Media Player Lg Version V1 0 Page 90 Total 95 EX 9162M51A SBC User Manual Appendix C EX 9162M51A IP Setting Please follow the steps to set the IP address 1 Open 2 P setting E Programs Ze Favorites i 1 Documents lt a Network and Dial up Connections Taskbar and Start Menu E Settings RESRHEREHEERHEHRREREEHRERRE File Edit View Advanced Make Mew LSB Connection IP Address Name Servers An IP address can be automaticaly assigned to this computer If your network E Specify an IP address does nat automatically assign MER IP addresses ask your network Een administrator for an address Subnet Mask EN and then
14. SemPot Y Y SCOMPORIS N v een o Y Y ADC zizi lt lt lt lt lt Zz lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt 120 merae A eanes nn SRM NA ETT A Y Z Z lt lt lt lt lt lt lt GSM amp GPRS lt lt Version V1 0 Page 18 Total 95 EX 9162M51A SBC User Manual 2 2 Power Management This section describes the programmable power supply APIs for EX 9162M51A 2 2 1 Overview EX 9162M51A provides two kinds of adjustable power supply for external application VOA and VOB whose voltage can be programmable within a limited range VOA can supply 4 step voltage under 150mA capacity VOB supply 2 step voltages under 50mA 2 2 2 API Function Call 1 BOOL SetVoltage REGULATOR VREG regulatorrREGULATOR VREG VOLTAGE voltage 2 BOOLGetVoltage REGULATOR VREG regulatorrREGULATOR VREG VOLTAGE voltage 2 2 3 API Function Description 1 CEX 9162M51ACtl SetVoltage Set outside for the voltage BOOL SetVoltage REGULATOR VREG regulator REGULATOR VREG VOLTAGE voltage Parameters REGULATOR VREG in Specified pin VOA VREG VOB VREG REGULATOR VREG VOLTAGE inDesignated VOA VOB side were outside the range of values for the voltage VOA VOA 2 30V VOA 2 50V VOA 2 775V VOA 3 000V VOB VOB 1 80V VOB 2 90V Return value Set successful return true else false 2 CEX 9162M51ACtl GetVoltage Get the current value of foreign su
15. Test Enter your selection Send gt O Hex S Char Plain Text v Real Time Send Comm Status CTS TI um Version V1 0 Page 87 Total 95 EX 9162M51A SBC User Manual Find out the installation document WinCE bin load zip then unzip it WinCE bin load zip WinRAR ZIP Geet tt 46 EE WinCE bin load bat tftp win agent exe d MS DOS HALET 1 KB EE gegen WinRAR ZIP Gs IP setting Open Edit Edit with visual Studio send To b ut Copy Paste Create Shortcut Delete Rename Properties Set the IP address Make sure the two have same IP addresses TFTP_win_agent i p980 192 168 1 78 PUT BOOT BIN Boot Loader Configuration DI IP address 192 168 1 TO 1 Subnet Mask 255 255 255 0 Copy the newest NK to the same directory and NK s name must be boot bin WinCE bin load rip H E i WinCE bin load bat boot bin WinRAR ZIP HB ene pur ere 1s SC GH BIN irf 46 EB OR oo oo ons 22 627 KB Version V1 0 Page 88 Total 95 EX 9162M51A SBC User Manual B 2 Download NK NK is an executable image file for EX 9162M51A You could create it with Microsoft Platform Builder Here we brief how to download NK into EX 9162M51A Boot Loader Configuration Input dy DI IF address 192 168 1 70 1 Subnet Mask 255 255 255 0 2 Boot delay Z seconds 31 DHCP Disabled 4 Reset to factory default configuration 5 Autoboot HE from HA
16. This case of operation for the 8 register BYTE Registers 5 0 DWORD nLen 0 Registers 0 0x02 Register Address ifrm pHSI2CCom Write Registers 1 nLen FALSE return FALSE delay Sleep 20 ifm pHSI2CCom Read Registers 1 nLen FALSE return FALSE Write data to the device registers the code is as follows Registers 0 0x02 Register Address Registers 1 Ox1 Data iffrm pHSI2CCom Write Registers 2 nLen FALSE return FALSE Version V1 0 Page 61 Total 95 EX 9162M51A SBC User Manual 2 18 CAN Bus Function 2 18 1 Introduction Designed for operation in especially harsh environments these devices feature cross wire protection loss of ground and overvoltage protection over heated protection as well as wide common mode range The transceiver interfaces the single ended CAN controller with the differential CAN bus found in industrial building automation and automotive applications It operates over a 2V to 7V common mode range on the bus and it can withstand common mode transients of 25 V 2 18 2 Electrical Parameters Table 2 18 Electrical Parameters Parameter Sym Min Typ Max Unit High level output voltage Low level output voltage MOL 015 V High Level DC input voltage MI 22 315 V Low Level DC input voltage 2 18 3 Pin Description of CAN Bus Table 2 19 CAN Pin Description Pin J6 Pin Name Sym Description 2 18 4
17. an address Subnet Mask 255 255 255 0 and then type it in the space B provided Default Gateway 192 165 1 1 ETT i fultlej gt Version V1 0 Page 38 Total 95 EX 9162M51A SBC User Manual Then configure Name Servers for instance set Primary DNS as 192 168 1 1 78 p Le ni i p d n Make New LISB COM LIFMP 1 c Connection FEC Ethernet Driver Settings IP Address Mame Servers Mame server addresses may be Primary ONS automatically assigned if DHCP is enabled on this adapter Secondary DNS YOU can specify additional WINS or DNS resolvers in the mer Z space provided Secondary WINS Ser Sii 2 e b n m 1 17 eje At last click OK and you can browse explorer ES address http aww msn cor y B Hatrnail Messenger Bing mw o oe News Entertainment Sports Money Lifestyle More Local Ec Thursday May 20 2010 Advertisement Does Shrek Forever M After Measure Up The green ogre s back for a fourth movie but is it better than the dreadful Shrek the Third Read aur review POPULAR SEARCH Why parents love animated sequels 4 Ld Done g Internet Version V1 0 Page 39 Total 95 EX 9162M51A SBC User Manual 2 8 SD Card Function The Secure Digital Card SD is an evolution of MMC technology It is specifically designed to meet the security capacity performance and environment requirements
18. an application in EVC or Microsoft Visual Studio downloading will be done automatically when you ve compiled your application The EVC and Visual Studio finish compiling first then use ActiveSync to download the result files of compilation to the EX 9162M51A 2 In case of downloading other files into the EX 9162M51A please click My Computer in PC desktop and you will find an icon Mobile Device which will show up when you ve installed the Microsoft ActiveSync Mobile Device You can also open the ActiveSync and click Explorer and you will see all the files in the EX 9162M51A like the picture below Version V1 0 Page 71 Total 95 EX 9162M51A SBC User Manual Hetwork profiles LJ EE O E Program Files LJ Recycled Control Fanel Temp Windows UV UV It is just like a folder of PC copy and remove files like what you do in PC 3 4 SDK Install Uninstall Before developing Windows CE 6 0 applications for EX 9162M51A an installation of M51 SDK M51 SDKXX MSI is required It can guarantee that your program be executed correctly in WinCE 6 0 OS This is the standard Microsoft WinCE application development SDK Please refer to the corresponding Microsoft document for the related application development 3 4 1 Install SDK The following steps will lead you to install the M51 SDK into your Windows OS source code tree and the Microsoft eMbedded VC or Microsoft Visual Studio 2005 development environment 1 Inst
19. and 3G GSM audio path And audio output multiplexer has two input paths from EX 9162M51A audio output and 3G GSM voice output 3G GSM has only one single audio channel 4 channel external audio Line input and internal audio channels are designed for system debug port GPS port etc Totally six ways of Audio input channel provide switching including the system GSM Line1 Line2 Line3 Line4 Two way output channel including systems GSM and volume control 2 4 2 2 API Function BOOL SetAudioln int channelln 2 2 BOOL SetSpeakerCh int channelOut BOOL SetAudioVolume int nLVol int nRVol BOOL GetAudioVolume int amp nLVol int amp nRVol 2 4 2 3 Audio API Description 1 CEX 9162M51ACtl SetAudioln Set six input channels BOOL SetAudioln int channelln Parameters channelln in Specified channel number 0 system 1 Line1 2 Line2 3 Line3 4 Line4 5 GSM Return value Set successful return true else false 2 CEX 9162M51ACtl SetSpeakerCh Set output channel Usually select the input channel for the system Line1 Line2 Line3 Line4 the output channel is set to the system only when you select GSM as the input channels are required to set the output channel for the GSM Version V1 0 Page 24 Total 95 EX 9162M51A SBC User Manual BOOL SetSpeakerCh int channelOut Parameters channelOut in Specified channel number 0 system 1 GSM Return value Set successful return true else false 3
20. and Run for the guide if necessary 2 Connect the peripherals to EX 9162M51A board Please refer to 2 7 2 LAN Configure and 2 13 Serial Port for the guide if necessary Debug Port Version V1 0 Page 86 Total 95 EX 9162M51A SBC User Manual 3 Power on and enter into the interface EBOOT SETTING Please refer to Appendix A Boot Setting for more details ARM CLOCK 266000000 Hz IP CLOCK 133000000 Hz AHE CLOCK 133000000 Hz IPG CLOCK BES00000 Hz HFC CLOCK 26600000 Hz GALE CLOCK BES00000 Hz PER CLOCK BBS00000 Hz Soll CLOCK 17119300 Hz sole CLOCK 17119300 Hz FIRI CLOCK 1575000 Hz CSI CLOCK 429975 Hz USB CLOCK BO000000 Hz SIM CLOCK BBS00000 Hz INFO OEMPlatformInit Initialized NAND flash device INFO Loading boot configuration from HAD System ready Preparing for download Press ENTER to launch image stored in HAND flash or SPACE to cancel Initiating image launch in 2 seconds Boot Loader Configuration DI IP address 192 168 1 70 1 Subnet Mask 255 255 255 0 2 Boot delay 2 seconds 31 DHCF Disabled 4 Reset to factory default configuration 5 Autoboot HE from HAND BI MAC address 2 3 6 2 5 6 TJ Format OS HAND region B Format ALL HAND regions S Save configuration DI Download image now LI Launch existing flash resident image now F Select Led Panel Type Current Fanle is JoinTech T GA Panel RJ Set Led Display Rotation Current Rotation 15 0 Degree TJ Led
21. inherent in newly emerging audio and video consumer electronic EX 9162M51As 2 8 1 Connector Figure 2 10 SD Card Connector 2 8 2 SD card identify The time for SD card identifying is various depends on the SD card capacity So far the max capacity ever tested is 32GB Version V1 0 Page 40 Total 95 EX 9162M51A SBC User Manual 2 9 LCD Display Function 2 9 1 Approved LCD panel The following LCD panels have been tested and approved for the EX 9162M51A board Please refer to the following specifications to determine which model to incorporate into your application Many LCD module could match EX 9162M51A but LCD change needs to modify LCD device driver and backlight power because there is no standard LCD interface in LCD field We provide some converter boards for different LCD panels such as 7 TFT 7 LVDS and VGA Monitors etc Table 2 7 3 5 LCD general specification Example E LATN Wok TA DELI ago RN Color configuration R G B stripe MEN Overall Dimension 77 8 W x66 0 H x5 5 T Imm Input Interface Digital 18 bits RGB BEES UU Power Consumption 185mA in all black D 3 0 3 6 Table 2 8 7 LCD general specification Example Model AM 800480E3TMQW TO1H A Unit Screen Size JTinch dagond 152 Ee 44 D mm Pixel pitch UE mm Colorconfiguraion R G B Vertical stipe IL 165 W 104 H 7 06 D KEE Backlight unit LED BEEN Power Consumptio
22. necessary resistor networks to reach it 2 13 2 Serial Port Connector Available on PORT B connectors 2 13 3 RS232 Pin Description Table 2 11 RS232 Pin Description Pin Name Sym Functin 2 RXD Serial Data Input RXD 3 TXD O Serial Data Output TXD Ground Signal This line informs the Modem that the UART is ready to exchange data 8 CTS 1 This line indicates that the Modem is ready to exchange data 2 13 4 Port List UART1 iMX51 default for system console debug port RS232 driver chip UART2 Optional available only in case of no Bluetooth UART3 On extension port B 3 15V signal without RS232 driver Table 2 12 UART Port List No Functions WinCE COM COM1 RS232 COM port1 System console debug port COM2 7 RS232 RS232 COM port2 Optional this port shares with Bluetooth EE 3 15V UART COM port3 Without RS232 driver chip H On extension Port B J6 pin 5 pin 6 Version V1 0 Page 45 Total 95 EX 9162M51A SBC User Manual 2 13 5 Electrical Parameters Table 2 13 UART Electrical Parameters Parameter Sym Min Typ Max Units High level output voltage Low level output voltage MOL J 015 V_ High Level DC input voltage VIH 22 33 V Low Level DC input voltage VIL O0 045 w Table 2 14 RS232 Electrical Parameters Parameter Condition Min Typ Max Units a a E n Driver Outputs Output Resistance reui
23. pDvcBase sCAN SetConfig m aCanbus Send data to other devices the code is as follows BYTE cText 8 abcdefg Int nL Strlen cText CanTxMsg alxMsg Version V1 0 Page 64 Total 95 EX 9162M51A SBC User Manual aTxMsg Stdld 1 alxMsg Extld 2 aTxMsg RTR CAN RTR DATA aTxMsg IDE CAN ID STD aTxMsg DLC 8 memcpy aTxMsg Data cText nL m pDvcBase sCANSend BYTE amp aTxMsg sizeof CanTxMsg Receiving data from other devices the code is as follows CanRxMsg aRxMsg m pDvcBase sCANRead BYTE amp aRxMsg sizeof CanRxMsg Version V1 0 Page 65 Total 95 EX 9162M51A SBC User Manual Chapter 3 Application Development Guide 3 1 Application Development Architecture PC EX 9162M51A SDK EX 9162M51A SDKX X msi M31D SDEL 0 MSI Been ife Installe Connect ActiveSync Development TOOL zi EVC 7 VS2005 EX 9162M51A Mapping FA Mobile Device Figure 3 1 Application Development Architecture 3 2 How To Connect with PC This section describes how to connect your EX 9162M51A to PC Microsoft provides an application tool for connection named ActiveSync 3 2 1 Install the Software Tool Microsoft ActiveSync ActiveSync is an application used for communication between EX 9162M51A and PC under Windows CE so the installation of ActiveSync on your PC is required Version V1 0 Page 66 Total 95 EX 9162M51A SBC User Manual 1 Obtain the tool Microsoft
24. strRecvData d m 5 ttinclude stdafx h Ss x i SS Workspace M51AExample 1 proje include H518Example h EH M51AExample files include M518ExampleDlg h 43 Source Files M51AExample cpp tifdef _DEBUG t M51AExample rc iidefine new DEBUG_NEW Li M51AExampleDlg cpp Hundef THIS FILE E StdAfx cpp static char THIS FILE FILE 3 Header Files Wendif 8 Communication h B i2cbus h i l2CCom h EMULE LLAMA AAA AAA AAA AAA A AAA DAS E M514Ct h CHS1AExampleD1g dialog 13 M51AExample h E M51AExampleDlg h void STCBNotifyFun charx pData int nLen E M51Base h 3 N51ABCtl h 3 newres h d B Public h CH518ExanpleDlg CH518ExampleDlg Clndx pParent x NULLx 3 Resource h CDialog CM51AExampleD1g IDD pParent StdAfx h Resource Files AFX_DATA_INIT CMS1AExampleD1g lt NOTE the ClassWizard will add member initialization here Z YMAFX A 3 ClassVi de VALE DATA THTT X corelibc lib crt8init une dd LNK4289 debugging information corrupt recompile module linking object as if no debug infta E Creating brouse info file MS1AExample exe 8 error s warning s Dounloading files Failed downloading EPN Build Debug A Findin Fles 1 Y FindinFl Ze Ln76 Col 21 REC COL OVR READ y Si M51AExample Microsoft eMbedded Visual C M51AExampleDlg cpp jg File Edit View Insert Project Build Tools Window Help 8 HO E SE rip Es ah strRecvData d J KH
25. type it in the space m provided Default Gateway EB EN ER ERR Select Keyboard Version V1 0 Page 91 Total 95 LargekB Hide Input Panel zm Za EX 9162M51A SBC User Manual DM9000A Fast Ethernet Adapter Settings Set the IP address IP Address Name Servers An IP address canbe O Obtain an IP address via DHCP automatically assigned to this Du if your network Specify an IP address Rea P Address 192 166 y 70 administrator for an address subnet Mask gt and then type it in the space EE provided Default Gateway dm dog des EE DMSO004 Fast Ethernet Adapter Settings IP Address Name Servers Name server addresses may be Primary DNS 211 167 97 200 167 97 200 automatically assigned if DHCP 2 is enabled on this adapter Secondar y DNS 192 168 1 1 158 1 You can specify additional EES WINS or DNS resolvers in tne Inani WINS space provided Secondary WINS 3 Login network slt Et Explorer Version V1 0 Page 92 Total 95 EX 9162M51A SBC User Manual Appendix D Terminal Tool Setting Please set the terminal tools step by step 1 Open fan Programs Be Communicatic Ze Terminal Se Favorites Demo Apps 1 Documents fie Command Prompt Settings amp 9 Internet Explorer File Edit e Media Player BF Microsoft WordPad i 2 Windows Explorer MES EN gt c Session Properties Creating an Communications
26. 2X51AB for more IO extension for more information contact our customer service now Version V1 0 Page 6 Total 95 EX 9162M51A SBC User Manual 1 3 Block Diagram Bs CSPH mn CAN oon UART1 UART2 R amp 232 232 UARTI T xGPIO i RS232 pes Ea GPIO T Min i DISP OR LAN i i LAN 10 100M PHY RHS SMO J SCOKET ors AUDIO AUDIO PROCS JACK PYS 35V dc POWER DC2Dc MAMAGEMNT E Figure 1 1 EX 9162M51A block diagram BATT EX 9162M51A is designed based on the new generation advanced ARM Cortex A8 CPU iMX51 It is characteristic of lower power consumption as well as powerful multi media entertainment applications EX 9162M51A is integrated with necessary functions inside the compact PCB please refer to the above block diagram Port A and Port B are extended ports 2x42 pins with 1 27mm pin pitch placed on both side of PCB bottom layer EX 9162M51A provides dual display ports Display 1 is the default port 24 bit RGB CMOS level for proper TFT LCD panel There are many display converter boards available for different LCD Panels The Display port 2 can be set as om display port or LAN port default Disp2 is used as a LAN function This is fixed according to your order There are multiple power inputs Wide Range 6 5 35Vdc 5V direct or 3 6V Li battery power CET Sg etc TypeofPowerlnput of Power Input Wide Range Please use When tous on Port B rang
27. 2cbus h Library file M51SeriesAPl lib M51SeriesAPI dll 3 5 3 API Member BOOLGetlibraryVersionchar pVer BOOLGetlibraryVersionchar pVer pVer CEX 9162M51ACtl Create BYTE amp nErrcode BOOL HasOpened void BOOL Open void BOOL Close void BOOL WiFiBTPowerOn int nModule WIFI BlueTooth BOOL WiFiBTPowerOff int nModule BOOL SetAudioln int channelln BOOL SetSpeakerCh int channelOut Audio BOOL SetAudioVolume int nt vol mt nRVol BOOL GetAudioVolume int amp nLVol int amp nRVol BOOL sCANOpen void BOOL sCANClose void CANBUS BOOL sCAN Pes CANStructure amp mE BOOL sCANSend unsigned char pBuf int nLen BOOL sCANRead unsigned char pBuf int nLen BOOL sDIO SetConfig DIO16 nPortConfig BOOL sDIO GetConfig DIO16 amp nPortConfig BOOL sSetDOState DIO 16 nPortOut BOOL sGetDIState DIO16 amp nPortln BOOL sGetAINState AIOADC amp nAlOIn Version V1 0 Page 73 Total 95 EX 9162M51A SBC User Manual BOOL SetAINConfig AIOCONFIG aAlOConfig BOOL GetAINConfig AIOCONFIG amp aAlOConfig BOOL ADCGetSingleChannelEightSamples WORD channels WORD pADCOut BOOL SetVoltage REGULATOR VREG regulator REGULATOR VREG VOLTAGE voltage BOOL GetVoltage REGULATOR VREG regulator Voltage REGULATOR VREG VOLTAGE voltage BOOL HasOpened void EM BOOL Open void Communication BOOL Close void HSI2C DWORD Read BYTE byDataAry DWORD nLen DWORD amp nOPLen DWORD Write BYTE byDataAry DWORD nLen DWORD a
28. AT Coin Cell Battery Input ND A 6 5V 35Vdc Input o 0 0 2 PQ Power Supply Notes A When use wide range power input please short R97 0R DC2DC is a wide range DC input and generates 5V If 5Vdc power supply is applied please connect to WALL DV IN directly Port B J6 pin 83 If you will use battery please apply Li ion Battery 3 6V 4 2V BAT1 connector EX 9162M51A has Battery Charger built in Version V1 0 Page 13 Total 95 EX 9162M51A SBC User Manual Table 1 3 J4 Display1 Pin Description Pin Nam Sym Description 1 DISPP DATO Jo BO0 lsb_ _ _ J 2 DISP1 DATI igi Ba 3 X DISP1 DAT2 lo B2 4 DISP1 DAT3 C B3 5 DISP1 DAT4 LQ BA ER DISP1 DAT5S o B5 1 0 10 1 1 DISP1 DAT6 ES a 8 DISP1_DAT7 9 GND 410 DISP DT8 o Grp 411 DISP DA9O Jo GA gt 12 G2 13 DISP DT log GR 414 DISP1 DAT12 o G4 5 15 DIP DTi3 o GS 416 DISP1 DATI4 o G6 O 17 DISP1 DATIS o X j Grmsb 18 GND J J Jee J 3 19 DISP DATI6 o Soen DISP1 DAT17 o R S 21 DISP1 DTi8 log SZ O 22 DISP DTIO Io R DISP1 DT20 o RA DISP1 DAT21 Jo DISP1 DAT22 Jo GND Ground PO 3V LEO 9 LCD power No supply LCD Backlight PO LCD power No supply LCD Backlight HSYNC MiGs ME VSYNC
29. ActiveSync installation file The version should be 3 8 or later You can download the newest version from the Microsoft Web Site http www microsoft com downloads browse aspx displaylang en amp productID 44C5 CD04 E8D3 4E3A A3A5 31A4D151F 304 2 Install the Microsoft ActiveSync following the steps provided by the wizard This installation needs about 20MB disk space 3 2 2 Run and Configure the Microsoft ActiveSync This section describes how to configure the ActiveSync for connection 68 Microsoft ActiveSync BETA S i 1 Find and run the ActiveSync File View Toole Hele then the chart will appear E M ee Mot connected Hide Details amp Information Type Status G Microsoft ActiveSync BETA 2 Click File Connection eee View Tools Help settings SEET Connection Settings Hide Details ZG Information Type Status Version V1 0 Page 67 Total 95 EX 9162M51A SBC User Manual EY Connection Settings 3 Select Allow USB connections on the dialog Connection Settings then i Show status icon in taskbar click OK Figure 4 3 Iw Allow USE connections Waiting for device to connect Allow connections to one of Ehe Following ESE El This computer is connected to Automatic h Iw Open Activesync when my device connects Allow wireless connection on device when connected to the desktop Help OK Cancel Since EX 9162M51A does not support COM port
30. BC User Manual 2 LAN Function 2 7 1 Introduction The Local Area Network LAN is a low power 10BASE T 100BASE TX physical layer PHY transceiver that transmits and receives information through unshielded twisted pair cable 2 7 2 LAN Configure Figure 2 9 LAN Connector Please follow the steps to activate LAN WinCE6 0 Start Settings Network and Dial up Connections My Device Recycle Bin Iv y Documents ma Demo Apps H Internet Explorer work and Dial up c onr mectio ns Version V1 0 Page 37 Total 95 EX 9162M51A SBC User Manual Right click FEC1 Properties then dialog FEC Ethernet driver Settings will pop up File Edit View Advanced SW 9 Make Mew LISB COMI LED Connection Disable Set as Default Desktop Shortcut Delete Rename Properties FEC Ethernet driver Settings gt IP Address gt Select Specify an IP address please fill in the number of IP address subnet mask and default gateway for example IP address 192 168 1 58 subnet mask 255 255 255 0 default gateway 192 168 1 1 File Edit View Advanced 71 Le za Make Mew WISE COMI LIFMP 1 FECL Connection FEC Ethernet Driver Settings IP Address An IP address can be O Obtain an IP address via DHCP automatically assigned to this computer If your network Specify an IP address does not automatically assign IF addresses ask your network IP Address o L ale administrator for
31. CAN Bus APIs 2 18 4 1 Overview It provides CAN bus operation ON OFF configuration receive and send data 2 18 4 2 API Function BOOL sCANClose void BOOL sCANSend unsigned char pBuf int nLen 6 BOOL sCANRead unsigned char pBuf int nLen Version V1 0 Page 62 Total 95 EX 9162M51A SBC User Manual 2 18 4 3 API Function Description 1 CEX 9162M51ACtl sCANOpen Open CANBUS module BOOL sCANOpen void Parameters NONE Return value Set successful return true else false 2 CEX 9162M51ACtl sCANClose Close CANBUS module BOOL sCANCIose void Parameters NONE Return value Set successful return true else false 3 CEX 9162M51ACtl sCAN_SetConfig Configure the parameters Canbus BOOL sCAN SetConfig CANStructure aCANConfig Parameters aCANConfig in See the definition of this structure Public h file Return value Set successful return true else false 4 CEX 9162M51ACtI sCAN GetConfig The parameter values for Canbus BOOL sCAN GetConfig CANStructure amp aCANConfig Parameters aCANConfig in See the definition of this structure Public h file Return value Set successful return true else false 5 CEX 9162M51ACtI sCANSend Send data to other devices To send 8 bytes as the basic unit of BOOL sCANSend unsigned char pBuf int nLen Parameters pBuf in Send buffer to point CanTxMsg structure nLen in The length of send data Return value Send successful return true else false Version
32. EX 9162M51A Powerful Single Board User Manual EX 9162M51A SBC User Manual Copyright Notice Copyright 2009 All rights reserved Reproduction without permission is prohibited Disclaimer Information in this document is subject to change without notice and does not represent a commitment We provides this document as is without warranty of any kind either expressed or implied including but not limited to its particular purpose We reserves the rights to make improvements and or changes to this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be accurate and reliable However we assumes no responsibility for its use or for any infringements on the rights of third parties that may result from its use The product might include unintentional technical or typographical errors Changes are periodically made to the information herein to correct such errors and these changes are incorporated into new editions of the publication Safety Information Electrical safety e To prevent electrical shock hazard disconnect the power cable from the electrical outlet before relocating the system e When adding or removing EX 9162M51A to or from the system ensure that the power cables for the EX 9162M51A are unplugged before the signal cables are connected If possible disconnect all power cables from the existing system before you add a EX
33. Emulation eme Emulation Session name Area code Telephone number 425 Select a modem Country code Dialing from Work contz E H Dialing Properties _ Force long distance Force local Session Properties Communications Emulation Session name Area code Telephone number My Session den 123 Select a modem Country code Hiang from Work come el it Force lona TT Force local Device Properties Port Settings call Options Connection Preferences Manual Dial user supplies dial SE iso y Bee Baud Rate 19200 Data Bits r Terminals Lise terminal window Parity before dialing 3 Stop Bits a Use terminal window after dialing Flow Control Hardware y Version V1 0 Page 93 Total 95 EX 9162M51A SBC User Manual Device Properties Port Settings call Options When seiting is i Connection Preferences completed a mis User supplies dial Baud Rate S MN NEN window Will XN Data Bits le el Terminals Use terminal window Parity None el right figure II reser dicing Es gnt tig before dialing Stop Bits Use terminal window after m j dialing Flow Control Hardware y pop out as the EE 3 Close Start STerminal fianua Dial Terminal Ls 11 36 PM A 2 Terminal You could double click to bring in a Terminal on successful creation ak Version V1 0 Page 94 Total 95
34. ND BJ MAC address 2 3 6 2 5 6 TJ Format OS HAND region OI Format ALL HAND regions SZ Save configuration DI Download image now LJ Launch existing flash resident image now PI Select Led Panel Type Current Fanle is JoinTech T WVGA Panel RJ Set Led Display Rotation Current Rotation is 0 Degree TJ Led Test Enter your selection d DM30004 Tri t xbO00fFfe OxO0000000 O02 03 0856 02 05 08632 DMaGO0O00 db OxbOOO0fEFe Oxb0010000 1 IFO DMSO00ATnit chip found dml alisableInts conti gim3000 intr mac z mac 03 mae 06 mac Uz mac 05 mac O06 DOE Ox1d rez xan INFO DMan n amp Ethernet controller initialized IHFO MAC address 2 3 6 2 5 6 INFO Using device name MX31128B8 tEbootSendBootmeAndi ai tForTitp Sent BOOTME to 255 255 255 255 Sent BOOTME to 255 255 255 255 Send gt Hex 2 Char Plain Text D kel Baal Time Send dy ex C WIKDOWS system32 cud exe Double click WinCE bin load bat E example of nk dounload TFTP vin agent i p 8 192 168 1 78 PUT BOOT BIN Winhgents TFTP Client version 1 4 Copyright c gt 2804 2867 by Tandem Systems Ltd http wwwu winagents com Software for network administrators Transfering file BOOT BIM to server in octet mode Version V1 0 Page 89 Total 95 EX 9162M51A SBC User Manual AccessPort output is below AccessPort is a COM tool you can also use HyperTerminal sent EOOTME to 255 255 255 255 sent EOOTME to 255 255 255 255 Locked
35. R veier UB COMI UniFi Wireless LAN Settings dialog box Set the parameters in ioni E wg netu TP Are E ES OENEN 1 41 the IP Address EE 255 255 0 label Esc 1 2 3 4 5 6 7 8 9 0 le jab ajw e r t y u i jo p L T CaP a s d f a h Oil shift z x c v b n m 7 CET Gl AT 00100 7 n Version V1 O Page 29 Total 95 EX 9162M51A SBC User Manual Set the parameters in the Name Servers label ox x 8 Double click the Internet Explorer icon on the desktop open the IE browser input a website then you can login the web File Edit 1 EJ Address http www msn com e L Hotmail Messenger Bing ms d x Search News Entertainment Sports Money Lifestyle More Local Ec Thursday May 20 2010 Advertisement Adoption Story Was Internet Explorer I Facebook Fairytale M Seth Edlavitch amp his wife Melissa tried several times to have a child Then Facebook helped them make a connection that changed their lives Video Dreams come true via social networking PZ BEN y E SR Version V1 0 Page 30 Total 95 EX 9162M51A SBC User Manual 2 5 1 2 Bluetooth Access Please prepare the necessary hardware and software before the Bluetooth connection Table 2 4 Hardware Required for Bluetooth access Bluetooth Such as a Bluetooth mobile phone to activate the Bluetooth function Device Antenna Use the standard Blue
36. V1 0 Page 63 Total 95 EX 9162M51A SBC User Manual 6 CEX 9162M51ACtl sCANRead Receiving data from other devices Receive 8 byte as the basic unit BOOL sCANRead unsigned char pBuf int nLen Parameters pBuf out Point CanRxMsg receive buffer structure nLen out The length of receive data Return value Receive successful return true else false 2 18 4 4 An Example to Call APIs Open Canbus module the code is as follows m pDvcBase sCANOpen Configure the parameter values the code is as follows CANStructure m aCanbus m aCanbus CellStruct CAN TTCM 0 m aCanbus CellStruct CAN ABOM 0 m aCanbus CellStruct CAN AWUM 0 m aCanbus CellStruct CAN NART 0 m aCanbus CellStruct CAN RFLM 0 m aCanbus CellStruct CAN TXFP 0 m aCanbus CellStruct CAN Mode CAN Mode Normal m aCanbus CellStruct CAN SJW CAN SJW 1tg m aCanbus CellStruct CAN BS1 CAN BS1 Gro m aCanbus CellStruct CAN BS2 CAN BS2_5tq m aCanbus CellStruct CAN Prescaler 2 CAN filter init m aCanbus FilterStruct CAN FilterNumber 0 m aCanbus FilterStruct CAN FilterMode CAN FilterMode ldMask m aCanbus FilterStruct CAN FilterScale CAN FilterScale 32bit m aCanbus FilterStruct CAN FilterldHigh 0x0000 m aCanbus FilterStruct CAN FilterldLow 0x0000 m aCanbus FilterStruct CAN FilterMaskldHigh 0x0000 m aCanbus FilterStruct CAN FilterMaskldLow 0x0000 m aCanbus FilterStruct CAN FilterFIFOAssignment 0 m aCanbus FilterStruct CAN FilterActivation 1 m
37. VOUT V Output Short Circuit Current VOUT 0V Pres 1389 VOUT 15V 70 00 Receiver Input Input Voltage Range Jo o HE E E a Ekel Input Hysteresis O Input Resistance O Version V1 0 Page 46 Total 95 EX 9162M51A SBC User Manual 2 14 GPIO Function 2 14 1 Overview GPIO configuration and access to input and output pin of the state including configurable GPIO pin xIO8 xlO 15 xlO4 xlO5 2 14 2 API Functions BOOL sDIO SetConfig DIO16 nPortConfig BOOL sDIO GetConfig DIO16 amp nPortConfig BOOL sSetDOState DIO16 nPortOut BOOL sGetDIState DIO168 nPortln 2 14 3 API Function Description 1 CEX 9162M51ACtl sDIO_SetConfig Configure GPIO input output BOOL sDIO SetConfig DIO16 nPortConfig Parameters nPortConfig in Contains 10 GPIO definition of pin O is output 1 is the input the definition file reference Public h Return value Set successful return true else false 2 CEX 9162M51ACtl sSDIO_GetConfig Get GPIO input and output status BOOL sDIO GetConfig DIO16 amp nPortConfig Parameters nPortConfig out Contains 10 GPIO definition of pin O is output 1 is the input Return value Get successful return true else false 3 CEX 9162M51ACtl sSetDOState Set the state of the output pin BOOL sSetDOState DIO16 nPortOut Parameters nPortOut in Set the level of change on the output pin O is low 1 is high Return value Set successful return tr
38. able 2 16 SPI Electrical Parameters Parameter Sym Min Typ Max Units _ High level output voltage Low level output voltage MOL 045 V High Level DC input voltage VIH 22 33 V Low Level DC input voltage VL 0 045 V 2 16 3 Connectors Available on Port A 2 16 4 SPI APIs 2 16 4 1 Overview It provides multi byte SPI read amp write operation which is derived from CCommunication class 2 16 4 2 Headers Head file Communication Communication h Communication SPI SPICom h Communication SPI ecspibus h Version V1 0 Page 51 Total 95 EX 9162M51A SBC User Manual 2 16 4 3 API Function BOOL Close BOOL HasOpened DWORD Read BYTE pData DWORD nLen DWORD amp nOPLen DWORD Write BYTE pData DWORD nLen DWORD amp nOPLen 2 16 4 4 API Function Description 1 CSPICom CSPICom Create an SPI device interface is the constructor CSPICom LPCWSTR strSPlName int nChannel Parameters strSPIName in Specify the interface name nChannel in Channel number Return value Create successful return true else false 2 CSPICom Open Open the Device Communication port BOOL Open Parameters NONE Return value Set successful return true else false 3 CSPICom Close Close Communication Ports BOOL Close Parameters NONE Return value Set successful return true else false 4 CSPICom HasOpened Whether the Communication ports are opened BOOL HasOpened
39. all EVC or Visual Studio 2005 from the installation discs if you haven t installed neither of them Also you can obtain the EVC installation files from the Microsoft Web Site http www microsoft com downloads details aspx familyid 1DACDB3D 50D1 41B2 A10 7 FA 5AE960856 amp displaylang en it s free of charge 2 Obtain the SDK installation file M51 SDKX X msi from CD This file provides the resources for application development 3 Open the msi file follow the guides provided by the wizard to install This installation needs about 110MB disk space Now you can start to develop your own WinCE 6 0 applications for the EX 9162M51A 3 4 2 Uninstall SDK This section describes how to remove an installation of Mb1 SDK from your PC Remove the SDK step by step 1 Make sure you are not using the SDK when you are using the EVC or Visual Studio 2005 2 Right click the icon M51 SDKX X msi then select Uninstall Version V1 0 Page 72 Total 95 EX 9162M51A SBC User Manual 3 5 APIs Summary 3 5 1 Overview EX 9162M51A API modules cover WiFi BT Audio CANBUS DIO Voltage SPI DC HSI2C Communication and so on 3 5 2 Headers File File Type Dengen Definition Head file M51Base h EX 9162M51ACtl h Public h Communication Communication h Communication SPI SPICom h Communication SPI ecspibus h Communication HSI2C HSI2CCom h Communication HSI2C hsi2cbus h Communication I2C I2CCom h Communication I2C i
40. ally USB could supply 100mA 500mA 5V from PC host to devices PC could supply EX 9162M51A 5V power supply through USB only when WiFi Version V1 0 Page 16 Total 95 EX 9162M51A SBC User Manual Bluetooth is absent 1 7 1 Power Consumption Mode Total Power Run 350mAQ 5V User Idle System Idle Run Mode It is the normal functional operating mode At this mode the CPU ARM runs in its normal operational mode It needs more power current when you turn on hardware engines of iMX51 CPU as H264 codec engine etc Stop Mode In this mode all system clocks are stopped PLLs are stopped Power gating can be done on ARM platform IPU VPU and EMI Synchronization of the CKIL clock is bypassed Version V1 0 Page 17 Total 95 EX 9162M51A SBC User Manual Chapter 2 Function Description The following API list could be used for EX 9162M51A and EX 9162N51AB EX 9162N51AB is the incorporation of the CPU board EX 9162M51A and its lO carrier board EX 9162X51AB EX 9162X51AB expands many useful IO functions for EX 9162M51A Some API modules are implemented only when EX 9162X51AB is available Detailed information about EX 9162X51AB please refer to EX 9162X51AB User Manual 2 1 API Function List Table 2 1 API Function List Function EX 9162M51A EX 9162N51AB InnerAdj Voltages Tri N O Battery RTC lt Z l lt lt Ue A om o NO us nn sow nn et rn esoe nn LAN Wh o Y Y Buon oo Y Y
41. ally and WiFi tere module will automatically d Media Player a9 around and list them Please Microsoft WordPad search the available network refer to the right figure mw 3 Select one and click the button Connect Demo Apps y H Internet Explorer lt de Media Player 4 In the opened Wireless Network deele ces ES Properties dialog box set enc n Encryption as TKIP and pon Authentication as WPA2 PSK If o your wireless access point has been ES dli bc set a password input the Network e key then click the button OK the Gen WiFi module will access the network ag properties Eaa ISToToT J Te Microsoft WordPad eg E rab a w e rj t v u i Jo D E T s E ie IcaP a s a t a n i k t E Gas shift z x c v b n m 7 OE A 00 Version V1 O Page 28 Total 95 EX 9162M51A SBC User Manual 5 On the UFMP1 dialogue box it will display the Status and the Signal Strength of the connected network Internet Explorer LE Media Player 6 Set IP address Open the WinCE OS directory Start Settings Network and Dial up ConnectionslUFMP1 Input IP address Subnet mask Gateway DNS etc according to your network settings Here is the example Click the path Start Settings Network and Dial up Connections T windows Embedded CE 6 0 Double click UFMP1 gt om i fea and open the CS
42. an access the M51SeriesAPI lib through this pointer which provides the public methods More details please refer to the file EX 9162M51A Ctl h Version V1 0 Page 79 Total 95 EX 9162M51A SBC User Manual Appendix A LCD Panel Selection amp Rotation Setting A 1 Configure EX 9162M51A and Run Up Please make the connection between peripherals and EX 9162M51A Debug Port Figure A1 To connect EX 9162M51A to PC with debug port Find and run the AccessPort exe double click it AccessPort is a COM port When you use HyperTerminal on your PC random codes or no data output may appear however it will not appear in AccessPort hccessPort ini JEDE ema Chail orl asp hcoessPort Rade E a e E Apza zyz ERR xg v aad L EF r adee_ en UE Let teadis rh CH ist r amp dmna rh TR tet vers qu tere LS EE 5 KB EE e p Sed He e fles Ter wo Eel Tiee Sand IO ma Size tam mur DS Geo gent ER Version V1 0 Page 80 Total 95 EX 9162M51A SBC User Manual Please configure a as the right figure geess Flow Control Custom Baud Rate gt Timeout Control aere iWon tor Contrat Enable 115200 General serial Port Settings Port COM1 Baud Rate 115200 Parity Bit Data Bit Stop Bit Buffer Size 8192 v i Send display Receive display Char Format D Char Format Hex Format CO Hex Format AutoSend Enable auto send Cycle 1000 m
43. check bos To stop synchronization of that information clear its check bos Mobile Device Desktop Computer i Calendar Microsoft Outlook O B3 Contacts Microsoft Outlook Synchronized Files O EA Pocket Access Microsoft Databases E Tasks Microsoft Outlook To find out more about and to customize what gets synchronized click Settings on that information type in the list and then click Settings 6 Click Finish Hew Partnership Setup Complete You are now ready to start exchanging information between your mobile device and this computer Upon exiting this wizard Microsoft Activesync will open and If pour device is a guest click Explore on the toolbar and shart exploring your device If tour device has a partnership synchronization starts Please wait until synchronization is complete before using your device Click Finish to eat this wizard Version V1 0 Page 69 Total 95 EX 9162M51A SBC User Manual G Hicrosoft ActiveSync BETA 7 PC will synchronize with EX 9162M51A File View Tools Help e EZ Es Sync Stop Details Explore Options WindowsCE Connected E Information Type Status 4 Files Synchronized Network profiles LJ hone eg M E Ies a Program Files LJ Recycled Control Panel Temp Windows UU UU Get Connected If ActiveSync does not connect with EX 9162M51A GetConnected automatically please do it manually Select File Connection s
44. connection with PC please don t select Allow connections to one of the following 3 2 3 Connection This section describes how to connect with PC 1 Power on your EX 9162M51A A few seconds later you will see the WinCE 6 0 desktop on the EX 9162M51A 2 When the Windows CE 6 0 boot up connect your PC to EX 9162M51A with a standard A plug amp mini B plug USB cable M51 Standard A plug USB EX 9162 M51A 8 Microsoft ActiveSync BETA 3 A few seconds later the EE ActiveSync on the EX 9162M51A will send connection requirement to PC and the ActiveSync on your PC will start connecting with EX 9162M51A Connecting Hide Details Information Type Status Version V1 0 Page 68 Total 95 EX 9162M51A SBC User Manual Hew Partnership 4 The right figure will appear on Set Up a Partnership the connection m Before you can synchronize information between your mobile device and this computer you must set up a partnership between them Would you like to set up a partnership Select Yes to set up a partnership E with EX 9162M51A then Click EE CO Ho Next don t want to synchronize information Set up my a device as a guest so that can copy or move information between my device and this computer Hew Partnership 5 Select Files Select Synchronization Settings Select the type of information you want to synchronize To synchronize a particular type of information select its
45. e 6 5Vdc 35Vdc is applied Wall adapter 5Vdc 5 is applied through Port B Use USB Power 5V input Without WiFi or Bluetooth Operation Battery 3 6Vdc 4 2Vdc Li Battery on VBAT1 port The total power dissipation of usual operation is around 300 400mA 5V only but the Version V1 0 Page 7 Total 95 EX 9162M51A SBC User Manual actual power dissipation depends on how many Hardware Engines are used inside iMX51 CPU Basically power dissipation is auto adjusted by power management chip and CPU When CPU runs at high speed CPU loading will be detected and measured with core voltage goes up a little bit 1 4 Screw Holes Please ensure your EX 9162M51A single board in nice condition no broken parts and placed in the case correctly Place four 4 screw holes to fix into your casing 2 5mm each indicated in red circles at the figure below Screws are designed to fix the EX 9162M51A PCB and increase Ground connection as well as avoid EMI issue 4 Figure 1 2 EX 9162M51A SBC s Screw Holes 4 screws red color be connected to Ground A Do not over fasten the screws and use the right screw driver Version V1 0 Page 8 Total 95 EX 9162M51A SBC User Manual 1 5 Board Layout and Dimension 4 Figure 1 3 EX 9162M51A PCB Dimension and Profile Version V1 0 Page 9 Total 95 EX 9162M51A SBC User Manual 1 6 Extension Connectors EX 9162M51A provides 2 extended connectors Port A J5 and Port
46. e h l M51AExample classes H lude libXH51RCtl h CM51AExampleApp eee SE T class CMHS1AExampleDlg public CDialog CM51AExampleDIg CVnd pl Ve DoDataExchange CDataExch Construction OnlnitDialog public m hlcon CH51R0ExampleDlg CWnd pParent NULL standard constructor d m pM51A Dialog Data 5 3 Globals AFX_DATA CHS1AExampleD1g enum 4 IDD IDD_MS1AEXAMPLE DIALOG A theApp NOTE the ClassWizard will add data members here AFX_DATA ClassWizard generated virtual function overrides IXXAFX_VIRTUAL CM51AExampleD1g protected virtual void DoDataExchange CDataExchangex pDX DDX DDU support AFX_UIRTUAL Implementation protected HICON m_hIcon CH51Base xm pH518 lt Generated messane man functinns 3 ClassVi f Resourc FileView A corelibc 110 crteinit obj warning LNK4269 debugging information corrupt recompile module linking object as if no debug infia 4 M51AExample exe 8 error s 4 warning s Downloading files Failed downloading Find in Files 1 Ln 35 Col 19 REC COL lovR READ 7 Add the following code into the file EX 9162M51AExampleDlg cpp Defined as the callback function global function STCBNotifyFun Version V1 O Page 78 Total 95 EX 9162M51A SBC User Manual Si M51AExample Microsoft eMbedded Visual C M51AExampleDlg cpp B File Edit View Insert Project Build Tools Window Help E cad BA 2 o mme E
47. ettings click connect Click Next To connect your device to this PL 1 Connect the cable to the PC 2 Turn on the device 3 Connect the device En the cable ActiveSync should automatically detect your device IF pour device iz not automatically detected click Next IF wou are using infrared IR or Bluetooth click Help Back cancel mp Version V1 0 Page 70 Total 95 EX 9162M51A SBC User Manual ret Connected Then the ActiveSync will start Checking COM Forts connecting with Please wait while Setup locates your mobile device EX 9162M51A You can get voice from earphone Progress Looking for a mobile device Checking on COM Part 1 Checking USB If ActiveSync can not detect EX 9162M51A the dialog will pop up please check the USB cable or refer to the ActiveSync Help information Get Connected Tour device was not detected Verify that the connection vou are using is available COM 1 Mat available COM 2 Not installed Infrared Part IR Mat installed USB is available 8 Click Explorer to VIEW the files In IF the connection You are using ls available make sure the cable is plugged in securely EX 9162M51A For mare information click Help 3 3 How To Download Files into EX 9162M51A This chapter describes how to download users files to EX 9162M51A Before downloading please connect PC to EX 9162M51A through ActiveSync with USB cable 1 When you are developing
48. i BT BATI ER 3V3W Figure 1 5 Block Diagram of Power Distribution PMIC This is the main power management IC supplying multi channel power to the entire board It supplies CPU core voltages and fine tune its voltage dynamically according to CPU performance and loading PMIC can accept many power inputs such as USB 5V Wall adapter and Li ion Battery These Power inputs are input directly to PMIC 5V Wall isn t dedicated to connector you could use it at Port B J6 pin 83 USB and Battery have dedicated IO connector named USB1 and BAT1 USB1 is located at the front board edge while BAT1 is placed at rear board edge If user has 5V DC power supply connect to J6 Pin83 and supply entire board When you have another voltage Wide Range DC to DC circuit is needed 6 5V 35V Wide Range DC to DC converter Wide range Power Input provides 6Vdc to 35Vdc that is an optional function for some application Also you could input the power directly onto DCIN1 connector For easy extension on Board to Board connection you could use J6 pin82 This module outputs 5Vdc This 5Vdc could supply voltage to DV wall through R97 OR that is a default connecting part BAT 1 This is a connector for 3 6V Li lon Battery 3 pin extra pin for thermal sensor of Li Battery NC no connection on no use Battery capacity depends on user s application You may or may not connect a Li Battery to BAT1 connector Usually the battery is 1600mA hr Li lon USB Power Supply Usu
49. iguration Autoboot HNE from HAND MAC address Z 3 B z 5 B Format US HAND region Format ALL NAHI regions save configuration Download image now Launch existing flash resident image now Select Led Panel Type Current Panle is JoinTech T WVGA Panel set Led Display Rotation Current Rotation iz Degree Led Test Enter your selection l INFO Storing boot configuration to HAND INFO Successfully stored boot configuration to HAND DM9OODAT rai t OxbOO0fffe Ox00000000 02 03 06 02 05 06 1 DM9000 db xb OO e 000100007 INFO DMaODUDAInit chip found dn9000s Di sableInts contiglmaD0D intr mac 02 mac 03 mac 0B mac Ur mac D05 mae Up DO Oxld rez xal INFO INFO MAC address zZ 3 B 2 5 B INFO Using device name MX311288 IHE IHF INFO Load is 1 complete INFO Load is 2X complete INFO Load is 3 complete INFO Load is 4 complete INFO Load is 5 complete Send Hex S Char Plain Text Fecal Version V1 0 Page 85 Total 95 DMSO00K Ethernet controller initialized Reading HK image to HAND please wait Copying HK image to RAM address DxAc100000 Real Time Ser EX 9162M51A SBC User Manual Appendix B iMX51 image file NK Download B 1 Setup and Configure Before that we need some COM Tool to display some debug message COM tool may be AccessPort or HyperTerminal or others Please make the operation step by step 1 Run up AccessPort Please refer to A 1 Configure
50. lose void Parameters NONE Return value Return TRUE success else failure 3 5 5 An Example to call APIs in C C Below is an example to create works and initialization steps under EVC 1 create a new dialog based applications engineering works entitled EX 9162M51AExample File new choose Workspaces tab Version V1 0 Page 75 Total 95 EX 9162M51A SBC User Manual Microsoft eMbedded Visual C Elle Edi view Insert Project Build Tools Window Help ag Ex cmm c e oReadcem zw J zl rr eenaa l E doo Hd o EE 4 Files Projects Workspaces Gd Blank Workspace Workspace name M51AExample Location CADOCUMENTS AND SETTINGS Iz Cancel TP Build Debug X Findinies i X Song File new choose Projects tab M51AExample Microsoft eMbedded Visual C File Edit View Insert Project Build Tools Window Help ja wl amp 2 2 DAR Gy OnReadCom ME Workspace M51AE AJWCE Application ez WCE ATL COM AppWizard M51AExample Location CADOCUMENTS AND SETTINGS 5d C Create new workspace Add to current workspace FileView L gt N Build Debug A Find in Files 1 Find in Fi Version V1 0 Page 76 Total 95 EX 9162M51A SBC User Manual M51AExample Microsoft eMbedded Visual C ER Edit View Insert Project Build Tools Window Help lasag oeo DEE S3joRedom z E t amp JI d Jl EEE
51. me is 10ms maximum 40 minimum is 20 the code is as follows AIOCONFIG aAlOConfig aAlOConfig cSampleTime 10 aAlOConfig nHighLimit 40 aAlOConfig nLowLimit 20 m_pDvcBase gt SetAlNConfig aAlOConfig Get an external voltage of 6 ADC sample value the code is exemplified as follows AIOADC aAl m_pDvcBase gt sGetAlNState aAl ADC Channel 6 for the eight sample values code as follows WORD nEightSample 8 0 m_pDvcBase gt ADCGetSingleChannelEightSamples 6 nEightSample Version V1 0 Page 50 Total 95 EX 9162M51A SBC User Manual 2 16 SPI Interface Function 2 16 1 Introduction The Configurable Serial Peripheral Interface CSPI module allows rapid data communication with less software interrupts than conventional serial communications Table 2 15 SPI Electrical Parameters Pin J5 Pin Name Sym uu In Master mode this bidirectional signal is a TX output 19 CSPI1 MOSI I O signal from the Data Shift register In Slave mode it is a RX input from external SPI EX 9162M51A In Master mode this bidirectional signal is a RX input signal 20 CSPI1 MISO I O to the Data Shift register In Slave mode it is a TX output to external SPI EX 9162M51A CSPI1 RDY This signal triggers the CSPI to start a burst CSPI1_SCLK In Master mode this bidirectional signal is a SPI clock output In Slave mode it is a SPI clock input CSPI1 SS O Peripherals Chip Select 2 16 2 Electrical Parameters T
52. mp nOPLen 3 5 4 API Description 1 CM51Base GetLibraryVersion Get the software version number BOOL GetLibraryVersion char pVer Parameters pVer Point to obtain the version number Return value TRUE if return the version number else NULL 2 CEX 9162M51ACtl Create Create EX 9162M51A object CEX 9162M51ACtl Create pNotifyFun notifyFun BYTE amp nErrcode Parameters notifyFun Point to a callback function pointer Define a global function passing the function name can be This callback function is used to pass the latitude and longitude GPS module receives data it declared typedef void pNotifyFun char pData int nType pData Transmission of data content nType Transfer data length nErrcode Specifies the create error code Error code define list define CREATE OK define PARAM INVALID define MEM LACK define NOT FIND DLL Return value wo N gt O Version V1 0 Page 74 Total 95 EX 9162M51A SBC User Manual TRUE if return a points to a EX 9162M51A object else NULL 3 CM51Base HasOpened EX 9162M51A Communication ports are open BOOL HasOpened void Parameters NONE Return value Return TRUE for all ports are open FALSE have the port is not enabled 4 CM51Base Open Open EX 9162M51A on the Communication Port BOOL Open void Parameters NONE Return value Return TRUE open all ports FALSE have the port is not open 5 CM51Base Close Close EX 9162M51A on the Communication Port BOOL C
53. n 185mA inallback Version V1 0 Page 41 Total 95 EX 9162M51A SBC User Manual 2 9 2 Connector coe Figure 2 11 LCD Display Connector 2 10 Touch Screen Function The touch screen is a 12 bit successive approximation ADC with a synchronous serial interface and low on resistance switches for driving touch screens The touch screen operates from a single 2 2V to 5 25V power supply and features throughput rates greater than 125kSPS 2 10 1 Connector Available on Display connector Version V1 0 Page 42 Total 95 EX 9162M51A SBC User Manual 2 11 USB Host Function The Universal Serial Bus Host USB H is fully compliant with Universal Serial Bus opecification Rev 2 0 The USB H can transmit and receive USB data at high speed 480 Mbit s full speed 12 Mbit s or low speed 1 5 Mbit s Table 2 9 USB Host Pin Description Pin Name Symbol Function DM I O data minus D pin of the USB cable DP VO data plus D pin of the USB cable 2 11 1 Connector Available on PORT A Connector Version V1 0 Page 43 Total 95 EX 9162M51A SBC User Manual 2 12 USB OTG Function 2 12 1 Overview The Universal Serial Bus On The Go USB OTG allows two USB EX 9162M51As to talk to each other without requiring the services of a personal computer PC Although OTG appears to add peer to peer connections to the USB world it does not Instead USB OTG retains the standard USB host
54. nections And it supports single antenna configuration for WiFi and Bluetooth for state of the art WiFi Bluetooth co existence and VoIP optimizations and EEPROM and full RF front end integrated for WiFi and Bluetooth WiFi has same frequency band as Bluetooth and shares the same 2 4GHz antenna with bluetooth Therefore WiFi or Bluetooth is applied alternatively at one time please select one before you place order Please be reminded that 2 4GHz antenna must be assembled before using WiFi or Bluetooth 2 5 1 WiFi BT Access 2 5 1 1 WiFi Access Please prepare the necessary hardware before WiFi connection Table 2 2 Hardware Required for WiFi BT access Antenna Use the standard WiFi antenna and connect it to the antenna interface For more information about the connection between the module and the antenna please refer to Figure 2 7 Antenna Connection Test Software The following two DLL files are necessary when you are going to use WiFi Bluetooth Module Table2 3 Software Required for WiFi test ufsdio dll and Driver dll file of WiFi module has been ufmp dll included in the WinCE OS Version V1 0 Page 27 Total 95 EX 9162M51A SBC User Manual Test Procedure Please follow the guide below to test the WiFi module step by step 1 Power on the EX 9162N51AB board d 2 Click the icon x located in the WinCE task Recycle Bin bar Usually the UFMP1 dialogue box will pop out Do automatic
55. nelEightSamples WORD channels WORD pADCOut 2 15 3 API Function Description 1 CEX 9162M51ACtI SetAINConfig Configure ADC values of the parameters scan time the upper and lower limits BOOL SetAINConfig AIOCONFIG aAlOConfig Parameters aAlOConfig in Can be configured to scan time the upper and lower limits the definition file reference Public h Return value Set successful return true else false 2 CEX 9162M51ACtl GetAlNConfig Configuration parameter values for ADC BOOL GetAINConfig AIOCONFIG amp aAlOConfig Parameters aAlOConfig out ADC for the current scan time and the upper and lower limit values Return value Get successful return true else false 3 CEX 9162M51ACtl sGetAlNState Get the current value of ADC scan BOOL sGetAINState AIOADC amp nAlOIn Parameters nAlOIn out Six 16 bit ADC sampling value the definition file reference Public h Return value Version V1 0 Page 49 Total 95 EX 9162M51A SBC User Manual Get successful return true else false 4 CEX 9162M51ACtl ADCGetSingleChannelEightSamples Read the eight single channel sampling value BOOL ADCGetSingleChannelEightSamples WORD channels WORD pADCOut Parameters channels in Select channel number range 5 7 pADCOut out ADC sampling point to read the value of the buffer for eight 16 bit integer value Return value Get successful return true else false 2 15 4 An Example to Call APIs For example configure the ADC scan ti
56. nnoannennennnnnnennennnnnne 66 3 2 2 Run and Configure the Microsoft ActiveSync nsannnannennnnnnnnnenennennnne 67 9 2 9 CONE CON li 68 3 3 How To Download Files into EsOoip MiniA cc ceccccc ccc seeceeceeeeeeseeeeeenseseeenes 71 294 oDKInstallidpiristells ea Qo AA a 72 SAS MS rc Tm 72 24 2 WINS CT EE 72 9 5 ARIS SUMA EE 73 EEN 73 SFO PP Al e LO EE 13 SA IMD pd 73 OO dT WD SEHD HOM scr 74 3 0 0 AH Ee APIS D CLC Eeer 75 Appendix A LCD Panel Selection amp Rotation Setting cccccccceccsseeseeeseeteeeteeeeeeeeeees 80 A 1 Configure EX 9162M51A and Run Up 80 PZ PANG ele clo asses vider anise d TEE sepe DDR MM M NS EM E PEDE M di 83 FXO rane NRO LAU OM BEE 84 A4 Save and AUC siecle ate ciebat uate pet uc tente omae tide shade pe DOR i audies 84 Appendix B iMX51 image file NK Download 86 B EE le and Ee ul 86 Be DONOJN qv 89 Appendix C EX 9162M51A IP Gettng ccc cece cece seeeeeeceeeeeete cece eeseeeseesseteeeeeeaeeeaees 91 Appendix D Terminal Tool Setting o cooccocncocncociconoconoooncncncnncoononononcncanonancornnnrnnnnnns 93 Version V1 0 Page 5 Total 95 EX 9162M51A SBC User Manual Chapter 1 Product Introduction 1 1 Key Features EX 9162M51A is designed with Freescale s iMX51 CPU based on powerful ARM Cortex A8 amp core Excellent ARM Cortex A8 Multi Media Platform Multiple IO Ports Easy Extended for various application Build in Wireless Compact Size for Multiple Applica
57. oO C PPCLK Jo CONTRAST oQ rum on LCD backlight L off LED LED negative LED jLEDpostiie TScreen LEFT yo TScreen BOTTOM yo TScreen RIGHT yO pp MA AAA E A 32 DRDY o DEsignalfortcD____________ EE TScreen TOP Version V1 0 Page 14 Total 95 EX 9162M51A SBC User Manual Table 1 4 J2 Display2 Pin Description Pin Name Sym Description a Jen A G 2 DISP2_DATO ETH_RDATA3S II 3 DSP DATI S G 4 DISP2_DAT2 ETH_RX ER Jooo 5 DISP2_DAT3 IT 6 DISP2_DAT4 IT DISP2 DAT5 DISP2 DATG6 ETH TDATA1 3 fose omenon E ooo 410 DISP2_DAT8 ETH_TDATA3S II 41 DISP2 DATSIETH TXEN f f DISP2_ DAT10 ETH COL CO Aa A 14 DISP2 DAT12 ETHRXDV II 16 DISP2 DATISIETH xek f DISP2_ DAT14 ETH _ _RDATAO TEST 18 DISP2_DAT16 IT 19 DISP2 DATI7 II 20 GND A oe 21 ETH_RDATA2 II 22 ETHMDC d 23 LEI MOO e 24 ETHCRS LIT 25 LEI RDATAT II E 29 LANint LI 30 ETHRESETB II Version V1 0 Page 15 Total 95 EX 9162M51A SBC User Manual 1 7 Power Distribution SW1 ONOFF IEE SW2 RESET E EX 0162Z51AB YSBy COIN CELL J682 SS E PORT B lo un P J6 84 83 RS OM 15 Date J6 54 83 eu WALL gt 6 36Vdc x O VOA DCIN1 VOB ul J6 83 a WALL PS 2C OPTIONAL WIDE RANGE gy gj62X51AB SER DC2DC WiF
58. peripheral model in which a single host talks to USB peripherals OTG does introduce however the dual role EX 9162M51A or simply stated a EX 9162M51A capable of functioning as host or peripheral Part of the magic of OTG is that a host and peripheral can exchange roles if necessary 2 12 2 USB OTG Pin definition Table 2 10 USB OTG Pin Description Pin Name Sym Funcion PA Power pin of the USB cable Vbus 5V 2 DM IO Data minus D pin of the USB cable 3 DP uo Dataplus D pin of the USB cable Identification ID pin of the mini USB cable 4 D Ground 2 12 3 Connector Figure 2 12 USB OTG connector Location Version V1 0 Page 44 Total 95 EX 9162M51A SBC User Manual 2 13 Serial Port Function 2 13 1 Overview The Universal Asynchronous Receiver Transmitter UART ports do compile with standard RS232 specification The UART generates baud rates based on a dedicated input clock and its programmable divisor The UART also contains programmable auto baud detection circuitry to receive 1 or 2 stop bits as well as odd even no parity The receiver detects framing errors idle conditions BREAK characters parity errors and overrun errors UART is COM port without any driver IO voltage is 3 1V on EX 9162M51A For some application directly drive hardware modules by UART 3 1V You could also do this without driver chip Please remove out any driver chip and solder on the
59. pply voltage BOOL GetVoltage REGULATOR VREG regulator REGULATOR VREG VOLTAGE voltage Parameters REGULATOR VREG in Specified pin Version V1 0 Page 19 Total 95 EX 9162M51A SBC User Manual VOA VREG VOB VREG REGULATOR VREG VOLTAGE out Designated VOA VOB side were outside the range of values for the voltage VOA VOA 2 30V VOA 2 50V VOA 2 775V VOA 3 000V VOB VOB 1 80V VOB 2 90V Return value Returns true for success else false 2 2 4 Application Example VOA voltage value is set to 2 5V the code is as follows REGULATOR VREG nPort REGULATOR VREG VOLTAGE nVol nPort VOA VREG nVol voa VOA 2 50V m pDvcBase SetVoltage nPort nVol For VOA on the voltage value the code is as follows m pDvcBase GetVoltage nPort amp nVol 2 3 Battery Function 2 3 1 Battery Management EX 9162M51A supports Battery Please use Li ion Battery 3 6V 4 2V EX 9162M51A has Battery Charger inside 2 3 2 Connector BAT1 is a 3 pin connector with housing for external battery input Version V1 0 Page 20 Total 95 EX 9162M51A SBC User Manual oz DN Gg Figure 2 1 Battery Connector Pin1 is the positive terminal of the battery the current sensing point The supply voltage of the battery is sensed through an ADC The current of battery can be read back via the ADC by monitoring the voltage drop over the sensing resistor Pin2 is battery ground Pin3 is used to read out the battery pack thermistor A resis
60. r ConsUutmbp toOrn isessxsvietiiveaa cena insi rores ated ee saecu an n bk guer 17 Chapter 2 Function RE det e ME 18 Ni cad H feed e 18 D c A o E IA 18 2 2 Power Management 19 AA E 19 A2 AFI FUN CION AVE An e OO 19 2 2 3 API Function DescriptiON oocooccoccoccccncoccocnconcononcncoononncncnnnnnnnoncnonnnancnnnos 19 2 2 4 Application Exvample sese 20 2 9 Battery Ta Lee T CE 20 2 9 1 Battery Malnagelmelilu EE 20 2 02 COMMECIOL WEE 20 2 9 9 Charging LED INdICAlO Ls E 21 2 3 4 Charging Interface 21 ZA AMOO FUNCION rro 23 2 4 1 Audio CODInneclo r E 23 2 4 2 Audio APIs for EX 9162N51AB nennen nnn nnns 24 2 5 WiFi Bluetooth FUNCTION nennen 27 25 T ENEE 27 2 0 2 WIFI Y Bluetooth AP pia 34 20 KeyPad Po OO O A 36 A A 36 210 2 COME ca 36 2 6 3 Electrical Parameters cooccconcconcccncoccconocononcnnononononononnnnnnonanonanonnnnnnenanes 36 Ze EAN FONCION ara adriana 37 A Tot ero Pa e EIA 37 24 LEAN GO MIO EE 37 2 50 50 Card PUN CHO eiis U T 40 EP OMS COLON C A eno EE 40 Version V1 0 Page 3 Total 95 EX 9162M51A SBC User Manual SEENEN 40 2 9 LCD Display FUNCION NEE 41 2 9 1 Approved LCD panel essere nennen nennen nnn ne 41 Eeer 42 2 10 Mie feier gi DE In Le e EEN 42 E anmlec EE 42 2T USB ee i FUNCION idad 43 2 11 1 elen O nera pe o na ERR RN PRG CR Cc a OR M PU ER aer 43 Z2 USB OTG FUNCIONA etia d wet s DE DE Gas dU ORC oro
61. r Manual Si M51AExample Microsoft eMbedded Visual C M51AExampleDlg cpp 3 File Edit View Insert Project Build Tools Window Help a EO pe MBA GA OnReadCom gt m M51AExami ldmd31 win32 WCE ARMV4I Debug dmd31 Device v ba t EM al xl gt EH M51AExample classes BEGIN MESSAGE MAP CH51RExampleDlg CDialog Te CMSTAExampleApp 44RFX HESE HAP CH510ExampleDlg 2 CM51AExampleDlg Y RFX MSC HAP e CM51AExampleDIg CVnd pl END MESSAGE HA P Ve DoDataExchange CDataExch Ve OnInitDialogf PIBlBHMITIIIPIBgMEIIBBg u IIIIIIIIIBgygy NIIMIIIIBgCGIIIMIMBgMIIIIBgyYNIIIIIMIIIIII Adda ddd EEEE EEE 9 m hlcon CMHS1AExampleD1lg message handlers 3 Globals theApp BOOL CHS1AExampleD1g OnInitDialog 1 CDialog nInitDialog Set the icon for this dialog The framework does this automatically when the application s main window is not a dialog SetIcon m hlIcon TRUE Set big icon SetIcon m hlIcon FALSE Set small icon CenterWindow GetDesktoplindow center to the hpc screen TODO Add extra initialization here return TRUE return TRUE unless you set the focus to a control 4 Resourc M51AExampleD1g cpp MS1AExampleDlg obj 8 error s 8 warning s 41 gt f Build Debug Find in Files 1 Ln 53 Col1 REC COL lovR READ Z Ai File Edit View Insert Project Build Tools Window Help 8c EO pe MAR 3 onReadCom gt m E include lib M51Bas
62. s Advanced amp uto open port when application start Prompt for saving when application exit 4 Remind me when update is available ceessPort CONI 115200 N 8 1 Opened Click the Switch File Edi iew Monitor Tools Operation Help Monitor RH Bis ab Ro Configure as below Send gt OHex S Char Plain Text BED Mirar Time Send Clear Cork ars 1 Max Size lt B4KB Eboot Operation Screen please pay attention to the notes below Version V1 0 Page 81 Total 95 EX 9162M51A SBC User Manual ARM CLOCK 266000000 Hz IFU CLOCK 133000000 Hz AHB CLOCK 133000000 Hz JPG CLOCK B amp B565 0006060 Hz HFC CLOCK 26600000 Hz GALL CLOCK DDDOOOOO Hz FER CLOCK BBESOO000 Hz coll CLOCK 171193900 Hz cole CLOCK 171193900 Hz FIRI CLOCK 1875000 Hz CSI CLOCK 42997TS Hz USB CLOCE BOO00000 Hz SIM CLOCE BESO00000 Hz INFO OEMPLattorminit Initialized HARD flash device INFO Loading boot configuration from HAD system ready Preparing for download Fress ENTER to launch image stored in HAND flash or SPACE to cancel Initiating image launch in Z seconds 2 onti gurati on IF address 192 1685 1 TO Subnet Mask 255 255 255 O Boot delay GZ seconds DHCP Disabled Reset to factory default configuration Autoboot HE from HAND Save configuration Download image now Launch existing flash resident image now Select Lcd Panel T
63. seconds 13 DHCF Enabled 4 Reset to factory default configuration 5 Autoboot HK from HAND BI MAC address 2 3 B 5 B T Format DE HAND region 181 Format ALL HAND regions 15 Save configuration DI Download image now LI Launch existing flash resident image now F Select Led Panel Type Current Panle is JoinTech T WVGA Panel RJ Set Led Display Rotation Current Rotation 15 0 Degree T Led Test Enter your selection Send gt Hex S Char Plain Text W Eeal Time Se p1 Version V1 0 Page 83 Total 95 EX 9162M51A SBC User Manual A 3 Panel Rotation Select r Enter your selection F Choose the LOD Panel Rotation below 1 Rotation Degree 0 2 Rotation Degree 90 3 Rotation Degree 150 4 Rotation Degree 270 Enter your selection Send gt O Hex n Char ha ee Ln e s Em Kg Default is 0 Li Launch existing flash resident image now F Select Led Panel Type Current Pande is JoinTech T WVGA Panel RI Set Led Display Rotation Current Rotation is 0 Degree IJ Led Test Enter your selection Send Hex S Char Plain Text W Real Time Ze piri A 4 Save and Launch Choose L the system will save and launch automatically Version V1 0 Page 84 Total 95 EX 9162M51A SBC User Manual 1 2 31 4 5 Bj TJ al 5 m LI Fi RJ TJ Subnet Mask 255 255 255 0 Boot delay Z seconds DHCP Enabled Reset to factory default cont
64. ters NONE Return value Set successful return true else false 3 HSI2CCom Close Version V1 0 Page 59 Total 95 EX 9162M51A SBC User Manual Close Communication Ports BOOL Close Parameters NONE Return value Set successful return true else false 4 HSI2CCom HasOpened Whether the Communication ports are opened BOOL HasOpened Parameters NONE Return value Set successful return true else false 5 HSI2CCom Read Data port reception facilities DWORD Read BYTE pData DWORD nLen DWORD amp nOPLen Parameters pData out Point to the receiver buffer nLen in The length of receive data nOPLen out Undefined Return value Set successful return true else false 6 HSI2CCom Write Write data to the device port DWORD Write BYTE pData DWORD nLen DWORD amp nOPLen Parameters pData inl Point to send buffer nLen in Send data bytes nOPLen out Undefined Return value Set successful return true else false 2 17 5 5 Application Example Note Be sure to include in the source file include lib Communication HSI2C HSI2CCom h Version V1 0 Page 60 Total 95 EX 9162M51A SBC User Manual Create an HSI2C device interface the code is as follows HSI2CCom m pHSI2CCom NULL m pHSI2CCom new HSI2CCom HSI2C1 FID 0x01 Open the port the code is as follows if m_pHSI2CCom gt HasOpened FALSE m_pHSI2CCom gt Open Read the device registers in the data the code is as follows
65. ters 5 0 DWORD nLen 0 Registers 0 0 Register Address Registers 1 0x02 Register Address if m_pl2CCom gt Write Registers 2 nLen FALSE return FALSE Sleep 20 ifm pl2CCom Read Registers 2 nLen FALSE return FALSE Write data to the device registers the code is as follows Registers 0 0 Register Address Version V1 0 Page 5 Total 95 EX 9162M51A SBC User Manual Registers 1 0x02 Register Address Registers 2 0x1 Registers 3 0x2 if m_pSGTLI2CCom gt Write Registers 4 nLen FALSE return FALSE Version V1 0 Page 58 Total 95 EX 9162M51A SBC User Manual 2 17 5 HSI2C APIs 2 17 5 1 Overview HSI2C APIs provide multi byte read and write HSI2C operation which is derived from CCommunication class 2 17 5 2 Headers Head file Communication Communication h Communication HSI2C HSI2CCom h Communication HSI2C hsi2cbus h 2 17 5 3 API Function BOOL HasOpened DWORD Read BYTE pData DWORD nLen DWORD amp nOPLen 6 DWORD Write BYTE pData DWORD nLen DWORD amp nOPLen 2 17 5 4 API Function Description 1 HSI2CCom HSI2CCom Create an HSI2C device interface is the constructor HSI2CCom LPCWSTR strl2CName BYTE byAddr Parameters strl2CName in Specify the interface name byAddr in Specified device address Return value Create successful return true else false 2 HSI2CCom Open Open the Device Communication port BOOL Open Parame
66. tion Low Power Consumption and Power Management Fanless WinCE Ready API Lib Provided SDK Provided Wide Input Voltage Low Cost 1 2 Specifications Freescale iMX51 Cortex A8 800MHz CPU Build In Cache 32KB l Cache and 32KB D Cache L1 256KB cache L2 DRAM DDR II 256MB SDRAM on board NAND Flash 512MB up to 1GB Flash Auto Power Management for power saving TV out Support composite Video out and Y C S Video out LCD Dual Display Support one is 24 bit TFT LCD the other one is18 bit TFT LCD Optional LVDS or VGA convert boards for different display Touch Panel 4 way touch control Ethernet 100 10M Ethernet Support RJ45 connector UPT USB 2 0 USB OTG and USB Host ULPI SD SD Card socket on board Bus type Expansion EIM system bus SPI Port CSPI bus for extension board I2C 12C Port I2S one for extension port the other one for Bluetooth Audio Audio Processor on board Keypad 6x4 matrix keyboard COM Port RS232 x 2 and one UART CAN CAN bus on board GPIO 10 bit 3V3 GPIO 5V tolerance ADC port 8 Ch 12 bit Analog to Digital Converter Camera Port 2 Ch up to 8Mpixel 15fps up to 133Mpixel sec WiFi Bluetooth alternatively WiFi 802 11 b g n or Bluetooth 2 0 3 0 one Antenna port Power Requirement 6 5V 35V power or 5V Supply or Li Battery Supply Battery Charger Build In Dimension 94mm x 65mm Operating Temperature 20C to 70C AF 158 F We also provide daughter board EX 916
67. tooth antenna and connect it to the antenna interface Figure 2 7 Shows How to Connect WiFi Bluetooth Antenna WIiFi BT Module GE A FE CSS 2 c ioon Cn POST e EEr TT LEE N Usi Figure 2 7 Antenna Connection Test Software Table 2 5 lists the software required to run the test Table 2 5 Software Required for BT test bthbcsp dll Driver dll file of Bluetooth module that is supported within WinCE Test Sequences Version V1 0 Page 31 Total 95 EX 9162M51A SBC User Manual Please follow the guide to test the Bluetooth module step by step 1 Turn on a Bluetooth device such as a Bluetooth mobile 2 Power on the EX 9162N51AB board 3 Open the WinCE OS directory My Device Control Panel Bluetooth Device Properties and the Bluetooth Manager a Dialog Box will pop up l l I Steet Certificates Date Time Dialing Display Freescale Input Panel Internet Keyboard Mouse Device display driver Options ies esa n cid y e TM M h e 30 Network and Owner Password PC Power Regional Storage Stylus System volume E Dial up Ca Connection Settings Manager Sounds File view View i 7 gt x D a LA WS Pe D GE ooth Certificates X Date Time Dialing Display Freescale Input Panel Internet Keyboard Mouse evice display driver Options OK stem volume E Network and Owner Dial up Ca Sounds Pa Bluetooth Manager Scan Device Untrusted Trusted Scan Device Device
68. tor divider network should assure the resulting voltage within the ADC input range in particular when the thermistor s inspection function is being used 1 Make sure the positive pin1 and negative pole pin2 on the right position not on the contrary 2 After a long time of use please check the voltage of the battery When the voltage is too low please replace the battery 2 3 3 Charging LED indicator The driver at CHRGLED serves as the O trickle sign of life LED and will be activated when standalone charging is started and will also remain on when the device is powered on until the charger is programmed by SPI Figure 2 2 Charging LED Indicator 2 3 4 Charging interface The charger supports charging from a wall charger or from a USB host Version V1 0 Page 21 Total 95 EX 9162M51A SBC User Manual The charger interface provides linear operation via an integrated DAC at programmable current levels It incorporates a standalone trickle charge mode in case of a dead battery with dual LED indicator driver Over voltage short circuit and under voltage detectors are included as well as charger detection and removal The charger includes the necessary circuitry to allow for USB charging The battery management system also provides a battery presence detector and a converter from A to D that serves for measuring the charge current battery and other supply voltages as well as for measuring the batter
69. ue else false Version V1 0 Page 47 Total 95 EX 9162M51A SBC User Manual 4 CEX 9162M51ACtl sGetDIState To obtain input on the level of change in pin BOOL sGetDIState DIO16 amp nPortln Parameters nPortOut out O is low 1 is high Return value Get successful return true else false 2 14 4 An Example to Call APIs For example xlO4 xIO8 configured as output the others for the input pin the code is as follows DIO16 aDIO1 aDIO1 nDIO 0x1 aDIO1 nDIO 0x4 m pDvcBase sDIO SetConfig aDIO1 Now configure the Output pin of xl04 xlO8 state xlO4 high xlO8 low the code is as follows DIO16 aDIO1 aDIO1 nDIO 0x0 aDIO1 nDIO 0x1 m_pDvcBase gt sSetDOState aDIO1 To obtain the state of the input pin just look at the corresponding position it is O or 1 on the input pin the code is as follows DIO16 aDIO1 aDIO1 nDIO 0x0 m_pDvcBase gt sGetDIState aDIO1 Version V1 0 Page 48 Total 95 EX 9162M51A SBC User Manual 2 15 ADC Function 2 15 1 API Overview The ADC API is to read ADC value provided and set the upper and lower warning level value You could set the maximum and minimum warning level for each ADC and it will generate interruption once the measured value is beyond maximum or minimum warning level 2 15 2 API Function BOOL SetAINConfig AIOCONFIG aAlOConfig BOOL GetAINConfig AIOCONFIG amp aAlOConfig BOOL sGetAINState AIOADC amp nAIOIn BOOL ADCGetSingleChan
70. unction 2 17 1 Introduction The Inter Integrated Circuit I2C is a two wire bidirectional serial bus This bus is suitable for applications requiring occasional communications over a short distance between many EX 9162M51As The flexible I2C allows additional EX 9162M51As to be connected to the bus for expansion and system development The I2C operates up to 400kbps but it depends on the pad loading and timing 2 17 2 12C Pin Description Table 2 17 I2C Pin Description Pin J6 PinName Sym Description I2C1_ CLK lo I2C serial clock output I2C1 DAT I2C serial data input output 2 17 3 I2C Connectors Available on Port B connector 2 17 4 12C APIs 2 17 4 1 Overview It provides multi byte read and write I2C operation which derived from CCommunication class 2 17 4 2 Headers Head file Communication Communication h Communication I2C I2CCom h Communication I2C i2cbus h 2 17 4 3 API Function BOOL HasOpened DWORD Read BYTE pData DWORD nLen DWORD amp nOPLen 6 DWORD Write BYTE pData DWORD nLen DWORD amp nOPLen Version V1 0 Page 55 Total 95 EX 9162M51A SBC User Manual 2 17 4 4 API Function Description 1 Cl2CCom Cl2CCom Create an I2C device interface is the constructor CI2CCom LPCWSTR strl2CName BYTE byAddr Parameters strl2CName in Specify the interface name byAddr in Specified device address Return value Create successful return true else false 2 Cl2CCom
71. utSetbySWAPL J o 32 xpio4 WO JlvoutSetbySWAPl OP 33 xpos WO j lvoutSetbySWAPl TI 34 xpioz WO ImoutSetby SW API J o 0 35 xpo5 O JlvoutSetbySWAPl TI 30 GND J GND 37 OWIRE VIO JjForonewielOcontol 28 IN o 39 3V3 Leo j3415VSuppyfromPMIC TI 20 GND PI S EIM DA2 IO 43 EIM_DA3 S EIM DA4 O EIM DA7 IO O Q o 48 EIM_DA6 UO Expansion B 19 FIM DA13 Er NE xpansion Bus 50 99 94 55 Can be EIM A19 A25 or Extend GPIO controlled by SW 67 EIM BCLK O 9 Expansion Bus EIM OE O V EIM ERT O 70 LEM CSS JO 71 EIM LBA JO 9 72 EIM WAT Version V1 0 Page 11 Total 95 EX 9162M51A SBC User Manual 73 EIMRW JO 74 EIM EBO Io 75 EIMCS1 Io 76 EIMCSO0 JO RESETIO O IO Reset Signal active L A TRCTL PATA O As Extend GPIO controlled by GPIO1 8 GPIO from iMX51 WE 80 GPIO1 7 GPIO from iMX51 LO Table 1 2 Port B J6 Extension Pin Description Sym Port Function Remark AO 3 RESTO oQ j 0 0 O A POR yp ooo oo 5 UARTA2TXD la SS lA 0 0 OO 6 JUARTBRXD Ji ll ooo 7 SERDISP2CS lg 8 DISPB2SERRS lg 9 DISPB2 SER DIO yj 10 DISPB2 SER DIN y 16 DISPB2 SER CLK O 11 SERDISP1 CS o 12 DISPB1 SER RS o 13 DISPB1 SER DIO yo 14 DISPB1 SER DIN DISPB1 SER CLK O
72. y thermistor and die temperature Finally a system is included for monitoring the current drawn from or charged into the main battery for support of a Coulomb Counter function Figure 2 4 USB Charging Interface Version V1 0 Page 22 Total 95 EX 9162M51A SBC User Manual 2 4 Audio Function Audio Function is separated into two portion one is EX 9162M51A s audio processor the other one is EX 9162X51AB s audio multiplexer The following audio processor is welded onto EX 9162M51A The Low Power Stereo Codec with Headphone Amp is designed for portable products needing line in mic in line out headphone out and digital I O It is able to achieve ultra low power with very high performance and functionality Capless headphone design and an internal PLL help cost down the whole system HeadPhone Detect Analog In Lineln MIC Headphon e Line Out w volume Audio Switch DS A Interface Audio Processing Figure 2 5 EX 9162M51A s Audio Block Diagram 2 4 1 Audio Connector CT ELLE OK Ll FLU DU t TOU UO ea 3 Up Ge DY eee eee oe ee ded ee Zei Figure 2 6 EX 9162M51A Audio Connector Version V1 0 Page 23 Total 95 EX 9162M51A SBC User Manual 2 4 2 Audio APIs for EX 9162N51AB 2 4 2 1 Audio Multiplexer Overview There are Audio Input Multiplexer and Output Multiplexer circuit in the EX 9162N51AB single board Audio Input Multiplexer supports 4 channel audio line input inner Microphone
73. ype Current Fanle iz JoinTech T WVGA Panel set Led Display Rotation Current Rotation iz Degree Led Test Send gt Hex 5 Char Pain Text PB Ec TIME Send a Comm Status ETS DEE KING ELSD CD ETS Ready Version V1 0 Page 82 Total 95 EX 9162M51A SBC User Manual Eboot screen lasts for only 3 sec then it will proceed WinCE automatically Due to short waiting time please operate it as quickly as you can Please refer to the above figure and pay attention to the below 1 To move Mouse to icon 1 2 Power On EX 9162M51A Please touch Space Bar on your keyboard once Eboot Screen show up as icon 2 Till icon 3 show up you could do some selection else try again 3 Input MAC address the first digit MUST be even Caution Don t select icon 5 this will erase WinCE even Eboot and all will crash A 2 Panel Selection Enter your selection p Input P Attention there is a space before P There are 5 models of LCD panel for selection Choose the LCD Panel Type below 11 JoinTech T WVGA Panel 21 JoinTech 1 3 480x272 Panel 131 ChiMei 3 5 QVGA Panel 4 JoinTech 8 SVGA Panel 5 LVIS VGA Panel Enter your selection Send gt Hex Char F The default is 4 you can Boot Loader Configuration UNSAVED CHANGES select the model number of 0 IP address 189 188 1 TO the panel you selected 1 Subnet Mask 255 255 255 0 2 Boot delay 2
Download Pdf Manuals
Related Search
Related Contents
COFFEE MAKER Disco reactivo metabólico completo de Piccolo IST– Instituto Superior Técnico PRO2/TP Quick Start Guide 1461/C3B MANUEL D`INSTRUCTIONS - Titan Motorola Baby Monitor Trouble Shooting User Manual - HealthCheckSystems EUCLID UNIVERSAL COLOR PACKS Copyright © All rights reserved.
Failed to retrieve file