Home

User Manual RSB-4210 Evaluation Kit

image

Contents

1. 2 Figure 2 9 System Bus Description GND N C IMX GPIO4 N C SysBus Al SysBus A3 13 Pin Description C1 C2 C3 C4 C5 C6 N C DIO 3V3 IMX GPIO3 DIO 3V3 SysBus A15 SysBus A13 Pin Description D1 D2 D3 D4 D5 D6 N C DIO 3V3 IMX GPIO2 DIO 3V3 SysBus A14 SysBus A12 RSB 4210 User Manual A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A23 A24 A25 A26 A27 A28 A29 A30 2 2 5 SysBus A4 SysBus A6 SysBus A16 SysBus A18 SysBus A20 SysBus A22 DIO 3V3 SysBus DO SysBus D2 SysBus D4 SysBus D6 N C N C N C N C N C N C N C N C SysBus_nEBO N C SysBus WP N C SysBus_Wait B7 B8 B9 B10 B11 B12 B13 B14 B15 B16 B17 B18 B19 B20 B21 B22 B23 B24 B25 B26 B27 B28 B29 B30 SysBus_A5 SysBus_A7 SysBus_A17 SysBus_A19 SysBus A21 SysBus A23 N C SysBus Dt1 SysBus D3 SysBus D5 SysBus D7 N C N C N C N C N C N C N C N C N C SysBus LBA N C N C N C C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 SysBus_A11 SysBus A9 SysBus A24 N C SysBus RW N C SysBus CSO SysBus D15 SysBus D13 SysBus_D11 SysBus D9 N C N C N C N C SysBus BCLK N C SysBus EBi1 N C N C 5V EXT SysBus Wait N C GND D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 D18 D19 D20 D21 D22 D23 D24 D25 D26 D27 D28 D29 D30 SysBus_A10
2. Figure 2 34 USB OTG MINI AB Connector Pin Description Pin Description 1 5V 2 Data 3 Data 4 USBOTG ID 5 GND 2 2 30 USB HUB 2 amp 3 Standard Type A USB2 The USB interface provides full speed serial communications ports which includes the following features Compliance with the USB 2 0 specification m Transceiver buffers integrated over current protection on ports E Supports power management E Operates as a master on the bus o X a antl 4 2 Mor a 4 ov ba Figure 2 35 USB CSB HUB 2 amp 3 Standard Type A RSB 4210 User Manual 30 2 2 31 VGA Connector CRT1 RSB 4210 supports a standard VGA Interface D SUB15 The pin assignment is shown below Figure 2 36 VGA Connector D SUB15 Pin Description 1 CRT R 3 CRT B 5 GND 7 GND 9 5 V 11 N C 13 HSYNC 15 DDC_SC_CRT 2 2 32 HDMI Connector HDMI_CN1 RSB 4210 supports a standard HDMI Interface The pin assignment is shown below Description CRT_G N C GND GND GND DDC_SD_CRT VSYNC Pin Description 1 HDMI TD2 3 HDMI TD2 5 GND 7 HDMI TDO 9 HDMI TDO 11 GND 13 HDMI CEC 15 DDC_SC_HD 17 GND 19 HPD 31 Figure 2 37 HDMI Connector Description GND HDMI TD1 HDMI_TD1 GND HDMI CLK HDMI CLK HDMI Reserved DDC SD HD 5V HDMI RSB 4210 User Manual 2 2 33 Box Header for LINE OUT LINE IN MIC IN and L amp R Speakers AUDIO1 The box header is used for audio input output signal port and
3. n REL_DEBUG H ae se b REL SUSLH D Delete All Breskpoints CtlHShifttF9 le OnBnClickedBu oe Disable All Breakpoints E 5 Resource Files fal t t 20110805 ico le OnBndlickedBu trol notificatio 63 RSB 4210 User Manual rA fil tet 20110805 Debugging Microsoft Visual Studio File Edit View Project Build Debug ook Test Window Help HM 2S2aAd Aana C fr ROM 1210 0 ARM ROM 1210 0 ARMY Devis gl 42 Gh gt Ma gt GE He GJ Process Dx6AE032A fl t t 20110 Thread 113902446 WinMamCRTS Y Stek Frame fel t t 20110805 e Solution Explorer fel tot 20110805 X TENE S010805 epp gt fsl_tset_20110805Dlg cpp PP h EN 8 a Solution fel_tset_20110805 1 project C fel tret 20110805 d p OG Header Files RETAILMSG 1 TEXTC d mmc Zd r n i mmr h f l tet 20110805 h in fl tet 20110805DIg h in REL DEBUG H h BEL SUSILH Lh Resource h h stdafsh Og Resource Files fil fel tet 20110805 ico fal tet 20110805 xc fil tet 20110805 re2 Og Source Files G f l tet 20110805 cpp C fel tset 20110805DIgcpp 3 10 SUSI Library SUSI A Bridge to Simplify amp Enhance H W amp Application Implementation Efficiency When developers want to write an application that involves hardware access they have to study the specifications to write the drivers This is a time consuming job and requires lots of expertise Advantech has do
4. rrrnnnnnnnnnnrrrrnnnnnvnrrnnnrrnnnnnnrnvrnnnnrnnnnnsrennnnn 8 2 1 5 Touch Cable Part B4 eronnnrnnnnnnnnvnrnnnnrnnnnnnrrnnvnnnnrnnnnnnrrnnnnnnnennnn 8 2 1 6 SQFlash SD Card Part C rrrnvrvrrrrnnnnnnnnnnnnvnnrvrrnnnnnnnnnnvnnnnnrnnnnnn 8 2 1 7 SATA Power Cable Part D rrrrrnnnrnnrvrrnnnnrnonnvrnnnnnrnnnvrnnnnrrnnnnnnnn 8 2 1 8 SATA Cable Part E rrrrrnnrrrnrnnnnrrrrnnnnrnnnnnnnnnrrnnnnennnnnnnrnnnnnnrennnnn 8 2 1 9 Mini USB Host Cable Part F rrrnnnrnnnrnrrnnnrernnnnnrnnrnnnnrrnnnnnrennnnn 8 2 1 10 Mini USB Client Cable Part G rrrrrrrnnnnnnrrrvrrnnnnrrnrrnrrnnnrrrrnnnnnnn 8 2 1 11 USB Type A Cable Part H rrrnnnnnnrnnrrrnnnnrnvnrrrnnnnnnnnnrrnnnnnnennnnnnn 8 2 1 12 Jumper Part l rrrnrrnnnronnnnnnnonrnnnnvnnnnnnnrrnnnnnnrnnvnnnnrnnnnnsnrnnnnnnsennnnn 8 2 1 13 Null modem cable Part J rrrrannrrrnnnnnnonnrnnnrrnnnnnnrnnrnnnnrnnvnnnrrnnnnn 8 2 1 14 19 V Power Adapter Part K rrrnnnnnrnnnnnnrnnnnnennnnnennnnnennnnnrnnnnnennnn 8 2 1 15 Power Cord Part L rrrrrrnnnnnnonrrrnnnnnnrvrrnnnnnnrrnnnnnnnnnrrnnnnnnnnssennnnnn 9 2 1 16 Speaker amp Audio Cables Part M rrrrnnnnnnnrvvnnnnnnnnvrnnrnnnrrrrnnnnnnn 9 2 1 17 Power Cable for Charger Board Part N1 umnnrrrnnnnrnnnvvvnnnnnnnnn 9 2 1 18 Signal Cable for Charger Board Part N2 rrrvnnnnnnnnnnrvnvnnnnnnnnnnn 9 2 1 19 Charger Board Part N3 rrrnrrrnnnnnnonnrrrnnnnrnonnrnnnnnnrrnnrrnnnnernnnnnnnn 9 2 1 20
5. 39 N C 41 N C 43 GND 45 N C 47 N C 49 N C 51 N C 53 N C 55 GND 40 42 44 46 48 50 52 54 56 2 2 13 LVDS1 LCD Connector CN14 RSB 4210 supports dual LVDS LCD Interfaces 24 24bit in which CN8 is LVDSO 24 bit while CN14 is LVDS1 24 bit The pin assignment of LVDS1 CN14 is shown a ii mm Bi Have ae 18 LV Pin GND LED_WWAN LED WLAN LED WPAN IO 1V5 GND DIO 3V3 N C GND Figure 2 18 LVDS1 LCD Connector Pin Description below 1 5V 3 5V 5 LVDS1_TX0 7 GND 9 LVDS1 TX1 11 LVDS1 TX2 13 GND 15 LVDS1_CLK 17 N C 19 LVDS1 TX3 RSB 4210 User Manual 20 Description 5V 5V LVDS1_TX0 LVDS1_TX1 GND LVDS1 TX2 LVDS1 CLK GND N C LVDS1 TX3 2 2 14 Pin Header for Jtag CN15 RSB 4210 provides one Jtag interface for debugging CPU CN15 is the pin header for Jtag interface rape Ma I Figure 2 19 Pin Header for Jtag Pin Description Pin Description 1 JTAG_TCK 2 GND 3 JTAG_TMS 4 GND 5 JTAG_TDO 6 GND 7 JTAG_TDI 8 IO_3V3 9 JTAG_TRST 10 N C 2 2 15 Wafer for SATA power CN16 CN16 provides DC 5 V for SATA device The pin assignment is shown as below B i OT JE Kon ee eae EN Figure 2 20 Wafer for SATA power 21 RSB 4210 User Manual Pin Description Pin Description 1 SATA 5 V 2 GND 3 GND 4 N C 2 2 16 Wafer for Power ON OFF CN17 When plug in the adapter with CN17 shorted by a jumper the system w
6. BST BTS SUS BTNI CSP GPTIO System Bus Reset Suspend CNA COM CN2 CAN ip Sf CN 1 Touch Screen CN6 COM4 CNS COMS KEYPADI Keypad CNB LVDSO CNT 125 CN9 COM 1 gel CNG SDI CN 14 LVDS1 CN11 Backlight CNIS Jing CNIG SATA Power SATA CNIISATA USBI USB HUB 3 USB OTGI USB OTG CN19 Coin Battery CAI Mini PCIe NI Power ON OFF BAT CNI Power BAT_CN2 Control Signal AUDIO Audio USB2 CNIS CRTIVHDMI_CNI COMI DCINI USB HUB 1 amp 2NLANI amp D VGAHDMI COMZ DC IN Figure 2 42 RSB 4210 Connector Position Top CNHI SIM Card Slot SDI SD MMC Slot Figure 2 43 RSB 4210 Connector Position Bottom RSB 4210 User Manual 34 2 3 2 RSB 4210 Board Dimension Unit mm 146 00 N O m ge FN ak 3 PE owe K 3 X a n mn GJE am Ep S r TAE T0000 amp 10000000 Cr de og m Figure 2 44 RSB 4210 Board Dimension 35 RSB 4210 User Manual RSB 4210 User Manual 36 Software Functionality This chapter details the Linux operating system on RSB 4210 platform 3 1 3 1 1 3 1 2 The RSB 4210 platform is one embedded system with Windows Embedded Compact 7 WinEC7 The WinEC7 architecture is a variation of the Windows operating sys tem for minimalistic computers and embedded systems The preconfigured kernel is allowed to write applications without creating own operating system kernels It offers the poss
7. Pin O N Oo1 O 11 2 2 24 Pin Header for 20x pins GPIO GPIO1 GPIO1 is extended for 20x pins 3 3V TTL Level GPIO GPIO1 4 pins are coming from CPU directly while GPIO5 20 pins are extended from IC PCA9555 The pin GND I2C1 SCL I2C1 SDA Pin 2 4 6 8 10 12 assignment is shown as below Pin EX GPIO 17 GND IMX GPIO1 EX GPIO 9 EX GPIO 11 EX GPIO 15 s pr BONINI A AEA E N if OL Ls 22 Pin 27 Description Description SPI IRQ SPI MISO SPI MOSI l2C3_SCL SPI_CSO l2C3_SDA SPI_CLK DIO_3V3 DIO_3V3 Figure 2 29 Pin Header for GPIO Description Description DIO_3V3 IMX_GPIO2 IMX_GPIO3 IMX_GPIO4 EX GPIO 5 EX GPIO 6 EX GPIO 7 EX GPIO 8 EX GPIO 10 EX GPIO 12 EX GPIO 13 EX GPIO 14 EX GPIO 16 EX GPIO 18 EX GPIO 19 EX GPIO 20 RSB 4210 User Manual 2 2 25 SATA Connector SATA CN1 RSB 4210 supports one SATA Interface thru SATA CN1 Both SATA DOM and SATA HDD support The pin assignment is shown in Fig 2 30 below Pin NWIT D Figure 2 30 SATA Connector Description Pin Description GND 2 SATA TX SATA TX 4 GND SATA RX 6 SATA RX GND 2 2 26 Pin Header for USB HUB1 USB1 The USB port is extended from USB HUBi1 The pin assignment is shown below Pin amp Br OE TO FersAJKTE j pan fl Figure 2 31 Pin Header for USB HUB1 Description Pin Description 5V 2 CSB HUB1 Data CSB HUB1 Data 4
8. Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks A watchdog protected application has to call SusiWDTrigger continuously to indicate that it is still working properly and prevent a system restart The first call to Susi WD Trigger in the middle of a delay resulting from a previous call to Susi WDSetConfig causes the delay timer to be canceled immediately and starts the watchdog timer countdown from the timeout value It is always a good choice for users to have a lon ger delay time in SusiWDSetConfig 81 RSB 4210 User Manual 3 10 3 16SusilOAvailable Check if GPIO driver is available int SusiCoreAvailable void Parameters None Return Value Value Meaning 1 The function fails 0 The function succeeds the platform does not support SusilO APIs 1 The function succeeds the platform supports GPIO Remarks After calling SusiDlllnit successfully all Susi Available functions are used to check if the corresponding features are supported by the platform or not It is suggested to call Susi Available before using any Susi functions RSB 4210 User Manual 82 3 10 3 17SusilOCountEx Query the current number of input and output pins BOOL SusilOCountEx DWORD inCount DWORD outCount Parameters inCount out Pointer to a variable in which this function returns the count of input pins outCount out Pointer to a variable in which this function returns the count of Output pins
9. System Software Windows CE 0 00 0001 2011 11 15 Boot Loader O 0 0001 2011 11 15 Platform Setting 6 14 0307 2011 04 15 J canca f avd Figure 3 2 General Information 45 RSB 4210 User Manual 3 3 3 2 Display From time to time it is unnecessary to turn on the display attached to the RSB 4210 all day long The Display page provides several frequently used functions such as turning off the LCD and backlight to elongate the display repair period adjusting brightness Furthermore users can click the Turn Off button to turn off the backlight of the display panel immediately without waiting Once the backlight is off there are three inputs to turn it on 1 mouse 2 keyboard 3 touch screen users can use any one of them to turn on the display The lower Brightness block has scroll bars by which users can fine tune the brightness levels of the LCD You can also change resolution by selecting VGA group check button However this feature is only for Hive based image and you need to restart platform to change resolution To custom ize your own resolution you need get Binary BSP from Advantech FAESs The default custom resolution is 800x600 now Advantech Platform Setting OK General Display Watchdog Audio Miscellaneous Backlight Contrast MOTE Change screen resolution need to restart system 800x480 1280x720 Custom MOTE Only For Hive Image Id Ja Figure 3 3 Display Configur
10. _ Ne 5 GA a H gt Figure 3 9 Tiger Test 3 5 3 2 Cube Test This test application verifies the basic functionality of OpengGL ES 1 1 It is included in the release image and is located under Windows cube exe Click to launch this test and a rotating cube appears on the screen as shown in follow figure Press ESC to exit this application Figure 3 10 Cube Test RSB 4210 User Manual 54 3 5 3 3 Triangle Test 3 5 4 This test application verifies the basic functionality of OpengGL ES 2 0 It is included in the release image and is located under Windows triangle exe Click to launch this test and a triangle appears on the screen as shown in follow figure Press ESC to exit this application Figure 3 11 Triangle Test Application Tool for USB Device Class Select There are three types of USB device classes ActiveSync MSC and RNDIS An application with a GUI is provided to switch between the three classes Figure X shows the tool to switch the USB device class Make sure the OTG port is operating under the USB device mode by connecting the mini B connector of the USB OTG cable to the OTG port in the board before pressing the Apply button to switch USB device class FSL USB Utility TEST Mode USE Device Class Select USB Device Class Select MSC O RND Apply Figure 3 12 USB Device Class Switch User Interface 55 RSB 4210 User Manual 3 6 Binary BSP introduction The purpose of this
11. SysBus_A8 N C SysBus OE GND N C SysBus CS1 SysBus D14 SysBus D12 SysBus D10 SysBus D8 N C N C N C N C GND GND DIO 3V3 DIO 3V3 N C SV EXT N C N C N C Pin Header for COM5 RS 232 TX RX RTS CTS CN5 CN5 is a 4 wire TX RX RTS CTS RS 232 port which provides connections between serial devices For example GPS GSM and Bluetooth devices etc or a communi cation network Bul os AR 3 4 sn 2 TT im J 242103CE 62 EM JANE EA at gj dl UKA AL SEE Figure 2 10 Pin Header for COM5 RS 232 TX RX RTS CTS RSB 4210 User Manual 14 Pin Description Pin Description 1 N C 2 N C 3 COMS RXD 4 COMS RTS 5 COM5_TXD 6 COM5_CTS 7 N C 8 N C 9 GND 10 N C 2 2 6 Pin Header for COM4 3 3V TTL TX RX RTS CTS CN6 CN6 is a 4 wire TX RX RTS CTS 3 3 V TTL signal which provides connections between serial devices For example GPS GSM and Bluetooth devices etc or a communication network ETTE 622421036E Wi LINN AM arnposs4an Figure 2 11 Pin Header for COMA 3 3V TTL TX RX RTS CTS 2 2 7 Pin Header for I25 CN7 RSB 4210 provides one 12S interface for users to expand their applications and CN7 is the pin header for the 12S interface roo Ath F 5 H e di ie i t Or qj r 1 1 G fi oll e B a Hi menn ren it rage ae Figure 2 12 Pin Header for I2S 15 RSB 4210 User Manual Pin O N O11 O 2 2 8 LVDSO LCD Connector CN8 R
12. they must modify the BIOS Now with the new Programmable GPIO customers can change the settings in their application by calling the SUSI API greatly saving development time I C is a bi directional two wire bus that was developed by Philips for use in their televisions in the 1980s Today I C is used in all types of embedded systems The I C API allows a developer to interface a CE PC to a down stream embedded system environment and transfer serial messages using the I2C protocols allowing multiple simultaneous device control Monitor Watchdog A watchdog timer WDT is a device or electronic card that performs a spe cific operation after a certain period of time if something goes wrong with an electronic system and the system does not recover on its own A watchdog timer can be programmed to perform a warm boot restarting the system after a certain number of seconds during which a program or com puter fails to respond following the most recent mouse click or keyboard action E Display Brightness Control The Brightness Control API allows a developer to interface Windows CE PC to easily control brightness RSB 4210 User Manual 66 Backlight The Backlight API allows a developer to control the backlight screen on off in Windows CE 3 10 1 Package Contents SUSI RISC currently supports one OS Windows CE Contents are listed below SUSI User Manual pdf Library Files Susi dl Dynamic
13. 15 Boot Loader 0 0 0001 2011 11 15 Platform Setting 6 14 0307 2011 05 09 Ji ses Figure 3 13 General Information All platform information is showed in this page Platform Information E Show H W platform information Memory Size Show memory information E Show NAND Flash information System Software Show information about the Operating System Show information about Boot Loader Show information about platform RSB 4210 User Manual 68 li Display Advantech Platform Setting OK General Display Watchdog Audia Miscellaneous Backlight Contrast min Max Ws MOTE Change screen resolution need to restart system C 800x480 1280x720 Custom MOTE Only For Hive Image J el This page is about VGA control You can control Backlight Brightness and Screen resolution ROM 1210 does not support to adjust contrast Backlight Turn ON OFF backlight Brightness m Change the brightness from 0 up to 255 VGA E Change screen resolution 69 RSB 4210 User Manual iii Watchdog Advantech Platform Setting OK Display Watchdog audio Miscellaneous Watchdog Timer Time Period 5 seconds Time Delay 5 seconds v Triggle Elapse Time 00 00 00 General Power Management Economize Sleep This page contains Watchdog and Power Management Watchdog Timer m A configurable time out counter with Time out periods from 0 5 seconds u
14. 2 SUSI VC BOTH AVAILABLE 3 Remarks After calling SusiDlllnit successfully all Susi Available functions are use to check if the corresponding features are supported by the platform or not So it is suggested to call Susi Available before using any Susi functions 3 10 3 26SusiVCGetBrightRange Get the step minimum and maximum values in brightness adjustment BOOL SusiVCGetBrightRange BYTE minimum BYTE maximum BYTE stepping Parameter minimum out Pointer to a variable to get the minimum brightness value maximum out Pointer to a variable to get the maximum brightness value stepping out Pointer to a variable to get the step of brightness up and down Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Call SusiVCAvailable first to make sure if the brightness control is available The val ues may vary from platform to platform depend on the hardware implementations of brightness control For example if minimum is 0 maximum is 255 and stepping is 5 it means the brightness can be 0 5 10 255 89 RSB 4210 User Manual 3 10 3 27SusiVCGetBright Get the current panel brightness BOOL SusiVCGetBright BYTE brightness Parameters brightness out Pointer to a variable in which this function returns the brightness Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Call SusiVCAvailable first to make sure if the brightness control is available 3 10 3
15. 28SusiVCSetBright Set current panel brightness BOOL SusiVCSetBright BYTE brightness Parameters brightness in Specifies the brightness value to be set Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Call SusiVCAvailable first to make sure if the brightness control is available In some implementations the higher the brightness value the higher the voltage fed to the panel So please make sure the voltage toleration of your panel prior to the API use 3 10 3 29SusiVCScreenOn Turn on VGA display signal BOOL SusiVCScreenOn void Parameters None Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks The function enables both the LCD and CRT display signals RSB 4210 User Manual 90 3 10 3 30SusiVCScreenOff Turn off VGA display signal BOOL SusiVCScreenOff void Parameters None Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks The function disables both the LCD and CRT display signals 3 10 3 31SusiSPlAvailable Check if SPI driver is available int SusiSPlAvailable void Parameters None Return Value Value Meaning 1 The function fails 0 The function succeeds the platform does not support SusilO APIs 1 The function succeeds the platform supports SPI Remarks After calling SusiDlllnit successfully all Susi Available functions are used to check if the corresponding features are supported by the platform o
16. 4210 COM ports with a serial device 2 1 14 19 V Power Adapter Part K The AC to DC power device provides a 19 V DC output 65 W max with constant voltage sources 100 V 240 V RSB 4210 User Manual 8 2 1 15 Power Cord Part L 3P Power Cord USA Europe or UK standard for 19 V Power Adapter AC input 2 1 16 Speaker amp Audio Cables Part M The cable connects with RSB 4210 AUDIO1 and LINE OUT LINE IN MIC IN and L amp R Speakers 2 1 17 Power Cable for Charger Board Part N1 The cable provides the power for charger board It connects RSB 4210 BAT CN1 with the charger board CN2 2 1 18 Signal Cable for Charger Board Part N2 The cable provides the control signal for charger board It connects RSB 4210 BAT CN2 with the charger board CN1 2 1 19 Charger Board Part N3 The charger board provides 12v power to charge the battery when plug in a 19v adapter and RSB 4210 can read the battery status through this charger board Note Itis necessary to use 19v adapter for charger board rather than 12v TL 2 1 20 Battery Part N4 The battery can provide the power with RSB 4210 without any adapter 2 1 21 Keypad Cable Part O1 The keypad cable connects RSB 4210 KEYPAD1 with the keypad 2 1 22 Keypad Part O2 8 8 arrays of 64 normally open single pole switches 6 6 region of keypad are avail able when using RSB 4210 2 1 23 Cable for Suspend Reset Button Part P The cable is use
17. Battery Part N4 rerrnnnrnnnnnnrnnnnnennnnnenvnnnrennnnrennnnnnnnnnnennnnernnnnsnennn 9 2 1 21 Keypad Cable Part O1 rrrrrrrorrrnnnnrrnornnnnnnnrrrnrnnnnnnrrnnrnnnnensennnnnn 9 2 1 22 Keypad Part O2 rrrannornrnnnnrovrrnnnnevrnnnnrrnrnnnnrennnnnnrnnrnnnnsennnnsnennnnn 9 2 1 23 Cable for Suspend Reset Button Part P rrrnnnrrrvvnnnnnnrrrrrvnnnnnn 9 2 1 24 COM Port Cable D SUB 9P to Housing Part Q errrnnnrrvennnnnn 9 2 1 25 RS 232 Loopback Part R rrrrannnrnnnnnnnrnnrnnnnvnnnnnnrnnvnnnnrnnnnnnnennnnn 9 2 1 26 Terminal Block for CAN RS 485 Part SJ rrrrrnnnrrrnnnnrrovrrnnrvennnnn 9 RSB 4210 Connectors cccccsseeeeccesseeecceeeeeecsuseeecsseaeeeesseseeeessageeeeeas 10 2 2 1 Wafer for 4 wire Resistive Type Touch Screen CN1 10 Figure 2 2 Wafer for 4 wire Resistive Type Touch Screen 11 2 2 2 Phoenix Connector for CAN Bus CN2 cccceceeeeeeeeeeeeeeees 11 Figure 2 3 Phoenix Connector for CAN BUS ccccseeeeeeees 11 Figure 2 4 CAN Application rannnnnnnnnnnnnnrrnnnnrnvnnnnevnnnrennnnnennnnne 12 Figure 2 5 Schematics of CAN on RSB 4210 rrrrannnnrerrnnnnnnnr 12 2 2 3 Phoenix Connector for COM3 RS 485 CN3 rrnnrrrnnrnnnnnnnnnnn 12 Figure 2 6 Phoenix Connector for COM3 RS 485 rrrnennrnnnnen 12 Figure 2 7 RS 485 Application cccccccccseeceeseseeeeeseeeeneesseaees 13 Figure 2 8 Schematics of RS 485 on RSB 4210
18. FCC Class A Embedded Linux 2 6 35 Default Android 2 3 4 and Windows Embedded Compact 7 Board Block Diagram RSB 4210 User Manual h na RM Dina ps SMET tees LAKID 1 i big 2550 Touch CM d wie IE ers saame RTE Battery abla older ET MATA LE HIHI Tette ahr 257 SATA CH K OA _ vr TI SKESHVDTDR FirHinder 2 CAN Bus CAM Trancener CAN T TI SMGSHVDER 125 nde BAC Line i Fac GOMMI FES TARE WARTI Are greveceo wcu Audio Boxteade TWAS Line Out H DOMAAT WARTA NN Ampfiier Speaker COMA aire REESE TAR VARTE T i Ti Bh haia TRADI 2D2RTIT MAFTMIDE CONAN ar Tae WART2_ 4Wfire MAXINHDE EE MEN 4 5 ci n F EE GRIMM cro Ii re Te es MP eet POARSESPW rere USE OTG are AT ka 15 Flash bo POT FETH LAG SPI SYSTEM Bus LANE SYSTEM Bus X PHY SYSTEM CH J129PIN Li Figure 1 1 RSB 4210 Board Block Diagram H W Installation This chapter introduces the setup procedures of the RSB 4210 hard ware including instructions on setting jumpers and connecting peripherals switches indicators and mechanical drawings Be sure to read all safety precau tions before you begin this instal lation procedure 2 1 Development Kit H W Installation The Figure 2 1 is RSB 4210 Evaluation Kit Assembly and the detail descriptions with Advantech P N are shown as below Item Part A Description RSB 4210 Advantech P N RSB 4210CF A78AAE 7 L
19. GND GND Chassis Ground RSB 4210 User Manual 28 2 2 27 Wafer for Battery Charger Board Power BAT CN1 BAT CN1 provides the power with battery charger board VIN ADP is the voltage from adapter to battery charge board VIN is the voltage from battery charge board to RSB 4210 The pin assignment is shown below Te pn maa n i ji E rope E TER Figure 2 32 Wafer for Battery Charger Board Power Pin Description Pin Description 1 VIN ADP For Battery 2 VIN ADP For Battery 3 GND 4 GND 5 VIN For RSB 4210 6 VIN For RSB 4210 2 2 28 Wafer for Battery Charger Board Control Signal BAT CN2 BAT CN2 provides the I2C control signal with battery charger board The pin assign ment is shown below T s i IT T p AA A EAM Go miini gia i CITT TITE i Figure 2 33 Wafer for Battery Charger Board Control Signal 29 RSB 4210 User Manual Pin Description Pin Description 1 3 3 V STB 2 GND 3 I203 SCL BAT 4 N C 5 I203 SDA BAT 6 N C 7 Charger board IN 8 N C 2 2 29 USB OTG MINI AB Connector USB OTG1 The RSB 4210 has a single USB OTG mini AB port which can be used as a USB cli ent to link with PC or a USB host device For USB client applications users could upload or download files to any folder in Windows CE and create a synchronous folder between PC and RSB 4210 thru this connector For USB host applications users can connect with USB devices for example USB mouse and USB keypad
20. Pin Header for 20x pins GPIO SATA_CN1 SATA Connector USB1 Pin Header for USB_HUB1 BAT_CN1 Wafer for Battery Charger Board Power BAT CN2 Wafer for Battery Charger Board Control Signal USB OTG1 USB OTG MINI AB Connector USB2 USB HUB 2 amp 3 Standard Type A CRT1 VGA Connector HDMI CN1 HDMI Connector AUDIO1 Box Header for LINE OUT LINE IN MIC IN and L amp R Speakers COM1 D Sub9 Connector for COM2 RS 232 TX RX RTS CTS DCIN1 DC IN Power Jack SD1 SD Card Slot Wafer for 4 wire Resistive Type Touch Screen CN1 The touch screen interface performs all sampling averaging ADC range checking and control for a wide variety of analog resistive touch screens This controller only interrupts the processor when a meaningful change occurs RSB 4210 User Manual 10 bi A MIT 62242103CE j LUANE M 1 LLU DD ELY wE arnoss4an Figure 2 2 Wafer for 4 wire Resistive Type Touch Screen Pin Description Pin Description 1 Touch Y 2 Touch Y 3 Touch X 4 Touch X 2 22 Phoenix Connector for CAN Bus CN2 RSB 4210 supports one CAN bus while CN2 is a phoenix connector for CAN bus For CAN applications the two ends of the cable will have termination resistor connected across the two wires Without termination resistors reflections of fast driver edges can cause multiple data edges that can cause data corruption Please refer to Figure 2 4 and Figure 2 5 to add ing a termination resistor 120 ohms on your end
21. Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks The number of GPIO pins equals the number of input pins plus the number of output pins The number of input and output pins may vary in accordance with the current pin direction 3 10 3 18SusilOSetDirection Set direction of one GPIO pin as input or output BOOL SusilOSetDirection BYTE PinNum BYTE 1O DWORD Pin DirMask Parameters PinNum in Specifies the GPIO pin to be changed ranging from 0 total number of GPIO pins minus 1 lO in Specifies the pin direction to be set PinDirMask out Pointer to a variable in which the function returns the latest direction mask after the pin direction Is set Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Use an IO value of 1 to set a pin as an input or 0 to set a pin as an output The function can only set the direction of one of the pins that are direction configu rable If the pin number specified is an invalid pin or a pin that can only be configured as an input the function call will fail and return FALSE 83 RSB 4210 User Manual 3 10 3 19SusilOReadEx Read current status of one GPIO input or output pin BOOL SusilOReadEx BYTE PinNum BOOL status Parameters PinNum in Specifies the GPIO pin demanded to be read ranging from 0 total number of GPIO pins minus 1 status out Pointer to a variable in which the pin status returns Return Valu
22. X Freescale i MX Platform Builder TOTCPU Freescale i MXS3 SMD ARMY Checked Freescale i MES SMD ARMY Debug Freescale i MES SMD ARMY Release Make Run Time Image Select Build gt Build Solution from your Visual Studio 2008 menu bar Never Rebuild or Clean solution The WinEC7 image will be placed at C WINCE700 osdesigns ADV_ROM_1210 Rel Dir Freescale_ MX53 SMD ARMV7_ Release RSB 4210 User Manual 56 3 6 2 3 6 3 3 7 3 7 1 Windows CE Startup Procedure Please refer to Section 3 2 Copy the compiled NK nbO image to your boot device Follow Section 3 2 to boot up your platform U boot development Please refer to RSB 4210 Linux Eva kit user manual and winec7 uboot programing guide_ date to develop u boot if you want to customize it SDK introduction The purpose of this document is to introduce the method of remote debug a Visual C program of Windows Embedded Compact 7 Windows EC7 Smart Device by using Activesync utility connection Before you begin this document s step you need to setup a development environment listed as below 1 Visual Studio 2008 development environment on your Desktop PC Visual Studio 2008 SP1 2 Install target device SDK For example ROM 1210 msi for RSB 4210 platform 3 Windows Embedded Compact 7 0 device Create a new Windows EC 7 project Select File gt New gt Project from your Visual Studio 2008 menu bar Select Project Types Smart Device of Visua
23. an error ina library or driver For a complete list of error codes please refer to the Appendix Core functions SusiCore APIs are available for all Advantech SUSI enabled platforms to provide board information such as the platform name and BIOS version New SusiCoreAccessBootCounter and SusiCoreAccessBootCounter APIs are Boot Log ger features that enable monitoring of system reboot times total OS run time and continual run time Watchdog WD functions The hardware watchdog timer is a common feature among all Advantech platforms In user applications call SusiWDSetConfig with specific timeout values to start the watchdog timer countdown meanwhile create a thread or timer to periodically refresh the timer with SusiWD Trigger before it expires If the application ever hangs it will fail to refresh the timer and the watchdog reset will cause a system reboot 73 RSB 4210 User Manual GPIO IO functions There are two sets of GPIO functions It is highly recommended to use the new one With pin read and write more flexibility has been added to allow easy pin direction change as needed as well as the capability of reading output pin status GPIO function set Refer to Appendix for pin allocation and their default direction IIC functions The APIs here cover IIC standard mode operations with a 7 bit device address The slave address is expressed as a 7 bit hex number between 0x00 to 0x7F how ever the actual addresses used for
24. button to save this changed registry Reboot the system and the Ethernet functions would be available as the previous configuration GSC Ss 5 9 Make New lAXS879601 FECI Connecti Fii Hetwork Connections Gt 12131 AM fo Figure 3 7 Networking via Ethernet BSP Carried Tools The Freescale board support package BSP is based on the Microsoft Windows Embedded Compact 7 operating system It has some build in tools to verify WinEC7 functionality and BSP s drivers This section will introduce these tools Display and Video Testing Tools The Windows Embedded Compact 7 BSP display driver is based on the Microsoft DirectDraw Graphics Primitive Engine DDGPE classes and supports the Microsoft DirectDraw interface This driver combines the functionality of a standard LCD dis play with DirectDraw support RSB 4210 User Manual 50 3 5 1 1 Using The Display Driver Control Panel Application A control panel application provides access to additional display driver functionality Look for the icon shown in Figure 3 8 in Windows CE control panel The control panel application supports the following display driver features m Rotation between 0 90 180 and 270 Gamma correction configuration for a synchronous display device The gamma value may be set between 0 5 and 3 5 The default gamma value is 1 0 m Display mode configuration with a drop down box listing all of the display modes supported by the display driver Each d
25. device R271 of RSB 4210 default is none to avoid this situation Figure 2 3 Phoenix Connector for CAN Bus Pin Description Pin Description 1 CAN D 2 CAN D 11 RSB 4210 User Manual PLUG 2 3 1mm Figure 2 5 Schematics of CAN on RSB 4210 2 2 3 Phoenix Connector for COM3 RS 485 CN3 RSB 4210 supports one RS 485 interface while CN3 is a phoenix connector for RS 485 Note For RS 485 applications the two ends of the cable will have a termina tion resistor connected across the two wires Without termination resis E tors reflections of fast driver edges can cause multiple data edges that can cause data corruption Please refer to Figure 2 7 and Figure 2 8 to adding a termination resistor 120 ohms on your end device R289 of RSB 4210 default is 120 ohms to avoid this situation RS485_TXD Figure 2 6 Phoenix Connector for COM3 RS 485 Pin Description Pin Description 1 RS485_TXD 2 RS485_TXD RSB 4210 User Manual 12 2 2 4 System Bus CN4 Figure 2 8 Schematics of RS 485 on RSB 4210 R287 ALOK R65 TAD Raja 120 RAGS TX RAE ALK mo ava The RSB 4210 provides system bus via PC1104 connector for extended device use The pin assignments are shown below in Fig 2 9 Pin A1 A2 A3 A4 A5 A6 Description N C GND EX GPIO 8 N C SysBus A0 SysBus A2 Pin B1 B2 B3 B4 B5 B6 fn mi ANNA AM 2822421030E UT OT WO A M c ra ar s94ANn E R RET
26. function called Startup execution After the system boot up the startup execution function would automatically perform This function is useful for controlling the system to do the initialization processes or some other procedures In RSB 4210 platform follow below method to perform the Startup function Method Step 1 Create a folder named Startup in a storage media onboard flash or SD stor age card Step 2 Copy executable files to Startup folder that is created by Step 1 Example Copy executable files AdvRebootCounter exe in SD Memory Startup and then reboot the system After the system boots up the executable files would automati cally execute Platform Setting The Platform Setting utility is an outstanding utility designed by Advantech Win dows CE software team It is an integrated environment where users can get useful system information as well as configure favorite system settings and apply system control functions on demand The Platform Setting icon is on the desktop The follow ing sections illustrate the functions of Platform Setting General General page shows the memory information including DRAM and iNAND Platform name and System Software version are also in here Advantech Platform Setting General Display Watchdog Audio Miscellaneous Platform Information Mame ROM 1210 Memory Size Total In Use Free DRAM KE 449452 159464 209955 NAND EB 1909076 445004 1465192
27. returned without proof of the purchase date is not eligible for warranty service 5 Write the RMA number visibly on the outside of the package and ship it prepaid to your dealer Part No 2002421000 Edition 1 Printed in Taiwan December 2012 RSB 4210 User Manual ji Packing List Before setting up the system check that the items listed below are included and in good condition If any item does not accord with the table please contact your dealer immediately E RSB 4210 P N RSB 4210CF A78AAE m 7 LED PANEL 320N 4WR T S 800X480 G 97GO70V1NOF 2 P N 96LEDK AO70WV32RB1 LCD Backlight Cable P N 1700019577 LVDS Cable P N 1700014418 Touch Cable P N 1700000194 SQFlash SD Card SLC 2G 2CH 40 85 C P N SQF ISDS2 2G ETE A CABLE SATA 15P 1 4P 2 5 35cm for AIMB 213 P N 1700018785 M Cable SATA 7P SATA 7P 8CM C R 180 180 P N 1700004711 Mini USB Host Cable P N 1700019076 Mini USB Client Cable P N 1700019077 USB Type A Cable P N 1700019129 ADAPTER 100 240 V 65 W 19 V 3 42 A 9NA0651256 P N 1757003734 A Cable 2 8P 2 0 SPEAKER 2 DC JACK 3 40CM P N 1700019546 11 F Cable IDE 2 10P 2 0 D SUB 9P M 25CM P N 1700100250 Terminal connector 9P Female P N 1654909900 DVD ROM for RSB 4210 Evaluation Kit P N 2062421011 RS 232 and RS 485 cable P N 1700019474 RS 422 cable P N 1700019476 Power Cord Optional E 3 pin Power Cord for USA standard P N 1700001524 E 3 pin Power Cord for Europe s
28. up to 1GHz speed SoC engine It provides customers with a high performance board subsystem based on ARM Cortex A8 which is ready to run compact and easy to expand in order to meet customers versatile needs With flexi ble I O interfaces and complete hardware and software solutions RSB 4210 is a fast time to market platform for customers to develop their applications and products eas ily without considering system integration The RSB 4210 Evaluation Kit is a complete system designed for customers to evalu ate RSB 4210 It integrates all of the solutions that developers will need into a pack age for project evaluation application development and solution feasibility testing that decreases lead time and lowers initial expense All the functions included in the kit have been certified under Linux ensuring that project development is more sim ple less risky and easier to implement 1 2 Features RSB 4210 incorporates a Freescale i MX53 Processor ARM Cortex A8 archi tecture as its SoC solution The main features of this platform are a heatsink less and compact design and great reliability and power management making it suitable for the following applications E Economical HMI Human Machine Interface m Self Service Access Control E Fleet management Navigation m Hand held data collector And the main features of Freescale MX53 processor are shown as follows ARM O Cortex A8 1GHz high performance processor E Su
29. up to 25MHz 17 RSB 4210 User Manual Pin Description GND SD4 DATA1 SD4 DATAO SD4 DATA3 SD4 DATA2 N C ODINIO I 0O0 p pr mama PIRI 34 TILKN Bose ER Pin 2 4 6 8 10 12 Figure 2 15 Pin Header for SD2 Description GND SD4 CLK SD4 CMD SD4 CD 3V3 N C 2 2 11 Wafer for Backlight Power and Controller CN11 This wafer provides DC 12 V DC 5 V back light on off control signal and 0 5 V PWM dimming control to inverter We suggest users choose an inverter so that dim ming control is by PWM to fit development kit design Figure 2 16 Wafer for Backlight Power and Controller RSB 4210 User Manual 18 Pin Description Pin Description 1 GND 2 GND 3 BLK_PWR_EN 4 BLK_PWR_EN 5 Brightness 6 PWM1 7 12V 8 5 V 2 2 12 MiniPCle Connector Latch CN12 and Connector CN13 RSB 4210 supports a MiniPCle Interface The pin assignment is shown below i Pint Figure 2 17 MiniPCle Connector Latch CN12 and Connector CN13 Pin Description Pin Description 1 nWAKE 2 DIO_3V3 3 N C 4 N C 5 N C 6 IO 1V5 7 nCLKREQ 8 UIM_PWR 9 GND 10 UIM_DATA 11 PCle CLK_N 12 UIM_CLK 13 PCle CLK P 14 UIM RESET 15 GND 16 UIM VPP 17 N C 18 GND 19 N C 20 N C 21 GND 22 nRESET OUT 23 PCle RXO_N 24 DIO_3V3 25 PCle RXO0 P 26 GND 27 GND 28 IO 1V5 29 GND 30 PCle SMBCLK 31 PCle TXO_N 32 PCle SMBDAT 33 PCle TX0 P 34 GND 35 GND 36 USB HUB4 D 37 GND 38 USB HUB4 D 19 RSB 4210 User Manual
30. 0 00011401 RSB 4210 User Manual 98 00011410 ERRDRV SMB TRANSMITMODE ACTIVE 00011411 ERRDRV SMB TRANSMITMODE INACTIVE 00011412 ERRDRV SMB STATE UNKNOWN IIC Driver ne river 00011601 ERRDRV_IIC_BUS_ERROR 00011608 ERRDRV IIC BUS STALLED 00011609 ERRDRV_IIC_NEGACK_DETECTED ERRDRV_IIC_NEGACK_DETECTED gt VGA Control Driver ERRDRV_VC_FINDVGA_FAILED ERRDRV_VC_FINDBRIGHTDEV_FALLED 00011802 ERRDRV_VC_VGA_UNSUPPORTED ERRDRV VC BRIGHTDEV UNSUPPORTED 99 RSB 4210 User Manual AD ANTECH Enabling an Intelligent Planet www advantech com Please verify specifications before quoting This guide is intended for reference purposes only All product specifications are subject to change without notice No part of this publication may be reproduced in any form or by any means electronic photocopying recording or otherwise without prior written permis sion of the publisher All brand and product names are trademarks or registered trademarks of their respective companies O Advantech Co Ltd 2012
31. 0 VGA Connector GRT1 J rrnennnnnnnrnrrnnnrvnnnnnnnnvvnnnnennnnnnrnnnnnsnnnnnnn 31 Figure 2 36VGA Connector D SUB15 rrrrrnnrrnvnnnrrrernnnvrvennnnn 31 HDMI Connector HDMI GN1 mmrrronnenrrnnnnvrrnnnnrrnrnnerenrrnnnrennnnnn 31 Figure 2 37HDMI Connector rrrrannnrnnnnnnvvvvrnnnrnrrnnnnrnnnnnenennnnsnre 31 Box Header for LINE OUT LINE IN MIC IN and L amp R Speakers IN 32 Figure 2 38Box Header for LINE OUT LINE IN MIC IN and L amp R SPE epee E A PAE VE E VE E E 32 D Sub9 Connector for COM2 RS 232 TX RX RTS CTS CONTI EE EE EEE 32 Figure 2 39D Sub9 Connector for COM2 RS 232 TX RX RTS vi Chapter 2 3 3 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 10 OE EN 32 2 2 35 DC IN Power Jack DCIN1 rrrnnrrnnnnrnornrrrnnnrrrrnnrnnnnnrrnnnnnnnnnnnnn 33 Figure 2 40DC IN Power Jack cccccccssseeccceeeeeeeaeeeeeesseeeeeeaas 33 2 2 36 SD Gard Slot SD1 ccccccsseececcceseeeeesseeecccceeeeessceseeessceeeeenes 33 Foure 2 AV SD Card SIO seere 33 NET 0 MCA ES E E 34 231 Connector 00210 9 REE 34 Figure 2 42RSB 4210 Connector Position Top rarrrernnnnnnrre 34 Figure 2 43RSB 4210 Connector Position Bottom 34 2 3 2 RSB 4210 Board DIMENSION cccccccecseeeeeeeeeeeeeeeesaeeeeeaeeeens 35 Figure 2 44RSB 4210 Board Dimension cccceecceeeeeeeeeees 35 Software Functionality 000000f THE Bootloader cc2asccasscccsantdciodai
32. 00700000 10100000 10200000 10500000 ESusiCoreAccessBootCounter 10600000 ESusiCoreAccessRunTimer 10700000 ESusiCoreRebootSystem ESusiReserved8000000 Watchdog RSB 4210 User Manual 94 GPIO 30100000 ESusilIOInit 30200000 ESusilOAvailable 30300000 ESusilOCount 30400000 ESusilOInitial 30500000 ESusilORead 30600000 ESusilOReadMulti 30700000 ESusilOWrite 30800000 ESusilIOWriteMulti 30900000 ESusilOCountEx 3 1000000 ESusilOQueryMask 31100000 31200000 31300000 31400000 31500000 31600000 ESusilOSetDirection ESusilOSetDirectionMulti ESusilOReadEx ESusilOReadMultiEx ESusilOWriteEx ESusilIOWriteMultiEx SMBus N A in SUSI RISC ESusiSMBusInit ESusiSMBusAvailable ESusiSMBusReadByte ESusiSMBusReadByteMulti ESusiSMBusReadWord ESusiSMBusWriteByte ESusiSMBusWriteByteMulti ESusiSMBusWriteWord 40100000 40200000 40300000 40400000 40500000 40600000 40700000 40800000 40900000 41000000 41100000 41200000 41300000 41400000 41500000 ESusiSMBusReceiveByte ESusiSMBusSendByte ESusiSMBusWriteQuick ESusi SMBusReadQuick ESusiSMBusScanDevice ESusiSMBusWriteBlock ESusiSMBusReadBlock II ESusilIICInit ESusilICAvailable ESusilICReadByte ESusiIICWriteByte ESusilICWriteReadCombine ESusilICRead 50100000 50200000 50300000 50400000 50500000 50600000 95 RSB 4210 User Manual 50700000 ESusiIICWrite 50800000 ESusiIICScanDevice 50900000 ESusiIICWriteRegister 51000000 ESusilICReadRegister VGA Control 60100000 ESusiVCInit 60
33. 2 2 wire TX RX Pin header Debug port COM 2 RS 232 D Sub9 Connector TX RX RTS CTS COM 3 RS 485 2 pin Phoenix Connector COM 4 3 3 V TTL 4 wire TX RX RTS CTS Pin header COM 5 RS 232 4 wire TX RX RTS CTS Pin header 2 x 10 100 BASE T RJ 45 3 x USB 2 0 High speed 1 x USB 2 0 OTG High speed 2 x SDIO MMC interface SD slot x 1 pin header x 1 1 x Controlled by USB interface only 1 1 1 x 4 wire resistive type interface Yes Address 25 pins data 16 pins 2 1 1 1 Support 6 x 6 matrix keypad 20 pins 3 3 V TTL level GPIOs Yes CPU internal LCD controller Default 800 x 480 7 WVGA Optional 320 x 240 1920 x 1080 2 x 24 bit LVDS 1 x Co lay with VGA 1 x Co lay with HDMI Yes Line in Stereo Line out Stereo Soeak Out Stereo amp Mic in Mono 9 24V 5 Yes With external battery and charger board thru connector 3 RSB 4210 User Manual 1 4 Power Consumption Power Control Power Management Normal Run 2 3 W Full Run 3 8 W 1 x Power ON OFF Pin header 1 x H W reset Pin header 1 x Suspend Pin header Standard mode Idle mode Mechanical and Environmental Board size Weight 146 x 102 x 20 mm PCB thickness 1 6 mm 8 layer 110g Operation Tempera 0 60 C 32 140 F ture 40 85 C by component change Operating Humidity 5 95 Relative Humidity non condensing Vibration Others RoHS Certification O S 3 5 G 1000 times Yes CE
34. 200000 ESusiVCAvailable 60300000 ESusiVCGetBright 60400000 ESusiVCGetBrightRange 60500000 ESusiVCScreenOff 60600000 ESusiVCScreenon Hardware Monitor N A in SUSI RISC 70200000 ESusiHWMAvailable 70300000 ESusiHWMGetFanSpeed 70400000 ESusiHWMGetTemperature 70500000 ESusiHWMGetVoltage 70600000 A 2 Library Error Code Driver Open Errors DIM Functions S o o RSB 4210 User Manual 96 00000009 ERRLIB API CURRENT UNSUPPORT 00000010 ERRLIB LIB INIT FAIL 000000 1 1 ERRLIB DRIVER CONTROL FAIL 00000012 ERRLIB INVALID PARAMETER 00000013 ERRLIB INVALID ID 00000014 ERRLIB CREATEMUTEX FAIL 00000015 ERRLIB OUTBUF RETURN SIZE INCORRECT 00000016 ERRLIB_RESERVED16 00000017 ERRLIB ARRAY LENGTH INSUFFICIENT 00000032 ERRLIB RESERVED32 00000050 ERRLIB BRIGHT CONTROL FAIL 0000005 I ERRLIB BRIGHT OUT OF RANGE 00000064 ERRLIB RESERVED64 00000128 ERRLIB RESERVED128 00000256 ERRLIB RESERVED256 Core Functions HERRLIB CORE BIOS STRING NOT FOUND ERRLIB RESERVED5S12 Watchdog Functions ERRLIB RESERVED1024 GPIO Functions N A SMBus Functions N A in SUSI RISC ERRLIB SMB MAX BLOCK SIZE MUST WITHIN 32 IIC Functions ERRLIB IIC GETCPUFREOQ FAIL VGA Control Functions N A Hardware Monitor Functions N A in SUSI RISC 00002000 ERRLIB ANM CHECKOPUTYPE FALL 0000200 I ERRLIB HWM FUNCTION UNSUPPORT 00002002 ERRLIB HWM FUNCTION CURRENT UNSUPPORT 00002003 ERRLIB HWM FANDIVISOR INVALID 00002048 ERRLIB RESERVED2048 Reserved Functions 00004096
35. ALSE 0 indicates failure 3 10 3 10SusiCoreSetMACAddr Set MAC Address of LAN chip BOOL SusiCoreSetMACAddr BYTE MACAddr Parameters MACAdar in Pointer to a byte array which is the new MAC address Return Value TRUE 1 indicates success FALSE 0 indicates failure 3 10 3 11SusiCoreRegistrySave Save registry BOOL SusiCoreRegistrySave void Parameters None Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Call this function to save registry 79 RSB 4210 User Manual 3 10 3 12SusiCoreRegistryClean Clean registry to default BOOL SusiCoreRegistryClean void Parameters None Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Call this function to clean registry to default value and then reset platform 3 10 3 13SusiWDGetRange Get the step minimum and maximum values of the watchdog timer BOOL SusiWDGetRange DWORD minimum DWORD maximum DWORD stepping Parameters Minimum out Pointer to a variable containing the minimum timeout value in milliseconds Maximum out Pointer to a variable containing the maximum timeout value in milliseconds Stepping out Pointer to a variable containing the stepping timeout value in milliseconds Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks The values may vary from platform to platform depending on the hardware imple mentation of the watchdog timer For example if the min
36. Backlight Power and Controller 18 MiniPCle Connector Latch CN12 and Connector CN13 19 Figure 2 17MiniPCle Connector Latch CN12 and Connector ND eases E P N E A I E 19 LVDS1 LCD Connector CN14 rrarnnnnnnnrrnnnnrrernrnnnnrrnnnnnnennnnnnre 20 Figure 2 18LVDS1 LCD Connector rrnrnnrrvvnnnvrvvvnnnnrvennnnervennnn 20 Pin Header for Jtag CN15 rrrnnnnnnrrnnnnnrnnvrnnnnrnnnnnnrennnnnnennnnnnre 21 Figure 2 19Pin Header for Jtag ccccsesccccesseeeeceeeeeeeseseeesseaees 21 Wafer for SATA power CN16 rrrnnnnrnnnnnnrrnrnnnnrrnnrnnnnrnnnnnnrrnnnnn 21 Figure 2 20 W afer for SATA DOWEL rrnnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnen 21 Wafer for Power ON OFF CN17 rrnnnnnnnnnnnnnnnnnnnonnnnnnrnnnnnnnrnnnnn 22 Figure 2 21 Pin Header for Power Button rrrrernnnrrvrnnnrrernnnnnr 22 Ethernet LAN1 amp 2 Connector GN18 rrrennnnrrrvrrnnvrvrnrnnrrrnnnnnr 22 Figure 2 22Ethernet LAN1 amp LAN2 Connector rrrnnrvrnnnnnnevnnnn 23 Wafer for Coin Battery CN19 rrnrnrrnnnannrrnrnnnnnrnnvnnrnnnrnnnnrennnnn 23 Figure 2 23 Wafer for Coin Battery rrrnrrrrrnnnrrrrnnnnrerrnnnnennnnnnrr 23 SIM Card slot CN20 seede eeenededee 24 Figure 2 24SIM Card SIOt ccccscsseececcceseeeseeseeesscceseescceeees 24 Pin Header for Reset RST_BIN1 mrrnnnennnnnnnnnnnnnnrvnrnnnrrnnnnnne 24 Figure 2 25Pin Header for Re Set ccccsseececeseeeeeseeeeeseeeesees 24 Pi
37. C TYPE SMBUS 2 SUSI IIC TYPE BOTH 3 Remarks After calling SusiDlllnit successfully all Susi Available functions are use to check if the corresponding features are supported by the platform or not So it is suggested to call Susi Available before using any Susi functions 85 RSB 4210 User Manual 3 10 3 22SusillCRead Read bytes of data from the target slave device in the I2C bus SUSI API BOOL SusillCRead DWORD IICType BYTE SlaveAddress BYTE Reginx BYTE ReadBuf DWORD ReadLen Parameters IIC Type in Specifies that 12C type the value can either be SUSI IIC TYPE PRIMARY 1 SUSI IIC TYPE SMBUS 2 SlaveAddress in Specifies the 8 bit device address ranging from 0x00 OxFF Whether to give a 1 read or 0 write to the LSB of SlaveAddress could be ignored Reglnx in Registry Index ReadBuf out Pointer to a variable in which the function reads the bytes of data ReadLen in Specifies the number of bytes to be read Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Call SusillCAvailable first to make sure the support I2C type For more information about how to use this API and the relationship between IIC and SMBus please refer to Programming Overview parts SMBus functions to IIC versus SMBus com patibility RSB 4210 User Manual 86 3 10 3 23SusillCWrite Write bytes of data to the target slave device in the I2C bus BOOL SusillCWrite DWORD IICType BYTE SlaveA
38. CD LED Backlight LVDS 800x480 T S Part B1 Part B2 97G070V1NOF 2 P N P N 96LEDK A070WV32RB1 1700019577 Part B3 Part B4 LVDS Cable Touch Cable 1700014418 1700000194 SQFlash SD Card SLC 2GB 40 85 C Part C SQF ISDS2 2G ETE SATA Power Cable Part D Part E SATA Cable 1700018785 1700004711 Mini USB Host Cable 5 Part F Part G Mini USB Client Cable P N 1700019077 Part G 1700019076 1700019077 USB Type A Cable l Part H Part l Part J Mini Jumper D 1700019129 N 1653302122 Null modem cable 1700091002 ADAPTER 100 240V 19V 3 42A Part K 1757003734 3 pin Power Cord USA Standard Optional Part L 3 pin Power Cord Europe standard Optional 1700001524 170203183C 3 pin Power Cord UK standard Optional Part M Part N1 Speaker amp Audio Cables 170203180A 1700019546 11 1700018394 Part N2 Part N3 Signal Cable for Charger Board Optional 1700018395 Charger Board Optional Part N4 Part O1 Battery Optional 969K073900E 1760001300 8 8 Keypad Cable Optional Part O2 Part P Part Q Part R 8 8 Keypad Optional COM Port Cable 1703200180 96969315A0E P N 1700100250 RS 232 Loopback Part S P N 1654909900 Terminal Block for CAN RS 485 RSB 4210 User Manual 6 P N 1652002209 2 1 1 Part B 1
39. ERRLIB RESERVED4096 00008192 ERRLIB RESERVED81 92 00000510 00000512 00001024 00001400 00001600 97 RSB 4210 User Manual A 3 Driver Error Code Error Type ERRDRV SUCCESS Common to all Drivers ERRDRV CTRLCODE ERRDRV LOGIC ERRDRV INBUF INSUFFICIENT ERRDRV OUTBUF INSUFFICIENT ERRDRV STOPTIMER FAILED ERRDRV STARTTIMER FAILED ERRDRV CREATEREG FAILED ERRDRV OPENREG FAILED ERRDRV SETREGVALUHE FAILED ERRDRV GETREGVALUHE FAILED ERRDRV FLUSHREG FAILED ERRDRV MEMMAP FAILED Core Driver N A Watchdog Driver N A GPIO Driver 00011200 ERRDRV GPIO PIN DIR CHANGED 00011201 ERRDRV GPIO PIN INCONFIGURABLE 00011202 ERRDRV GPIO PIN OUTPUT UNREADABLE 00011203 ERRDRV GPIO PIN INPUT UNWRITTABLE 00011204 ERRDRV GPIO INITIAL FAILED 00011205 ERRDRV GPIO GETINPUT FAILED 00011206 ERRDRV GPIO SETOUIPUT FAILED 00011207 ERRDRV GPIO GETSTATUS 10 FAILED 00011208 ERRDRV GPIO SETSTATUS OUT FAILED 00011209 ERRDRV GPIO SETDIR FATLED SMBus Driver N A in SUSI RISC ERRDRV SMB RESETDEV FAILED ERRDRV SMB TIMEOUT 00011402 ERRDRV SMB BUSTRANSACTION FAILED 00011403 ERRDRV_SMB_BUSCOLLISION 00011404 ERRDRV SMB CLIENTDEV NORESPONSE 00011405 ERRDRV SMB REQUESTMASTERMODE FAILED 00011406 ERRDRV SMB NOT MASTERMODE 00011407 ERRURV 5SMB BUS FRRUR 00011408 ERRDRV SVP BUS STALLED 00011409 ERRDRV SMB NEGACK DETECTED Error code 00000000 00010000 00010001 00010002 00010003 00010004 00010005 00010006 00010007 00010008 00010009 00010010 00010011 0001140
40. I H and susi lib to your application folder and add these files to your project 2 Add include REL SUSI H to your source file ee REL SUSIH TestDlgepp Tests IDD_ TES Ex GH Global Scope ol Solution Test 1 project AN TestDle c implementation File EA Test i CPF p fe he PEL 1181 H include stdafx h include Test h ELT uf a f include rel susi h E irder _UEBU L define new DEBUG NEW E Vor Resource Files endif he G Testico ii CTestDle dialog eiTestlle CTestDleidind pParent NILL d Sr Source Files CDialogilTestDle I0D0 pParent C I o GH stlafx cpp m hleon Afyutiet ppi LoadIcont IDR_MAINFRAME C Test cpp 1 TestDle cpp avoid CTestlle DobataExchanze CDataExchange pis CThialog Dolatakxchangel pls 4 3 TODS Place dialog controls here 59 RSB 4210 User Manual 4 Add following code to enable SUSI init heep restDlg OninitDia log EDialog OnInitDialogt f Set the icon for this dialog The framework does this automatically Fr when the applicatian s main window 15 not a dialog SetIconimhIecon TRUE Set big icon SetIconi m hIcon FALSE Fr Set small jcon f TOOO Add extra initialization here int nRet if nRet SusiDllInit lt 0 RETAILMSG 1 TEXTC Initial failed ryn CString text text Format _TC Susi initialize failed dYn nRet AfxMessageBox textl Af
41. Part R Part S Part Q _Part P Part B2 art B3 art 9 i Part A ZS s Part O1 Part N4 Part E Part NI Part N2 O Part F Part G Part H Part I ut K art M a p Part L Figure 2 1 RSB 4210 Development Kit Assembly RSB 4210 Part A RSB 4210 is a cost effective low power and high performance SBC Single Board Computer without a heatsink geared to satisfy the needs of industrial computing applications Based on the Freescale i MX53 Processor ARM Cortex A8 archi tecture RSB 4210 comes with DDR3 and iNAND flash RSB 4210 offers convenient connector layout simple assembly multiple common I Os and includes dual 10 100Mbps Ethernet three USB Universal Serial Bus 2 0 connectors and five serial ports for easy system expansibility 7 LVDS LCD Module Part B1 The 7 0 inch Color TFT LCD Module uses a 4 wire resistive type touch sensor The module is designed with a wide viewing angle wide operating temperature and long life LED backlight which is well suited for Industrial Applications An LED driving board for backlight unit is included in this panel and the structure of the LED units is replaceable It also has a built in timing controller and LVDS interface The display supports the WVGA 800 H x 480 V screen format and 16 2 M colors RGB 24bits or 262 K RGB 18 bits selectable 7 RSB 4210 User Manual 2 1 3 LCD Backlight Cable Part B2 T
42. R W are 8 bit write address 7 bit address lt lt 1 left shift one with LSB 0 for write 8 bit read address 7 bit address lt lt 1 left shift one with LSB 1 for read E g Given a 7 bit slave address 0x20 the write address is 0x40 and the read address is 0x41 Here in all APIs parameter SlaveAddress is the 8 bit address and users don t need to care about giving it as a read or write address since the actual R W is taken care by the API itself i e you could even use a write address say 0x41 for APIs with write operation and get the right result and vice versa For more details on platform IIC SMBus support please refer to Appendix A VGA Control VC functions SusiVC functions support VGA signal ON OFF on all SUSI enabled platforms and also LCD brightness adjustment One application of SusiVCScreenOn and SusiVC ScreenOff is to have the display signal disabled when system idles after certain period of time to expand the panel life span RSB 4210 User Manual 74 3 10 3 SUSI API Programmer s Documentation All APIs return the BOOL data type except Susi Available and some special cases that are of type int If any function call fails i e a BOOL value of FALSE or an int value of 1 the error code can always be retrieved by an immediate call to SusiGet LastError 3 10 3 1 SusiDllInit Initialize the Susi Library BOOL SusiDlllnit void Parameters None Return Value TRUE 1 indicates success FALSE 0 indicat
43. RSB 4210 User Manual 24 2 2 21 Pin Header for Suspend SUS BTN1 SUS BIN1 is used to making system entering into suspend mode or resume from Suspend mode You can connect it with an external button for applications The pin assignment is shown as below SUS BTN1 Figure 2 26 Pin Header for Suspend Pin Description Pin Description 1 nSUSPEND 2 GND 2 2 22 Pin Header for Matrix Keypad KEYPAD1 The keypad circuitry scans a 6 6 array of 36 normal open single pole switches Any one or two keys depressed will be de bounced and decoded An interrupt is gener ated whenever a stable set of depressed keys is detected The keypad interface m Provides scanning de bounce and decoding for a 36 key switch array Scans a 6 row by 6 column matrix May decode 2 keys at once Generates an interrupt when a new stable key is determined Generates a 3 key reset interrupt as well 25 RSB 4210 User Manual Pin O N O01 0O0 s Description KEY COL2 KEY COL3 KEY COL4 KEY COL5 KEY COL6 KEY COL7 2 2 23 Pin Header for I2C SPI CN21 RSB 4210 provides two I2C and one SPI interface with user to expand their applica tions CN21 is the pin header for I2C SPI interface The pin assignment is shown as below RSB 4210 User Manual TO Pin 10 12 Figure 2 27 Pin Header for Matrix Keypad Description KEY ROW2 KEY ROW3 KEY ROW4 KEY ROW5 KEY ROW6 KEY ROW7 Figure 2 28 Pin Header for I2C SPI 26
44. SB 4210 supports dual LVDS LCD Interfaces 24 24 bit in which CN8 is LVDSO 24 bit while CN14 is LVDS1 24 bit The pin assignment of LVDSO CN8 is shown Description AUDIO_CLK AUD3 TXC AUD3 TXFS AUD3 RXD GND as below Pin Description 1 3 3 V 3 3 3 V 5 LVDSO_TX0 7 GND 9 LVDSO_TX1 11 LVDSO TX2 13 GND 15 LVDSO_CLK 17 3 3 V 19 LVDSO_TX3 RSB 4210 User Manual Pin Pin 16 Description AUD3_TXD N C N C N C DIO_3V3 Figure 2 13 LVDSO LCD Connector Description 3 3 V 3 3 V LVDSO TX0 LVDS0 TX1 GND LVDSO_TX2 LVDSO_CLK GND N C LVDSO_TX3 2 2 9 Pin Header for COM1 RS 232 TX RX CN9 CN9 is a 2 wire TX RX RS 232 port which provides connections between serial devices For example GPS GSM and Bluetooth devices etc or a communication network Figure 2 14 Pin Header for COM1 RS 232 TX RX Pin Description Pin Description 1 N C 2 N C 3 COM1_RXD 4 N C 5 COM1_TXD 6 N C 7 N C 8 N C 9 GND 10 N C 2 2 10 Pin Header for SD2 CN10 The SD MMC Slots are 3 3 V powered which are able to be extended for SD slot module and SDIO interface module with the following features Fully compatible with the MMC system specification version 3 2 Compatible with the SD Memory Card specification 1 01 and SD I O specifica tion 1 1 with 1 4 channel s Block based data transfer between MMC card and SDHC stream mode not supported 100 Mbps maximum data rate in 4 bit mode SD bus clock
45. age provides several functions as described below The Registry block provides registry save and registry clean functions Pressing the Save button the registry settings will be saved to persistent storage as on board flash Pressing Clean button the registry setting will return to default settings The Start Service button invokes ActiveSync to the host computer The Ethernet Information block shows the network MAC address The Memory Management block will check if mem ory size needs to be allocated automatically during boot Once this is checked pro gram memory will be allocated half and storage memory will occupy the rest Advantech Platform Setting OK Memory Management allocate Memory Size Automatically Ethernet Information SATIRE 221122112211 EE Touch Panel Figure 3 6 Miscellaneous Settings 49 RSB 4210 User Manual 3 4 3 5 3 5 1 Network RSB 4210 has two builds in 10 100Base T Ethernet controller It appears at Control Panel Network and Dial up Connections User can configure its Ethernet support as follows 1 Click Start Settings Control Panel 2 Double click Network and Dial up Connections 3 If the RSB 4210 is a node of the LAN with DHCP servers it is now available 3 9 3 If the RSB 4210 is a node of the LAN with fixed IP the user has to consult with MIS to get specific IP addresses Then fill them into the associated fields of the Prop erties Dialog then press the registry save
46. aired or altered by persons other than repair personnel authorized by Advantech or which have been subject to misuse abuse accident or improper installation Advantech assumes no liability under the terms of this warranty as a consequence of such evenis Because of Advantech s high quality control standards and rigorous testing most of our customers never need to use our repair service If an Advantech product is defec tive it will be repaired or replaced at no charge during the warranty period For out of warranty repairs you will be billed according to the cost of replacement materials service time and freight Please consult your dealer for more details If you think you have a defective product follow these steps 1 Collect all the information about the problem encountered For example CPU speed Advantech products used other hardware and software used etc Note anything abnormal and list any onscreen messages you get when the problem occurs 2 Call your dealer and describe the problem Please have your manual product and any helpful information readily available 3 If your product is diagnosed as defective obtain an RMA return merchandize authorization number from your dealer This allows us to process your return more quickly 4 Carefully pack the defective product a fully completed Repair and Replacement Order Card and a photocopy proof of purchase date such as your sales receipt in a shippable container A product
47. atform and opens up a gateway to synchronizing data from your phone with your desktop computer Ethernet Information m This part shows MAC Address of Ethernet chipset Touch Panel m You can calibrate the touch screen RSB 4210 User Manual 72 3 10 2 3 Programming Overview Header Files SUSI H includes API declaration constants and flags that are required for program ming DEBUG H ERRDRV H ERRLIB H are for debug code definitions DEBUGH Function index codes ERRLIB H Library error codes ERRDRV H Driver error codes Library Files Susi lib is for library import and Susi dll is a dynamic link library that exports all the API functions Installation File In Windows CE the files and drivers mentioned above are already built in to the image DII functions SusiDll APIs are driver independent i e they can be called without any drivers In Windows CE after drivers having been installed users have to call SusiDIllnit for ini tialization before using any other APIs that are not SusiDll prefixed Before the appli cation terminates call SusiDllUnInit to free allocated system resources When an API call fails use SusGetLastError to get an error report An error value will be either Function Index Code Library Error Code or Function Index Code Driver Error Code The Function Index Code indicates which API the error came from and the library Driver Error Code indicates the actual error type i e whether it was
48. ation RSB 4210 User Manual 46 3 3 3 3 WatchDog Timer It is important in industrial applications that control systems rarely crash or are capa ble of self resetting if they hang or stop functioning The Watchdog function for auto matic system resetting is therefore provided in RSB 4210 There is a timer inside the watchdog function User s AP could invoke the associated APIs in the Watchdog function to start the timer then the Watchdog function would repeat the countdown of the specified period of time to reboot the system if the user s AP does not clear the timer in time periodically The Watchdog function in the RSB 4210 provides eight dif ferent time intervals 1 second 5 seconds 10 seconds 15 seconds 20 second 25 seconds and 30 seconds The Enable button is used to start the Watchdog func tion Pressing the Sleep button will cause the system into Suspend mode Pressing the ReBoot button will cause the system to cold boot Advantech Platform Setting OK General Display Watchdog Timer Time Period 5 seconds Time Delay Triggle Elapse Time Power Management Economize Sleep Figure 3 4 Watchdog Timer 47 RSB 4210 User Manual 3 3 3 4 Audio User can adjust the playback and record volume here And the input of record also can adjust here Advantech Platform Setting Figure 3 5 Audio Settings RSB 4210 User Manual 48 3 3 3 5 Miscellaneous The Misc p
49. c eee 13 2 2 4 System Bus CN4 rrrannvnnnnnrnnnnnrvnnnrrennnnnennnnnennnnrnnnnnnnnrnnnnnnnnnnen 13 Figure 2 9 System BUS rronnnrrnnnnnnrrnrrnnnnrvrnnnnrnnnrnnnrrnnnnnnnnnnnnsnnen 13 2 2 5 Pin Header for COM5 RS 232 TX RX RTS CTS CN5 14 Figure 2 10Pin Header for COM5 RS 232 TX RX RTS CTS 14 2 2 6 Pin Header for COM4 3 3V TTL TX RX RTS CTS CN6 15 Figure 2 11 Pin Header for COM4 3 3V TTL TX RX RTS CTS 15 V RSB 4210 User Manual RSB 4210 User Manual 2 2 2 2 8 2 2 9 2 2 10 2 2 11 2 2 12 2 2 13 2 2 14 2 2 15 2 2 16 2 2 17 2 2 18 2 2 19 2 2 20 2 2 21 2 2 22 2 2 23 2 2 24 2 2 25 2 2 26 2 2 21 2 2 28 2 2 29 2 2 30 2 2 31 2 2 32 2 2 33 2 2 34 Pin Header Tor l2S GNT anseia eiaeiiai 15 Figure 2 12Pin Header for 125 rrrnrnrnrnnnnnrnrnnnnnvnrnnnnrnvrnnnrrnnnnnre 15 LVDSO LCD Connector CN8 essnnnrnnerannnnnnnnnnnnnnnnererennnnnnnnevenne 16 Figure 2 13LVDSO LCD Connector rerrnnrrrvvrnnvrvennnnrrvrnrrnereennnnn 16 Pin Header for COM1 RS 232 TX RX CN9 rrrrnnnnrnnnrrnnnnnr 17 Figure 2 14Pin Header for COM1 RS 232 TX RX rrrnrennnnnr 17 Pin Header for SD2 CN10 rrunnnnnnnnvnnnnnnnvvnnnnnrnnnnnenennnnnnsennnnnee 17 Figure 2 15Pin Header for SD2 rrnnnnnnnnnnnnnvrnnnnvnnnnnnnennnnnnnnnnnnne 18 Wafer for Backlight Power and Controller GN11 rrennnnrrnnn 18 Figure 2 16 Wafer for
50. d to extend the Suspend Reset function by a specific button 2 1 24 COM Port Cable D SUB 9P to Housing Part Q The cable is used to extend COM port 9pin header from RSB 4210 to D SUB 9P serial port connector 2 1 25 RS 232 Loopback Part R The terminal connector 9P female is used to test RS 232 loopback function 2 1 26 Terminal Block for CAN RS 485 Part S The terminal block can be extended with extra two cables to connect RSB 4210 CAN RS 485 function with the others CAN RS 485 devices 9 RSB 4210 User Manual 2 2 2 2 1 RSB 4210 Connectors The following table shows the connector list of RSB 4210 Connector Description CN 1 Wafer for 4 wire Resistive Type Touch Screen CN 2 Phoenix Connector for CAN Bus CN 3 Phoenix Connector for COM3 RS 485 CN 4 System Bus CN 5 Pin Header for COM5 RS 232 TX RX RTS CTS CN 6 Pin Header for COM4 3 3V TTL TX RX RTS CTS CN 7 Pin Header for I25 CN 8 LVDSO LCD Connector CN 9 Pin Header for COM1 RS 232 TX RX CN 10 Pin Header for SD2 CN 11 Wafer for Backlight Power and Controller CN 12 MiniPCle Connector Latch CN 13 MiniPCle Connector CN 14 LVDS1 LCD Connector CN 15 Pin Header for Jtag CN 16 Wafer for SATA Power CN 17 Wafer for Power ON OFF CN 18 Ethernet LAN1 amp 2 Connector CN 19 Wafer for Coin Battery CN 20 SIM Card Slot RST BIN1 Pin Header for Reset SUS_BTN1 Pin Header for Suspend KEYPAD1 Pin Header for Matrix Keypad CN21 Pin Header for I2C SPI GPIO1
51. ddress BYTE BYTE Reginx WriteBuf DWORD WriteLen Parameters IC Type in Specifies the 12C type the value can either be SUSI IIC TYPE PRIMARY 1 SUSI IIC TYPE SMBUS 2 SlaveAddress in Specifies the 8 bit device address ranging from 0x00 OxFF Whether to give a 1 read or 0 write to the LSB of SlaveAddress could be ignored Reglnx in Registry Index WriteBuf in Pointer to a byte array which contains the bytes of data to be written WriteLen in Specifies the number of bytes to be written Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Call SusillCAvailable first to make sure the support 12C type For more information about how to use this API and the relationship between IIC and SMBus please refer to Programming Overview parts SMBus functions to IIC versus SMBus com patibility 87 RSB 4210 User Manual 3 10 3 24SusillCWriteReadCombine A sequential operation to write bytes of data followed by bytes read from the target slave device in the I2C bus BOOL SusillCWriteReadCombine DWORD IICType BYTE SlaveAddress BYTE Reginx BYTE WriteBuf DWORD WriteLen BYTE ReadBuf DWORD ReadLen Parameters iC Type in Specifies the 12C type the value can either be SUSI IIC TYPE PRIMARY 1 SUSI IIC TYPE SMBUS 2 SlaveAddress in Specifies the 8 bit device address ranging from 0x00 OxFF Whether to give a 1 read or 0 write to the LSB of SlaveAddress co
52. e TRUE 1 indicates success FALSE 0 indicates failure Remarks If the pin is in status high the value got in status will be 1 If the pin is in status low it will be zero The function is capable of reading the status of either an input pin or an output pin 3 10 3 20SusilOWriteEx Set one GPIO output pin as status high or low BOOL SusilOWriteEx BYTE PinNum BOOL status Parameters PinNum in Specifies the GPIO pin demanded to be written ranging from 0 total number of GPIO pins minus 1 Status in Specifies the GPIO status to be written Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks The function can only set the status of one of the output pins If the pin number spec ified is an input pin or an invalid pin the function call will fail and return with FALSE A status with 1 to set the pin as output high 0 to set the pin as output low RSB 4210 User Manual 84 3 10 3 21SusillCAvailable Check if 12C driver is available and also get the IIC type supported int SusillCAvailable Parameters None Return Value Value Meaning 1 The function fails 0 The function succeeds the platform does not support any SusillC APIs The function succeeds the platform supports only primary IIC The function succeeds the platform supports only SMBus implemented IIC The function succeeds the platform supports both primary IIC and SMBus IIC SUSI IIC TYPE PRIMARY 1 SUSI II
53. e TE PRANE KERRE WAMO usunn MOD RERA DYD Se 2 isje m Saag ER STE x Siew Omo ME Re EEL rok pe pee Gere Poller Saar F FORMA T ME53 Copy 3 files u boot bin ulogo bmp and NK VGA 20120621 noHive nbO from directory 01 First WinCE Boot No Hive to your boot SD Card Open the Hyperterminal or your telnet program at your working PC Setting serial port Tera Derm Serial eon ade 41 RSB 4210 User Manual E Insert this bootup SD Card to i MX53 platform and power on platform E Enter uboot command mode Set uboot variables gt gt setenv bootos win saveenv Restart platform then you can see uboot logo and WinEC7 bootup 2 Format On Board Flash E Choose the control panel E Choose MMC Card OnBoardFlash and create a new partition Select proper ties fee TE Partition Sine 1919 5 Me FAT Version ATS E Number of FATS E a SOA ae Custer Sze KB fo Type Owe ype Fie System exfat di Fie Systen TFAT Flags 000000010 Fag fr Quick Format RSB 4210 User Manual 42 E You can see MMCMemory device on your platform GE ljos fen er ul Aja ka i oe Se amp p Appecaton Hard Disk MMCMermory My My Recent Network Program Fis Temp Aindows Control m ret Documents Panel Now you can use Hive based WinEC7 image Note Ifyou want to bootup WinEC7 without logo remove ulogo bmp from x your boot device 3 Boot H
54. e or electrical shock Never open the equipment For safety reasons the equipment should be opened only by qualified service personnel If one of the following situations arises get the equipment checked by service personnel m The power cord or plug is damaged m Liquid has penetrated into the equipment E The equipment has been exposed to moisture E The equipment does not work well or you cannot get it to work according to the user s manual The equipment has been dropped and damaged The equipment has obvious signs of breakage RSB 4210 User Manual iV Contents Chapter Chapter 1 a h ee RwWh 2 2 1 2 2 OvervieWei srssensnnnnnnansnunnennnunnnnnmunnunnnmnur IMO GUI GUO EE 2 FU NE 2 Hardware Specifications rrrrrrannnnnornrrrnnnnrrnvrrnnnnnrnnnnnnnnnnrennnnnnnnernnnnnnnsnee 3 Board Block Diagram rrnnrnnnnnrnnnnnnnnnnnvnnnnnnnnnnnrennnnnennnnnennnnnrnnnnennnnnnnnnnsnen 4 Figure 1 1 RSB 4210 Board Block Diagram rrnrnnnnnnnrnrvnnnnnenr 4 H W InstallatiOn sss anranrnnnnnnvnnnnnnnnnrnn Development Kit H W Installation rrrnnnrrnnnnnvrnnnrennnnrennnnnnnnnnnennnnnennnnne 6 Figure 2 1 RSB 4210 Development Kit Assembly 00 7 2 1 1 NEPPE 7 2 1 2 7 LVDS LCD Module Part B1 rrarnnrnnnnnnnornnnnnnrnnnnnnnenrnnnnnennnnn 7 2 1 3 LCD Backlight Cable Part B2 rrrnrrrnrrrnnnrnnrorrnnnnrnrrnrrnnnnnnennnnnnn 8 2 1 4 LVDS Cable Part B3
55. eessaeeenes 63 SUSIUBEN Lapeer named 64 3 10 1 Package Contents rrrnrrnnnnrrnrannrvvrrnnnrrnrrnnnrnrrnnnsrenrnnnsrnnnnnsssnn 67 3 10 2 Additional Programs rrrrrannnvrrnnnnvvnvrnnnnvrrnnnnrnnnnnrenrnnnnnennnnnsnen 68 Figure 3 13General Information ccccccsesecceesseeeeeeeeessaeseees 68 3 10 3 SUSI API Programmer s Documentation rrrrrnnnnnnnnnrnnnnnennnnnre 75 vil RSB 4210 User Manual Appendix A A 1 A 2 A 3 RSB 4210 User Manual API Error Code asannnanannnnnnananannununuane 93 Function Index COC eee ceecceccecceeceeceecneeceeceeceecaecaeeaeeceecueeaesaesaeeeeeseesaes 94 EMOTE OR OG EE EE e 96 Driver Error Code vill Overview This chapter briefly introduces the RSB 4210 Platform and RSB 4210 Evaluation Kit 1 1 Introduction In order to offer potential RISC based Design to Order Service DTOS project cus tomers with a more efficient and low risk evaluation tool Advantech provides a vari ety of RISC based evaluation kits Before DTOS projects kick off customers can check their designs with these kits in detail more easily The evaluation kits are already equipped with all of the necessary H W and S W parts which customers will need thus reducing design effort and speeding up application development The RSB 4210 is designed as a single board computer SBC solution with a Fre escale i MX53 processor based on ARM Cortex A8 architecture which is a com plete 32 bit
56. es failure Remarks An application must call SusiDlllnit before calling any other non SusiDII functions 3 10 3 2 SusiDIIUnlnit Unload the Susi Library BOOL SusiDIIUnlnit void Parameters None Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Before an application terminates it must call SusiDllUnInit if it has successfully called SusiDllInit Calls to SusiDlllnit and SusiDllUnInit can be nested but must be paired 75 RSB 4210 User Manual 3 10 3 3 SusiDIIGetVersion Retrieve the version numbers of SUSI Library void SusiDIIGetVersion WORD major WORD minor Parameters major out Pointer to a variable containing the major version number minor out Pointer to a variable containing the minor version number Return Value None Remarks This function returns the version numbers of SUSI It s suggested to call this function first and compare the numbers with the constants SUSI LIB VER MJ and SUSI LIB VER MR in header file SUSI H to ensure the library compatibility 3 10 3 4 SusiDIIGetLastError This function returns the last error code value int SusiDIIGetLastError void Parameters None Return Value The code of error reason for the last function call with failure Remarks You should call the SusiDIIGetLastError immediately when a function s return value indicates failure The return error code will be either Function Index Code Library Error Code or Function I
57. ganDOO00G00000006 SP aagoG0G000B0005 7 gooo000000000805 ooo oooooo oooooo good f Pr oog da User Manual RSB 4210 Evaluation Kit Freescale 1 MX53 P rocessor ARMO Cortex A8 Architecture AD ANTECH Enabling an Intelligent Planet Copyright The documentation and the software included with this product are copyrighted 2012 by Advantech Co Ltd All rights are reserved Advantech Co Ltd reserves the right to make improvements in the products described in this manual at any time without notice No part of this manual may be reproduced copied translated or transmitted in any form or by any means without the prior written permission of Advantech Co Ltd Information provided in this manual is intended to be accurate and reliable How ever Advantech Co Ltd assumes no responsibility for its use nor for any infringe ments of the rights of third parties which may result from its use Acknowledgements ARM is trademarks of ARM Corporation Freescale is trademarks of Freescale Corporation Microsoft Windows are registered trademarks of Microsoft Corp All other product names or trademarks are properties of their respective owners Product Warranty 2 years Advantech warrants to you the original purchaser that each of its products will be free from defects in materials and workmanship for two years from the date of pur chase This warranty does not apply to any products which have been rep
58. he LVDS backlight cable connects RSB 4210 CN11 with the LCD backlight con nector of 7 LVDS LCD Module 2 1 4 LVDS Cable Part B3 The LVDS cable connects RSB 4210 LVDSO connector CN8 with the LCD signal connector of 7 LVDS LCD Module 2 1 5 Touch Cable Part B4 The touch cable connects RSB 4210 CN1 with the touch connector of 7 LVDS LCD Module 2 1 6 SQFlash SD Card Part C The SQFlash SD card is a standard SD device It is the flash based solid state drive available and uses SLC NAND flash memory making it ideal as an embedded SSD solution It connects on SD1 of RSB 4210 2 1 7 SATA Power Cable Part D The SATA power cable provides the power signal for SATA HDD by connecting RSB 4210 CN16 and the SATA HDD 2 1 8 SATA Cable Part E The SATA cable provides the control signal with SATA HDD by connecting RSB 4210 SATA CN1 with the SATA HDD 2 1 9 Mini USB Host Cable Part F The mini USB Host cable connects RSB 4210 USB OTG1 with one USB client device For example USB mouse keyboard 2 1 10 Mini USB Client Cable Part G The mini USB Client cable connects RSB 4210 USB_OTG1 with PC or NB 2 1 11 USB Type A Cable Part H The USB extend cable provide Type A for USB device For example USB mouse keyboard 2 1 12 Jumper Part I When plug in the adapter with the wafer CN17 shorted by this jumper the system will power on 2 1 13 Null modem cable Part J The null modem cable connects RSB
59. ibility to reduce the time to market phase The purpose of this chapter is to introduce you how to boot up WinEC7 and some basic utilities on RSB 4210 plat form The Bootloader The main task of the bootloader is to download a WINCE Image to the platform and starting WinCE on it The bootloader can be services to achieve this work through a terminal running on a host PC To do so the host PC has to be connected to the serial port UART Port 1 at the platform There are two kinds of bootloader for RSB 4210 WinEC7 One is uboot and another one is eboot However now uboot is the default bootloader for RSB 4210 WinEC7 eboot is an option bootloader if you want to use Ethernet KITL at WinEC7 environment Communication settings Please set the host PC s serial port communication and connect to target platform A standard serial cable can be used to connect between UART port on the target plat form and the development host PC Any terminal emulation application can be used to display messages sent from the serial port of the target Configure the terminal application with the following communications parameters Baudrate 115200 bps Data bits 8 Stop bits 1 Parity none Handshake none Startup of the bootloader You can put bootloader default is uboot in your favorite boot device including on board flash IiNand SD Card or SATA device Power on platform will let bootloader startup you can press Enter to get into uboot command mode a
60. ill power on Or you can connect this wafer with an external button to control the power ON OFF Note If your system cannot power on with an adapter please check this wafer in advance There should be a jumper or external power switch on Ts E the wafer Figure 2 21 Pin Header for Power Button Pin Description Pin Description 1 PWR_BIN 2 PWR_BIN 2 2 17 Ethernet LAN1 amp 2 Connector CN18 RSB 4210 supports dual LAN One is extended from CPU module board directly and another is extended from system bus Both of them support 10 100 Mbps transfer rates and are compliant with IEEE 802 3 Note LAN connector with LED indicator green LED indicates Ethernet active while yellow LED indicates Ethernet speed 10 100 RSB 4210 User Manual 22 Figure 2 22 Ethernet LAN1 amp LAN2 Connector 2 2 18 Wafer for Coin Battery CN19 CN19 is used for a coin battery The pin assignment is shown as below opm AE Figure 2 23 Wafer for Coin Battery Pin Description Pin Description 1 COIN RTC 2 GND 23 RSB 4210 User Manual 2 2 19 SIM Card slot CN20 RSB 4210 provides a SIM card slot for MiniPCle devices Figure 2 24 SIM Card slot 2 2 20 Pin Header for Reset RST BTN1 RST BIN1 is used for resetting the system You can connect it with an external but ton for application The pin assignment are shown below RST BTN1 Figure 2 25 Pin Header for Reset Pin Description Pin Description 1 nRESET 2 GND
61. imum timeout is 1000 the maximum timeout is 63000 and the step is 1000 it means the watchdog timeout will count 1 2 3 63 seconds RSB 4210 User Manual 80 3 10 3 14SusiWDSetConfig Start watchdog timer with specified timeout value BOOL SusiWDSetConfig DWORD delay DWORD timeout Parameters delay in Specifies a value in milliseconds which will be added to the first timeout period This allows the application to have sufficient time to do initialization before the first call to SusiWD Trigger and still be protected by the watchdog timeout in Specifies a duration in milliseconds for the watchdog timeout Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Once the watchdog has been activated its timer begins to count down The applica tion has to periodically call SusiWDTrigger to refresh the timer before it expires i e reload the watchdog timer within the specified timeout or the system will reboot when it counts down to 0 Actually a subsequent call to SusiWDTrigger equals a call to SusiWDSetConfig with delay 0 and the original timeout value so if you want to change the timeout value call SusiWDSetConfig with new timeout value instead of SusiWD Trigger Use SusiWDGetRange to get the acceptable timeout values 3 10 3 15SusiWDTrigger Reload the watchdog timer to the timeout value given in SusiWDSetConfig to prevent the system from rebooting BOOL SusiWD Trigger void Parameters None
62. isplay mode is listed as a combination of the mode width height and frequency For example 800x480 060H2z repre sents the WVGA panel LCD mode and 720x480 50Hz represents NTSC TV mode The resolution of the current mode is displayed in the box However you can t change resolution when kernel running This application is located under Startup Settings Control Panel Freescale display driver FSL Display Driver Settings Figure 3 8 Display Driver GUI 51 RSB 4210 User Manual 3 5 1 2 Running the PlayWnd tests For PlayWnd testing there are no build steps required playwnd exe always is included in the image This sample is an interactive audio video media file player It uses DirectShow to play any supported audio or video media file MPG AVI QT WAV AU SND MID etc The video will appear in a window on the screen and you can use a mouse to move the window If the media has a video component PlayWnd will read the video s default size and adjust the player s client area to allow the video to play at its exact default size taking into account the size of caption bar amp borders When the media file is playing the menu bar will disappear giving you keyboard con trol with P and S for pause play and stop reset This application is located under Windows PlayWnd exe Fie Zoom Tools Help wy Profiles Programs Startup OD etcha FY Movie Player ser 9 am RSB 4210 User Manua
63. ive based WinEC7 image E Copy u boot bin and nk nbO from 02 WinCE Hive to your bootup SD Card Restart platform then you can see uboot logo and WinEC7 bootup 4 If you want to use KITL function You need to use Freescale flash tool to flash bootup SD Card m Check your SD Slot symbol el FETE BAKAFARE le RAM a E mm DiskI m Change folder to 03 Cfimager Edit the flashSD bat Modify the SDdevice your SD slot symbol P flashSD bat HPE BEE FRERE teh ERT SKEE ee OFF set Sbdevice I the letter of your 3D device m Excute the flashSD bat m User can see the below window And please press any key to continue ey CARWINDO WS system32i cemd exe ake sure to have an SD card inserted in I drive If not insert one or modify this file Press Gtrl 4 to stop this script STIL EGNER gt 43 RSB 4210 User Manual The SD card will be formatted Press any key to continue m Please check if the u boot bin NK nbO and NK_VGA_20120621_noHive nb0 had been copied to your SD card success fully m Now you can use this bootup SD card to try KITL function E For more detail about KITL usage please contact Advantech RISC Team 3 2 2 Booting form On Board Flash or SATA 3 3 3 3 1 If you can boot WinEC7 from SD MMC device you can try to boot WinEC7 on board flash or SATA Before you using these devices remember to format it to FAT32 files system Just copy u boot bin and NK nb0 to on board flash
64. l 52 3 5 2 3 5 3 AudioRouting If both the SGTL5000 stereo audio driver and the SPDIF driver occur the default audio device may be SGTL5000 The default audio device can be chosen by the AudioRouting application Now SGTL5000 support input and output and SPDIF only Support output This application is located under Windows AudioRouting exe File Edit View Go IES cs ks m o E amp o o b amp Actwesync Desktop EventLog Favorites Fonts Programs Startup Ly C etcha her maa 2 Graphics Processing Unit Testing Tools The Graphics Processing Unit GPU is a graphics accelerator targeting embedded 2D 3D graphics applications The GPU3D 3D graphics processing unit is based on the AMD Z430 core which is an embedded engine capable of DirectX9 Shader Model 3 0 program execution and accelerates user level graphics APIs such as OpenGL ES 1 1 and 2 0 The GPU2D 2D graphics processing unit is based on the AMD Z160 core which is an embedded 2D and vector graphics accelerator targeting the OpenVG 1 1 graphics API and feature set The GPU driver is delivered only as binary code 53 RSB 4210 User Manual 3 5 3 1 Tiger Test This test application verifies the basic functionality of OpengVG 1 1 It is included into the release image and is located under Windows tiger exe Click to launch this test and a rotating tiger appears on the screen as shown in follow figure VG test 43 8 FPS 22 8 ms frame Eg E g DEL i J pl
65. l C Select Visual Studio Installed Templates MFC Smart Device Application Type Project Name Select Target plattform SDK ROM 1210 Base on your application to choice Application Type EX Dialog Based ot SY a ra Visual Studio installed templates HE CLE Poi TL Smart Device Propect gt MRC Smart Device ActweX Control oft MRC Smart Device DLL 2 Wind Smart Device Project _ My Templates wl Other Lengu l Other Project Types Search Online Templates Platform Builder Hl Test Prec Sohne Nene F est f Create directory for solution Canal 57 RSB 4210 User Manual MFC Smart Devece Appheabon Wizard Test Ed Platforms Overview Select platform SDKs to be added to the current project Application Type E Document Terolal IA ad SDKs Selected SOEs r San Windows Mobile 5 0 Pocket PC SC ROM 1210 0 Liser Interface Features Pocket P 2003 Smartphone 2003 Advanced Features Windows Mobile 5 0 Smartphone Platform Bukder ROM 1210 0 Overview Application type Lise of MFC Platforms O Single document O Use MFC in a shared DLL Application Type Dialog based Use MFC in a static library User Interface Features payee ree Resource language Generated Classes Sr 2B lt Previous _ next gt J reich J cancel RSB 4210 User Manual 58 3 2 How to use SUSI Here is a simple example show you how to use SUSI to control buzzer beep 1 Copy REL_SUS
66. link library i include Files ioctrl h REL_SUSI h AdvPlatformSetting exe Demo program execution file SusiDemo Susi dll Dynamic link library SusiDemo SRC C Source code of SusiDemo program in EVC Windows CE manual installation You can add the SUSI Library into the image by editing any bib file First you open project bib in the platform builder Add this line to the MODULES section of proj ect bib Susi dll FLATRELEASEDIR Susi dll NK SH If you want to run the window based demo add the following line AdvPlatformSet ting exe FLATRELEASEDIR AdvPlatformSetting exe Place the three files into any files directory Build your new Windows CE operating system 67 RSB 4210 User Manual 3 10 2 Additional Programs 3 10 2 1 Demo Program The SUSI demo program demonstrates how to incorporate SUSI library into the user s own applications The program is written in EVC programming language and based on Windows Embedded Compact 7 3 10 2 2 AdvPlatformSetting exe The execution file AdvPlatformSetting exe released with source code can be run on Windows EC7 The following pages are a detailed introduction to the AdvPlatformSetting program i General Advantech Platform Setting OK General Display Watchdog Audio Miscellaneous Platform Information tare ROM 1210 Memory Size Total In Use Free DRAM KB 449772 141504 308266 MAND KB 1910944 200 1910644 System Software Windows EC 7 0 0 00 0001 2011 11
67. n Header for Suspend SUS BTN1 rmrrrnnnrnrnnnnrnnrnnnnennnnnrr 25 Figure 2 26Pin Header for SuSpend ranrrvvnnnnrrerrnnvrernrnnereennnne 25 Pin Header for Matrix Keypad KEYPAD1T J rrrnnrnnnnvrnrnnnnnnnnnnn 25 Figure 2 27 Pin Header for Matrix Keypad rrrrrrnnrrrvrrnrnrernnnnr 26 Pin Header for I2C SPI CN21 rrnnnnnnnnnnnnnrnnnnnrnnnnnnvnnnnnsnennnnnnre 26 Figure 2 28Pin Header for I2G SPl rrrannnnnnnnnnrnnnnnnrrnnnnnnennnnnnre 26 Pin Header for 20x pins GPIO GPIO1 rrrnnnnnrrrvnrnrrrernnnervennnnn 27 Figure 2 29Pin Header for GPIO rrrrnnnnnnevenunnevnnnnnevnennnnnvennnnne 27 SATA Connector SATA CN1 rrrnnrrnnnnnnrrnnnnnnnnnonnrnnnnnennnnnnnnnee 28 Figure 2 30SATA Connector uaavrdansedenidnd 28 Pin Header for USB HUB1 USB1 J rrrrannnnnnnnnnrrnnnnnrrnnnnnrrnnnnnrr 28 Figure 2 31 Pin Header for USB HUB1 rrrnnnnnnronnnnnrrnrnnnrrnnnnnrr 28 Wafer for Battery Charger Board Power BAT_CN1 29 Figure 2 32 Wafer for Battery Charger Board Power 29 Wafer for Battery Charger Board Control Signal BAT CN2 29 Figure 2 33 Wafer for Battery Charger Board Control Signal 29 USB OTG MINI AB Connector USB OTG1 rrrerrvrnnnnnrrrveens 30 Figure 2 34USB OTG MINI AB Connector rrrrennnnrrvrnnnnrrvennnnrr 30 USB HUB 2 amp 3 Standard Type A USB2 rrnnnrnnnnrnnnnnvnvnnnnn 30 Figure 2 35USB CSB HUB 2 amp 3 Standard Type A 3
68. ndex Code Driver Error Code The Function Index Code distinguishes which API the error resulted from and the library Driver Error Code indicates the actual error type i e if it is an error in a library or driver For a complete list of error codes please refer to the Appendix RSB 4210 User Manual 76 3 10 3 5 SusiCoreAvailable Check if Core driver is available int SusiCoreAvailable void Parameters None Return Value Value Meaning 1 The function fails The function succeeds the platform does not support 0 SusiCore APIs 1 The function succeeds the platform supports Core Remarks After calling SusiDllInit successfully all Susi Available functions are used to check if the corresponding features are supported by the platform or not So it is suggested to call Susi Available before using any Susi functions 3 10 3 6 SusiCoreGetPlatformName Get the current platform name BOOL SusiCoreGetPlatformName TCHAR PlatformName DWORD size Parameters PlatformName out Pointer to an array in which the platform name string is returned size in out Pointer to a variable that specifies the size in TCHAR of the array pointed to by the PlatformName parameter If PlatformName is given as NULL when the function returns the variable will contain the array size required for the platform name Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Call the function twice first by givi
69. ne all the hard work for our customers with the release of a suite of APIs Application Programming Interfaces called the Secured amp Unified Smart Inter face SUSI SUSI provides not only the underlying drivers required but also a rich set of user friendly intelligent and integrated interfaces which speeds development enhances security and offers add on value for Advantech platforms SUSI plays the role of cat alyst between developer and solution and makes Advantech embedded platforms easier and simpler to adopt and operate with customer applications RSB 4210 User Manual 64 Benefits Faster Time to Market SUSI s unified API helps developers write applications to control the hardware without knowing the hardware specs of the chipsets and driver architecture Reduced Project Effort When customers have their own devices connected to the onboard bus they can either study the data sheet and write the driver amp API from scratch or they can use SUSI to start the integration with a 50 head start Developers can ref erence the sample program on the CD to see and learn more about the software development environment Enhances Hardware Platform Reliability SUSI provides a trusted custom ready solution which combines chipset and library function support controlling application development through SUSI enhances reliability and brings peace of mind Flexible Upgrade Possibilities SUSI supports an easy upgrade solution for customer
70. ng PlatformName as NULL to get the array size required for the string Then allocate a TCHAR array with the size required and give the array with its size as parameters to get the platform name Note that the platform name cannot be correctly retrieved if the BIOS is a release version 77 RSB 4210 User Manual 3 10 3 7 SusiCoreSoftReset Software reset function BOOL SusiCoreSoftReset void Parameters None Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Call this function to do software reset 3 10 3 8 SusiCoreGetimagelnfo Get image information including WinCE image version WinCE image build date Boot loader image version and Boot loader image build date BOOL SusiCoreGetlmageinfo PIMGINFO plnfo Paramete plnfo out Retrieve image information Imagelnfo structure definition typedef struct TCHAR WinCE ImageVersion TCHAR WinCEBuiltDate TCHAR BootloaderVersion TCHAR BootloaderDate I PIMGINFO PIMGINFO Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks Programmer can adjust program memory size in Mbytes by using this function The format of WinCEBuiltDate amp BootloaderDate is yyyymmdd RSB 4210 User Manual 78 3 10 3 9 SusiCoreGetMACAddr Get MAC Address of LAN chip BOOL SusiCoreGetMACAddr BYTE MACAddr Parameters MACAdar out Pointer to a byte array containing the MAC address of LAN chip Return Value TRUE 1 indicates success F
71. nnrvnnnrnnnnnnennnnne 50 Figure 3 8 Display Driver GUl rrrrrrnnnnnornrrnnnnnvvnnrnnnnnrrnnnnnnnnnee 51 3 5 2 AudioRouting cccccccccseeeececaeeeeeeeseeeeeeseeeseeessaeeeeeseaeeeeseeeneeeeas 53 3 5 3 Graphics Processing Unit Testing ToO0lS rrrrrnrnnnnnnrvnrnnnnrnrnnnnre 53 Figure 3 9 Tiger Test ccccccsscccsssceceeeecceeeeeceeececesseeeseneessaaees 54 Figure 3 10Cube TESL ua vectevenaxvecesuesncsbidecsaciedsdncsstesbabve 54 Figure 3 11 Triangle Test rrrrannnrnnnnnnrnnnrvnnnnrennnenennnnnrnnnnnennnene 55 3 5 4 Application Tool for USB Device Class Select r rrrrrrrrnnrennnnre 55 Figure 3 12USB Device Class Switch User Interface 55 Binary BSP introduction scecsceecse2sveccsssteeceetasnetinneaiteed ceabsecnd erasnoselsededacers 56 3 6 1 Build WinEC7 OS Image rrrnrnrrrnnnnnnvnnnnnnnnnnrrnnnnnnnnnrennnnnnnnnsenn 56 3 6 2 Windows CE Startup Procedure arnnnnnnnnnnnnnnnnnnnnrrrnnnnnnnnnnnnnnnnnn 57 3 6 3 U boot development rrrrrnnnrrvrrannnvvrnnnnrenvrnnnrrnnnnnnrnnrnnnnsennnnsnenn 57 FOC COIN erroreren enai Ee Ea iia 57 3 7 1 Create a new Windows EC 7 project rrrrrrnrrrrrnnnrrerrnnnrrnvrnnnnen 57 3 7 2 How to use SUS les sacectccsSccnvesdandcpgcstoad cenvexsaceedeasinosd eacaddessnceseeaeeee 59 Connect Device with PC with ACtiVeSYNC ceeeeeeeeeeeneeeeeeeeeeeeeeeees 61 Implement Break Points cccccccccssseecsseeeceeeeecseeeesseeeeeseeeeesege
72. or SATA and restart plat form to achieve this task SD MMC is the highest priority boot device On board flash is the lowest priority boot device Utilities There are several useful utilities added in the released WinEC7 image Test Utility The utility Auto exe is an integrated test tool which includes function validation for peripherals You can use this tool to verify whether the peripheral function is working or not Just copy this utility to storage device and then launch from WinCE by double clicking it Please contact Adavantech FAEs to get this tool You should see a lot of test items in left window after launching this utility Auto exe You can insert enough test items you want into the right window by pressing the gt gt button The test items in right window will be executed Also you can remove test items from right window by clicking the lt lt button After you ve added the test items you can go to function testing by pressing the RUN ALL button By pressing the Report button you will see the test results Ele Et view Go zi ebia xem w a 4 a G gt mil COCEC adv mx53a Audoftou i AUTO Coldplay EBOOT HK nobive TaxcafReg Advantech Diagnostic for SUSI aray ka OK x i Ver 12 0104 Advantech Diagnostic for SUSI library JE 12 07 AM 5 Figure 3 1 Test Utility RSB 4210 User Manual 44 3 3 2 3 3 3 3 3 3 1 Startup Execution The RSB 4210 platform has a useful
73. ow Help Sid aw s oO amp Gi Bh D Reme lt ROM 1210 0 ARMv4l 29 ROM 1210 0 ARMV Device gt 9 GO 42 Sh 5 Sme Rk A E N E E a amp arr Device fa 2 xd a J Ts Solution Explorer fal_ tet 20110808 DX TF signe p fsl_tset_20110805Dig cpp fal feet 201108 OG tal tret 20110805 L iy 5 ae TE ea Solution Yel_tet_201 10805 1 project avoid Cfsl_tset_20110805D1 OnBn lickedButton26 E Og Header Files n fel tot 20110805 h ra ff TODO Add your control notification handler code here fel tet 20110805DIg h EG susiCoresetBuzzer 1 hj REL DEBUG H hj REL SUSLH h oo ra JF TODO Add your control notification handler code here tes I SusiCoreSetBuzzer Ei fl t t 20110805 ico fa fel t t 20110805 al fs toet 20110805 2 Er Source Files Ge fel tot 20110805 epp C fel tet 20110805DIg epp C stdafx cpp E ReadMe bi fig sus lib void Cfsl tset 2011080501g OnBrClickedButtonz pe fal t t 20110805 Microsoft Visual Stadio efile Edit View Project Build Debug Tools Test Window Help la FAS amp kis ROM 1210 0 ROM 1210 0 ARMY Device fi Start Without Debugeme Ctrl FS afaina Tc irer f a t t AM TORS i Attach to Process Exceptions tlt AlttE ase fel tet 20110805 1 proje SE Step Into Fil J GM fsl_tset_20110805 a 1 Header Files gg er Over n fsl tet 20110805 h pe peia trol notificatio ni fl tset_20110805D1gh
74. p to 128 seconds m Time resolution of 0 5 seconds m Before the timer counts down you may reset the timer by clicking the Trigger button Stop function is not supported in SUSI RISC Power Management This part implements Sleep function and Reboot function RSB 4210 User Manual 70 iv Audio Advantech Platform Setting General Display Watchdog Audio Miscellaneous Playback cy Speaker I Line Out H C Mute Record Microphone Line In O Mute Ji e This page demonstrates audio control Playback E ROM 1210 only provides an audio output Record m You can choose two input source Microphone or Line In Speaker m You can turn ON OFF the speaker 71 RSB 4210 User Manual v Miscellaneous Advantech Platform Setting General Display Watchdog audio Miscellaneous Activesync Start Service Memory Management Allocate Memory Size Automatically Ethernet Information eth MAC po 04 5F 01 55 EE ethi Mac DO 04 5F 01 55 EF Ji cance son Miscellaneous page contains Registry Control ActiveSync Ethernet Information and Touch Panel Calibrate Registry Our BSP supports hive based registry With the hive based registry you may save the changes in files on a storage device For performance reasons the registry changes saved after you had called RegFlushKey ActiveSync m ActiveSync allows you to transfers files from your PC to the Windows Mobile pl
75. pports OpenGL ES 2 0 and OpenVG 1 1 hardware accelerators m Supports full HD 1080p video decode and HD 720p video encode hardware engine Freescale Smart Speed Technology support low power consumption m O through 3 3 V I O voltage and wide working temperature by industrial design concept m Rich I O for high expansion capability UART 5 Dual LVDS Audio USB Host USB OTG Dual LAN SD 2 SATA 1 GPIO 20 12C 2 SPI 1 12S 1 CAN 1 Keypad 6X6 Touch Mini PCI E and System Bus m Supports SATA storage interface and CAN bus for vehicle application m Supports Android2 3 Embedded Linux2 6 and Windows Embedded Compact 7 m Support wide working temperature 40 85 C operation temperature optional RSB 4210 User Manual 2 1 3 Hardware Specifications Item Kernel CPU 2D 3D Accelerators System RAM Onboard Flash RTC Watchdog Timer Reset I O COM Ethernet LAN USB Port USB OTG SD MMC Mini PCI E SIM Card slot SATA Touch Screen System Bus I C Interface I S Interface SPI Interface CAN BUS Hotkey Matrix keypad GPIO Buzzer control Multimedia Graphic Chip LCD Resolution Dual LVDS HDMI VGA Brightness Backlight Control Audio Power DC input Battery Support Description Freescale i MX53 1GHz ARM Cortex A8 Support OpenGL ES 2 0 and OpenVG 1 1 hardware accelerators 512 MB Optional 256 MB 2 GB Optional None Yes Yes H W reset amp S W reset COM 1 RS 23
76. r not It is suggested to call Susi Available before using any Susi functions 91 RSB 4210 User Manual 3 10 3 32SusiSPISetBusConfig Set SPI channel frequency and data rate for SPI control void SusiSPISetBusConfig BYTE ch BYTE freq BYTE dataRate Parameters ch in Specifies the channel value to be set freq in Specifies the frequency value to be set dataRate in Specifies the data rate value to be set Return Value None Remarks The default parameters list below Parameter Value ch 0 fray 16000000 dataRate 32 3 10 3 33SusiSPIExchange This function performs SPI exchange operations BOOL SusiSPIExchange DWORD txBuf DWORD rxBuf Parameters txBuf in Pointer to the SPI Tx data buffer in the Packet rxBuf in Pointer to the SPI Rx data buffer in the Packet Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks The max size for Tx Rx data buffer is 1024 bytes RSB 4210 User Manual 92 Appendix A API Error Code An error value will be either Function Index Code Library Error Code or Function Index Code Driver Error Code lf you call an API and returns with fail The Function Index Code in its error code combination does not necessarily equal to the index code of the API This is because the API may make a call to another API A 1 Function Index Code Index Code Function Index DL 00100000 ESusilInit 00200000 00300000 00400000 00500000 00600000
77. rage card onboard flash chip and SATA There is only one device will be the default booting device There are two major files that you need to boot WinEC7 u boot bin and NK nb0O During boot up phase u boot will copy WinEC7 image NK nb0 to DRAM and launch it from DRAM from same bootup device This chapter will introduce you to how to bootup WinEC7 on RSB 4210 from SD MMC on board flash or SATA device Required Files Please refer to released Software package 01 First WinCE u boot bin Platform might default be linux Need ulogo bmp to format on board flash to support NK VGA 20120621 noHive nbO Hive Based WinEC7 u boot bin The latest WinEC7 image and corre pe AMOENG NK nbO sponding uboot cfimager exe flashSD bat eboot nbO Freescale Flash tool to support eboot NK nb0O and KITL function NK_VGA_20120621_noHive nbO u boot bin 04 Others Oter backup files IMX53_WinEC7_NewArch_bootup_ SOP i MX53 WinEC7 bootup SOP Boot No Hive 03 Cfimager Note The u boot in different folder has different functionality do not use u N boot bin in 01_First WinCE Boot No Hive folder to boot image in 02 WinCE Hive folder vice versa RSB 4210 User Manual 40 3 2 1 WinEC7 Bootup Steps Please follow bellow steps to boot WinEC7 1 Platform might default be Linux Need to format on board flash to support Hive Based WinEC7 E Insert a boot SD Card to your host pc and format it to FAT32 Files System HEEN 1 ER HEF m
78. rosoft chives sie io SCENE r Guest Connected Hide Details 61 RSB 4210 User Manual 5 Select Tools gt Connect to Device Then select your target device from your Visual Studio 2008 menu bar Then it will show Connection succeeded fil tet 201 10805 Microsoft Visual Studio File Edit View Project Build ra So E IEEE SE Platform Buikler ROM 1210 0 ARMY Device a i Windows Embedded Silverlight Tools Altech to Process Cok AltP Ea PI ELA ca Solution fel tet 20110805 1 project 09 fal t t 20110805 27 Header Files h fal tet 20110905 h Connect to Device To connect to phovsical device or launch an emulator image select platform then choose device below Platform ROM 1210 0 v Devices ROM1210 ROM 1210 0 ARMY Device Connecting To FOM 1210 0 ARMY Device Connecting To EOM 1210 0 REMY Device Connection succeeded RSB 4210 User Manual 62 3 9 1 NG ND mplement Break Points Set breakpoints at you code for example code lines Cfsl tset 20110805DIg OnBnClickedButton26 SusiCoreSetBuzzer 1 Then press F5 to Start Debugging Then you can see that it will stop at the breakpoint you set Then press F5 to Continues Debugging it will go to next breakpoint you set Finally you can see you AP shown at the LCD screen of device gj fil t t 20110808 Microsoft Visual Stadio File Edit View Project Buld Debug Took Test Wind
79. s Customers just need to install the new version SUSI that supports the new functions SUSI Contains 5 1 Categories of Features Control Control the devices connected to GPIO and 12C Display Adjust the brightness of LCD panels or turn on off the power of display devices Monitor Monitor the system status including voltage temperature fan speed and Watchdog function to restart if the system freezes or crashes Power Saving Power Saving utility and API for software developers Security API for AES encryption RNG random number generator SRAM mirror feature and security ID storage Debug Easier debugging with SUSI when a SUSI API call fails error codes help pro grammers know what exactly the error is All the possible errors have been listed SUSI RISC supports Control Display and Monitor functions Control GPIO GY Aj General Purpose Input Output is a flexible parallel interface that allows a vari ety of custom connections It supports various Digital I O devices input devices like buttons switches output devices such as cash drawers LED lights etc And allows users to monitor the level of signal input or set the out put status to switch on off the device 65 RSB 4210 User Manual Programmable GPIO The Programmable GPIO API allows developers to dynamically set the GPIO input or output status GPIO in out status is usually defined in BIOS if cus tomers need to have different settings
80. s shown in below figure Net got MAC address from I IM OG 00 00 00 00 00 IFECO PRIME Hit any key to stop autoboot 0 SOM CMX5S U Boot gt _ RSB 4210 User Manual 38 3 1 3 Change Display Output Resolution RSB 4210 has a build in CH7033B HDTV VGA DVI Encoder With its advanced video encoder and flexible scaling engine the CH7033B satisfies manufactures products display requirements There are 44 display panel types and auto mode can be chosen as default in RSB 4210 To set default display panel type just enter uboot command mode and type below commands ch7033cfg set setting value set display panel type ch7033cfg get get setting value reset reset platform Example Hit any key to stop autoboot 0 SOM CMX53 U Boot gt ch7033cfa set 2 SOM CMASS U Boot gt ch OSScie get Current Setting 2 2 1080P60 HDMI 16 1820 x 1080 p 6012 148500k102 SOM CMRKSS U Boot gt reset Below is 44 display panel types list table vane Name Nowe name fase name bo wao 15 14404900RDG 30 720P80 e WSXGA 60 21 1960x768P60 as evano e SXGA 60 23 f1280768RDG NTsCv jo SxGAas 24 fi2s0x768veSA a9 vaas 255 wom dT Note Auto mode 1280x720 HDMI 1024x768 VGA output and LVDS output Z 1280x720 resolution 39 RSB 4210 User Manual 3 2 WinEC7 Startup Procedure Windows CE image can be loaded from three devices including SD sto
81. section is to show you how to use Advantech WinCE Binary BSP to develop your WinCE system for i MX53 series platform Before you begin this doc ument s step you need to check a development environment listed as below gt HH E E ONENE PC development environment Visual Studio 2008 Windows Embedded Compact 7 SD Card Released BSP package contains following files ADV_RSB_4210 pbxml or ADV_ROM_1210 pbxml WinCE OSDesing Proj ect file ADV RSB 4210 or ADV ROM 1210 BSP Binary Package RSB 4210xx x date S Image and bootup package uboot logo date uboot source code and programming guide package A RSB 4210 Platform 3 6 1 Build WinEC7 OS Image 1 2 Assume default WinCE path is C WINCE700 Copy ADV RSB 4210 or ADV ROM 1210 to C WINCE700 PLATFORM for example EAE CAWINCE700platform ADV BOM 1210 Place ADV ROM 1210 pbxml to OSDesigns create a sub folder for exam ple C WINCE700 osdesigns ADV_ROM_1210 ADV ROM 1210 pbxml Double Click ADV ROM 1210 pbxml Start a VS2008 WinCE Platform Builder It will create OSDesigns files Select Build gt Configuration Manager from your Visual Studio 2008 menu bar Choose Freescale MX53 SMD ARMV7 Release g4D _ ROM 1210 Microsoft Visual Stadio File Edit View Project Bvid Debug Target Tool Test Window Help Sy EIA E IERE TEES ES Ea SE 3 Device auto Ether Po Sa Fe Ah solution Explorer Solution ADV ROM 12101 pro I
82. sntesetheabeessachedesieidtelsneateddascsaheeaesdestobedases 38 3 1 1 Communication settings rrrrrrnnrrrrrrnnrrvrrnnnrrrrrnnrrevrnnnenennrnnnnen 38 3 1 2 Startup of the bootloader rrrrrnnnnrrvrrnnrnevrnnnnrrnrnnnrenrnnnnnennnnnnnen 38 3 1 3 Change Display Output Resolution rrnnnrrrvvrrnnnnrrvvvrnrrnnnrrrennnn 39 WinEC7 Startup Procedure rrrrrnnnnnrrnnnnvvrrnnnnevrnnnnrrnnnnnnsennnnnsrennnnsnnen 40 3 2 1 WinEC7 Bootup Steps rrrannrnnnrnnnnrvrnnnnnnnvrnnnnrnnnnnnrrnrnnnnrrnnnnnnnen 41 3 2 2 Booting form On Board Flash or SATA rrrrrrvvvnrrnnnrrrvvnrrnnrrrnennnn 44 10 10 EEE EEE EEE 44 TED seg 44 Figure 3 1 Test Utility ee 44 3 3 2 Startup Execution rrnrrrrrnnnnnvrrnnnnrrnnnnnrrnrnnnnnrrnnnnnrenrnnnsnennnnnsnen 45 3 3 3 Platform SEN 45 Figure 3 2 General Information ccccccsseeccccsesseeeeeeeseaeeeeees 45 Figure 3 3 Display Configuration rnnrrennnnvrvrnrnnrrvernnnerennnnvrren 46 Figure 3 4 Watchdog Timer rrrnnnnnnnnnnnnnnrnnnnonnnnnnnenrnnnnnennnnnnnen 47 Figure 3 5 Audio Settings rrrnnnrrrrrnnnnrvrnnnnrvnnnnnnnrvrnnnnrennnnnnenn 48 Figure 3 6 Miscellaneous SettingS ccccccccccceesseseeeeeeeeeeeees 49 KEN SEE VE AE 50 Figure 3 7 Networking via Ethernet rrrrnnnrnennnnrrvnnnnnnrnnnennnnn 50 BOP TR ies secesgrocas cartacd dageetoadecetesodessenecvadet queeqeaeeeeiaestouessssecsaes 50 3 5 1 Display and Video Testing Tools rnrnnnnnnrnnnnnrrnnn
83. tandard P N 170203183C E 3 pin Power Cord for UK standard P N 170203180A Charger Board amp Battery Optional E Acable 1 6P 2 5 1 6P 2 5 140 mm P N 1700018394 E A cable 2 4P 2 0 2 4P 2 0 90 mm P N 1700018395 E PCM 739 Battery charger Board P N 969K073900E Battery 11 1 V 6300 mAh 3S3P P N 1760001300 lil RSB 4210 User Manual Safety Instructions 10 11 12 13 Read these safety instructions carefully Keep this User Manual for later reference Disconnect this equipment from any AC outlet before cleaning Use a damp cloth Do not use liquid or spray detergents for cleaning For plug in equipment the power outlet socket must be located near the equip ment and must be easily accessible Keep this equipment away from humidity Put this equipment on a reliable surface during installation Dropping it or letting it fall may cause damage The openings on the enclosure are for air convection Protect the equipment from overheating DO NOT COVER THE OPENINGS Make sure the voltage of the power source is correct before connecting the equipment to the power outlet Position the power cord so that people cannot step on it Do not place anything over the power cord All cautions and warnings on the equipment should be noted If the equipment is not used for a long time disconnect it from the power source to avoid damage by transient overvoltage Never pour any liquid into an opening This may cause fir
84. the speaker out uses a 2W amplifier The pin assignment is shown below Figure 2 38 Box Header for LINE OUT LINE IN MIC IN and L amp R Speakers Pin Description Pin Description 1 LINE OUT R 2 SPK R 3 LINE OUT L 4 SPK L 5 SPK R 6 SPK L 7 N C 8 AGND 9 LINE INR 10 LINE INL 11 N C 12 AGND 13 N C 14 N C 15 MIC_IN 16 AGND 2 2 34 D Sub9 Connector for COM2 RS 232 TX RX RTS CTS COM1 COM1 port supports RS 232 TX RX RTS CTS The pin assignment is shown below Figure 2 39 D Sub9 Connector for COM2 RS 232 TX RX RTS CTS Pin Description Pin Description RSB 4210 User Manual 32 O N Oo1 d N C COM2_TXD GND COM2_RTS N C COM2_RXD N C N C COM2_CTS CO AIN 2 2 35 DC IN Power Jack DCIN1 The DC in power jack DCIN1 provides the power with RSB 4210 9 24 V 2 2 36 SD Card Slot SD1 Figure 2 40 DC IN Power Jack The SD card Slot SD1 is powered with 3 3 V which includes the following features Fully compatible with the MMC system specification version 3 2 Compatible with the SD Memory Card specification 1 01 and SD I O specifica tion 1 1 with 1 4 channel s Block based data transfer between MMC card and SDHC stream mode not supported 100 Mbps maximum data rate in 4 bit mode SD bus clock up to 25 MHz Thi Es so ee a 3 i fs K z wa Lee FCC CE NET Figure 2 41 SD card Slot 33 RSB 4210 User Manual 2 3 Mechanical 2 3 1 Connector Location CNH GFIOL CNS
85. uld be ignored Reglnx in Registry Index WriteBuf in Pointer to a byte array which contains the bytes of data to be written WriteLen in Specifies the number of bytes to be written ReadBut out Pointer to a variable in which the function reads the bytes of data ReadLen in Specifies the number of bytes to be read Return Value TRUE 1 indicates success FALSE 0 indicates failure Remarks The function is mainly for EEPROM I2C devices the bytes written first are used to locate to a certain address in ROM and the following bytes read will retrieve the data bytes starting from this address Call SusillCAvailable first to make sure the support I2C type For more information about how to use this API and the relationship between IIC and SMBus please refer to Programming Overview parts SMBus functions to IIC versus SMBus com patibility RSB 4210 User Manual 88 3 10 3 25SusiVCAvailable Check if VC driver is available and also get the feature support information BOOL SusiVCAvailable void Parameters None Return Value Value Meaning 1 The function fails 0 The function succeeds the platform does not support any SusiVC APIs The function succeeds the platform supports only brightness APIs The function succeeds the platform supports only screen on off APIs The function succeeds the platform supports all SusiVC APIs SUSI_VC_BRIGHT_CONTROL_AVAILABLE 1 SUSI VC VGA CONTROL AVAILABLE
86. xMessagebox Tl Sus 15 not supported for this platform return TRUE return TRUE unless you set the focus to a control int nRet er SusiDl linit lt 0 RETAILMSG 1 TEXTC Initial failed r n CString text text Format _T Susi initialize failed din nRet AfxMessageBox text AfxMessageBox TC Susi is not supported for this platform 5 Add following code to control buzzer void Cbeep testDlg 0nBnC lickedButtonl TODO Add your control notification handler code here SusiCoreSetBuzzer 1 void Cbeep testDlg 0nBnClickedButton2 TODO Add your control notification handler code here SusiCoreSetBuzzer 0 void Cbheep_testDlg OnBnClickedButtoni TODO Add your control notification handler code here SusiCoreSetBuzzer 1 void Cbeep testDlg 0nBnClickedButton2 TODO Add your control notification handler code here SusiCoreSetBuzzer 0 6 Then you can Start Debugging with ActiveSync to try SUSI API 7 Other SUSI API please refer to RSB 4210 SUSI User Maunal document RSB 4210 User Manual 60 3 8 Connect Device with PC with Activesync 1 Install Activesync 3 9 3 5 on PC 2 Startup your WinEC7 platform Go to Windows gt USBSet Set USB Device Class Select to Active Sync c Jejdeyn Ayyeuonouny 9JEM1JOG 3 Connect device amp PC via USB cable RSB 4210 OTG client port is USB ORG1 4 Activesync will show Connected f Mic

Download Pdf Manuals

image

Related Search

Related Contents

mode d`emploi de la licence de surveillance  Cryptographic system and methodology for creating and managing  Fujitsu LIFEBOOK E751  はカタログー取扱説明書をお ご使用上のラ  Kenwood TS-590S HF and 6 Meter Transceiver  VALVOLA DI RITEGNO    Suma Star D1  Manual do Utilizador do Nokia  Production Tool User Manual  

Copyright © All rights reserved.
Failed to retrieve file