Download Print this page

Advantech SPC-57 User Manual

5.7” stn lcd smart panel computer with intel xscale cpu and windows ce.net

Advertisement

Quick Links

SPC-57
5.7" STN LCD Smart Panel
R
R
Computer with Intel
Xscale
CPU
R
and Windows
CE.NET

Users Manual

Advertisement

loading

Summary of Contents for Advantech SPC-57

  • Page 1: Users Manual

    SPC-57 5.7” STN LCD Smart Panel Computer with Intel Xscale and Windows CE.NET Users Manual...
  • Page 2 CE.NET is a registered trademark of Microsoft Corp. All other product names or trademarks are properties of their respective owners. For more information on this and other Advantech products, please visit our websites http://www.advantech.com For technical support and service, please visit our support website at: http://eservice.advantech.com.tw/eservice/...
  • Page 3 FCC Class A This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a residential environment.
  • Page 4 If any of these items are missing or damaged, contact your distributor or sales representative immediately. Additional Information and Assistance Step 1: Visit the Advantech web site at www.advantech.com/risc where you can find the latest information about the product. Step 2: Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance.
  • Page 5 60° C (140° F). THIS COULD DAMAGE THE EQUIPMENT. THE EQUIPMENT SHOULD BE IN A CONTROLLED ENVIRONMENT. The sound pressure level at the operator's position according to IEC 704-1:1982 is no more than 70dB (A). DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech...
  • Page 6 disclaims all responsibility for the accuracy of any statements contained herein.
  • Page 7 - Wenn das Gerät deutliche Anzeichen eines Defektes aufweist. Der arbeitsplatzbezogene Schalldruckpegel nach DIN 45 635 Teil 1000 beträgt 70 dB(A) oder weiger. DISCLAIMER: This set of instructions is given according to IEC704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein.
  • Page 8: General Information

    CHAPTER General Information This chapter gives background Information of the SPC-57 Sections include: • Introduction • Specification • LCD Specification • Touchscreen Specification • Power • I/O ports • Mounting • Dimension and cutout...
  • Page 9 1.1 Introduction Intel® XScale®, Ultra Low Power, Embedded Applications Anywhere!! Advantech smart panel computers enable great embedded flexibility when powered by Intel® XScale® technology. Built with an Intel PXA255 CPU, LCD display, touchscreen, and pre-installed with Microsoft® Windows CE .NET 4.2 and LAN, the SPC series provide the best cost-effective and stable solution to customers for a diverse range of embedded applications.
  • Page 10 1.2 Specifications There are 2 models of SPC-57 series, SPC-57E and SPC-57C. SPC-57C is the fully enclosure with standard external I/O connector. SPC-57E is without back cover, without standard external I/O connector, and without Flash memory on board. SPC-57E and SPC-57C can fulfill different applications and various demands from the customer.
  • Page 11 Power switch 1 power switch Power conn 1 power connector SW reset Through system configurator to execute the SW reset Mechanical Dimension 210 X 155 X 41 (mm) Material SPCC Certification CE, FCC class A, UL Environmental Operating temp 0 degree C ~ 50 degree C Storage temp -20 degree C ~ 60 degree C Water/dust...
  • Page 12 Power V-in range DC 10V ~ 28V Protection Over current protection; Electric pole reverse protection SM bus For smart battery, pin headers Power switch 1 power switch Power conn 1 power connector SW reset Through system configurator to execute the SW reset Mechanical Dimension 210 X 155 X 41 (mm)
  • Page 13 1.3 LCD Specifications LCD model Nan Ya LMB61-23 Display type STN color LCD Size (Diagonal) 5.7” Resolution 320 x 240 (VGA) Maximum colors Pixel pitch (WxH, mm) 0.36 X 0.36 Luminance (cd/m 165 cd/m Contrast ratio Response time Rise 300 ms, Fall 80 ms Lamp lifetime 20000 hours 1.4 Touchscreen Specifications...
  • Page 14 1.6 I/O Ports Arrangement Power RJ-45 Host Switch RS-232 RS-485 Line out Power jack Client Connector PCMCIA CompactFlash Slot TypeII Slot...
  • Page 15 1.7 Mounting...
  • Page 17 1.8 Dimension and cutout...
  • Page 18: Getting Start

    CHAPTER Getting Start This chapter provides brief instructions for operating the SPC-57...
  • Page 19 2.1 Quick Starting Step1: Unpack the SPC-57 from its packing. Please check the packing list at the beginning of this manual. Step2: Connect the power connector to 10 ~ 28 Vdc power source. The power source can either be from a power adapter or an in-house power source. Step3: Connect the power source to the system power supply.
  • Page 20 4. Plug the male power connector into female power connector in SPC.
  • Page 22 5. Turn on the power switch 2.1.2 Supplying Power to SPC-57E 1. SPC accepts only DC power, not AC power 2. The DC input range for SPC is 10V ~ 28V. 3. Use the power cable (in SPC-57E package) to connect the board of SPC-57 and power source.
  • Page 23 Power Connector Connect to the power source 4. If the power cable included in the SPC-57E package is not suitable to users’ application, users have to make their own cable to supply power to SPC.
  • Page 24 CHAPTER The Engine of the SPC-57 This chapter details hardware’s setting and functionality in the SPC-57 Sections include: • PCM-7230 SBC for SPC-57 • I/O Board • LCD and touch-screen • Power system...
  • Page 25 This chapter will detail hardware setting and functionality in the SPC-57. Following will introduce (1) PCM-7230 SBC for SPC-57; (2) The I/O Board (there is no I/O board of SPC-57E) (3) LCD and touch-screen; (4) Power system. 3.1 PCM-7230 Mainboard for SPC-57 The Engine of SPC-57 is constructed by the combination of 2 PCBA –...
  • Page 26 3.1.1 Specification Model PCM-7230 SBC for SPC-57 Model PCM-7230 SBC for SPC-57 ® Intel PXA255 processor at 200 MHz System 1MB NOR flash for bootloader and 64MB SDRAM memory Memory Kernel Module part PXA-255 Internal (2, 5, 10 Sec as default) HT-1381 with rechargeable coin battery DC 10V~28V, with power protect (protect for over voltage, Power Input...
  • Page 27 AC’97 Stereo Audio w/ 2W Amp. Audio - Line-In, Line-Out, Speaker-out and Mic-In For sensing DC power and battery status. 2x2 2.00mm pin SM Bus header Backup For RTC Battery On board : IO_VCC3P3 indicator(beside CN12), CF interface busy indicator(beside CN20). LED Indicator Pin header: SYS_VCC3P3, CF card busy indicator, PCMCIA card busy indicator, battery status indicator, LAN link, LAN...
  • Page 30 Figure 3.1 The PCM-7230 for SPC-57 Block Diagram...
  • Page 31 3.1.2 Headers and connectors This section locates headers and connectors of PCM-7230 and describes their functionality. CN12 CN10, CN11 CN14 CN18 CN20 CN29 CN26 CN31 Figure 3.2: Component side of the PCM-7230...
  • Page 32 Figure 3.3: Solder side of the PCM-7230 Table 3.1 Header Description Label Function JP 1 CPLD JTAG port JP 2 CPU PXA255 JTAG port JP 3 LCD signal voltage level select JP 4 Power switch header CN 1 PCMCIA accessing status port CN 3 multi-function I/O header(I) CN 8...
  • Page 33 The following tables are the pin definition of all the connectors on PCM-7230 SBC. ¡ ¹ JP 1 : CPLD JTAG port there are two CPLDs on PCM-7230. Advantech doesn’t suggest users to modify the CPLD code. If users have to do it, please contact your distributor or sales representative. ¡ ¹...
  • Page 34 ¡ ¹ JP 3 : LCD signal voltage level select Pin Number Pin function SYS_VCC power of LCD-signal LCD_VCC buffers +3.3V. VCC3P3 will VCC3P3 change to 0V when system enter sleep mode. Note: when User wants to use CN18 (40 pin TTL level LCD signal) to drive LCD panel, user needs to setup this pin header.
  • Page 35 DI 5* Digital input bit 5. DO 5* Digital output bit 5. DI 6* Digital input bit 6. DO 6* Digital output bit 6. DI 7* Digital input bit 7. DO 7* Digital output bit 7. VCC3P3 positive port of right channel SPK_OUT_RP speaker-out function negative port of right channel...
  • Page 36 the circuits. ¡ ¹ CN 8 : CRT -out header Pin Number Pin function Reserv. reserve for the future CRT _Vsync Reserv. reserve for the future CRT _Hsync CRT_B CRT blue signal CRT _G CRT green signal CRT _R CRT red signal ¡...
  • Page 37 touch screen function touch screen signal touch screen signal touch screen signal nUART1_DCD UART1_RXD UART1_TXD nUART1_DTR nUART1_DSR nUART1_RTS nUART1_CTS nUART1_RI VCC_UART1 VCC_UART1 N.C. No function N.C. No function USB_VCC5 SA_BUSB_DPR SA_BUSB_DNR USB1_V USB 1st host power +5V USB1_P USB 1st host signal USB1_N USB 1st host signal USB2_V...
  • Page 38 ¡ ¹ CN 18 : TTL level LCD signal conn ector Pin Number Pin function VCC3P3 +3.3V VCC3P3 +3.3V LCD_VEE LCD_D0 LCD_D1 LCD_D2 LCD_D3 LCD_D4 LCD_D5 LCD_D6 LCD_D7 LCD_D8 LCD_D9 LCD_D10 LCD_D11 LCD_D12 LCD_D13 LCD_D14 LCD_D15 LCD_D16 LCD_D17 LCD_D18 LCD_D19 LCD_D20 LCD_D21 LCD_D22...
  • Page 39 ¡ ¹ CN 20 : LAN status LED header Pin Number Pin function compact flash slot LED indicator, CF_VR positive pole compact flash slot LED indicator, CF_RDY negative pole LED_LINK_P positive pole of LAN link status LED LED_LINK_N negative pole of LAN link status LED negative pole of LAN 10/100 speed LED_SPEED_P status LED...
  • Page 40 ¡ ¹ CN 31 : SM bus port Pin Number Pin function clock pin of SM bus for I2CSCL smart battery I2CSDA data pin of SM bus for smart battery nDC_IN This pin is pulled low on PCM-7230 by 2M ohm. 3.1.4 COM1~COM4 serial ports The PCM-7230 offers four full-functions RS-232 (COM1, COM2, and COM3) and one RS-485 w/ AFC (COM5) serial communication interface ports.
  • Page 41 Another issue related to the Memory Module is boot priority. Users may put your image files into flash on the Memory Module by Advantech upgrade utility. Users may also put your image files in the CompactFlash card as another choices and boot from PCMCIA or CF slots.
  • Page 42 Figure 3.4: Component Side of Memory Module Figure 3.5 Solder side of Memory Module 3.1.16 Backup Battery (BT1) The PCM-7230 series build in one 3.0V, coin-type rechargeable backup battery for external RTC. This backup battery is charging when system power is on.
  • Page 43 3.1.17 Form factor Figure 3.6 Form factor of the PCM-7230 3.2 I/O Board The I/O Board can expand its I/O function thru two I/O cables. The expand functions have RS-232*1(COM1); RS-485*1(COM4) ; Audio(Line-out) ; RJ-45 for Ethernet port ; USB Client ; 2 port USB Host ; Power connector (10~28 V) ; Power switch ; Power Source to main board ;...
  • Page 44 Figure 3.7 Component side of the I/O Board Position Description COM1 (RS-232) Serial Port COM4(RS-485) Serial Port Audio(Line-out) Port RJ-45 for Ethernet Port USB Client Port USB Host Port Power Connector Power Switch CN10 Power Source to main board Multi-function I/O header (I) ¡...
  • Page 45 Signal Figure 3.8 I/O Board COM1(RS-232) serial port ¡ ¹ 4 : RS-485 serial port...
  • Page 46 Signal Data+ Data- Figure 3.8 I/O Board COM4(RS-485) serial port ¡ ¹ 2 : Audio (Line-out) port Signal Right channel Left channel Left channel Figure 3.9 I/O Board Audio(Line-out) port ¡ ¹ 5 : RJ-45 for Ethernet port...
  • Page 47 Signal TPTX100P TPTX100N TPRX100P TPRX100N Figure 3.10 I/O Board RJ-45 for Ethernet port LED1+ nLINK LED2+ nSPEED100 ¡ ¹ 3 : USB Client port...
  • Page 48 Signal USB_VCC5 SA_BUSB_DNR SA_BUSB_DPR ripheral Board USB Client port Figure 3.11 I/O board USB client port ¡ ¹ 1 : USB Host port Signal VCC_USB_H1 USB_N1 USB_P1 VCC_USB_H2 USB_N2 3.12 I/O Board USB Host port USB_P2 ¡ ¹ 9 : Power Connector...
  • Page 49 Signal 19 VDC (+) 19 VDC (-) Figure 3.12 I/O Board Power connector ¡ ¹ 10 : Power source to Main Board Signal DC in DC in Figure 3.13 I/O Board Power source to main board ¡ ¹ 7 : Multi-function I/O header (I)
  • Page 50 Pin Number Pin function UART1_RDCD UART1_RRXD UART1_RTXD UART1_RDTR UART1_RDSR UART1_RRTS UART1_RCTS UART1_RRI IO_VCC3P3 C950_485_RTXP C950_485_RTXN SPK_OUTRP SPK_OUTLP USB_VCC5 SA_BUSB_DPR SA_BUSB_DNR ¡ ¹ 8 : Multi-function I/O header (Il)
  • Page 51 Pin Number Pin function AC97_AGND AC97_AGND TPRX100N TPRX100P TPTX100N TPTX100P nSPEED100 nLINK AC97_AGND AC97_AGND IO_VCC3P3 IO_VCC3P3 VCC_USB_H1 VCC_USB_H2 USB_P1 USB_N1 USB_P2 USB_N2 AC97_AGND AC97_AGND 3.3 Power system The power system of the SPC-57 includes IO board, adapter and power cord. Users can only use a Terminal Block 5.08mm 3P MALE 19Vdc power adapter to be SPC-57’s power input.
  • Page 52: Software Functionality

    CHAPTER Software Functionality ® This chapter details the Windows CE.NET operating system on the Sections include: • Introduction •Windows® CE Startup Procedure • Upgrade Procedure • Utilities • Network • Intel Persistent Storage Manger • Application Program Development • Windows® CE.NET 4.2 Require Components...
  • Page 53 4.1 Introduction ® ® The SPC series is one embedded system with Windows CE.NET OS. The Windows CE.NET is a compact OS that occupies less storage space or system resources ® ® compared with other operating systems such as Windows NT or Windows XP.
  • Page 54 After the OS image was built, we may want to burn it to the on-board flash ROM. Advantech provides the upgrade utility “Upgrade” to upgrade Bootloader image, WinCE image or boot logo to onboard flash ROM. The upgrade procedure is described as following : Step1.
  • Page 55 Figure 4.3 Upgrade utility Note: The difference between NK.NB0 (Compressed) and NK.NB0 (Normal, XIP) : The option “NK.NB0 (Normal, XIP)” means that the nk.nb0 will be upgraded directly to the flash ROM, and “NK.NB0 (Compressed)” means that we compress nk.nb0 first, and then write the compressed data to the flash ROM.
  • Page 56 Figure 4.5 Regflash utility It is important to keep the power normal during "Save to Flash" process. If the power were broken down during the registry saving process, then the registry would be lost and corrupted. On the next time you turn on platform, the system would load the default registry setting rather than the previously customized registry setting.
  • Page 57 there are two ways to perform "Starup" function. Method 1: Step1: Create "startup" directory in CF storage card or in folder "\IPSM\". Step2: Copy executable files to "startup" directory that is created by Step 1. Example: We copy two executable files "REGFLASH.exe" and "Notepad.exe" in "\IPSM\Startup", and then reboot the system.
  • Page 58 4.4.5 System Configurator ® System Configurator is an outstanding utility designed by Advantech Windows CE.NET software team. It is an integrated environment where user can get useful system information as well as configure favorite system settings and apply system control function on demand. Double click the icon of System Configurator on the desktop.
  • Page 59 Figure 4.8 Touch-screen calibration 4.4.5.3 Display From time to time it is unnecessary to turn on the display attached to the SPC all the day. The Display page provides several frequently used functions such as turning off the LCD and backlight to elongate the display repair period, adjusting brightness or contrast.
  • Page 60 There are 8 Hotkeys reserved for users on the SPC. These Hotkeys are assigned to invoke different application programs as defaults: Hot key 1: invokes Windows Explorer Hot key 2: invokes Advantech homepage Hot key 3: invokes System Configurator Hot key 4: invokes Windows Media Player...
  • Page 61 These settings can be freely revised by keying in new paths in the edit boxes. Figure 4.11 Hotkeys setting 4.4.5.6 DIO There are 8 digital inputs and 8 digital outputs. This DIO page of the System Configurator can show their status. When the “Start” button is pressed, the 8 DI will try to retrieve external inputs, then those pins having positive inputs will mark respective radial buttons inside the “Digital Input Status”...
  • Page 62 4.4.5.7 Miscellaneous The Misc page provides several functions as described below. The "Registry" block provides registry save and registry view function. The “A. Sync” button invokes ActiveSync to the host computer. ”The "HTTP Server Root" block was used to specify root directory http...
  • Page 63 4.5 Network 4.5.1 Networking via Ethernet SPC build in one 100Base-T Ethernet controller. It appears at “Control Panel/Network and Dial-up Connections” via “DM9CE1”. User can configure its Ethernet support as follows: 1. Click "Start/Settings/Control Panel" 2. Double click "Network and Dial-up Connections" 3.
  • Page 64 2. Connect the USB port of the host PC and the SPC by a USB ActiveSync cable. ® 3. If users are using the Microsoft eMbedded Visual Tools to develop Windows CE.NET application runtimes, make sure the SPC SDK provided in the SPC support CD is also properly installed in the host PC.
  • Page 65 Figure 4.15 Networking via USB port 4.5.3 Networking via PPP The SPC supports PPP protocol. To setup and utilize it, follow the steps below: 1. Click "Start/Settings/Network and Dial-up Connections” 2. Make a new connection. As the dialogue box pops out, choose the "Dial-Up Connection".
  • Page 66 Figure 4.16 Networking via PPP 4.5.4 Web browser The SPC builds-in Windows CE OS includes IE Browser. It can be used to browse web pages on World Wide Web via LAN or PPP.
  • Page 67 4.6 Intel Persistent Storage Manger (IPSM) 4.6.1 Introduction to Intel Persistent Storage Manger Intel Persistent Storage Manager was designed and developed specifically as an enhancement to Microsoft Windows CE operating systems. IPSM eliminates extra disk-like storage such as storage cards, redundant RAM and ROM. 4.6.2 IPSM folder in SPC Series SPC uses Intel Persistent Storage Manger to utilize the free space of flash ROM for persistent storage.
  • Page 68 4.7 Application Program Development ® The SPC is bundled with built-in Windows CE.NET operating system. In real application user need to execute various application programs on it. However, unlike ® its other CPU family, the Windows CE.NET is a hardware-dependent operating ®...
  • Page 69 ® Figure 4.17 Flow-chart of Building Windows CE.NET runtime 4.7.3 How to install SDK Copy SPC SDK file “SOM_A_SDK.msi” to your PC, and launch it. You can install SDK by steps. Step 1, Launch SPC SDK file, and then tap Next button. Figure 4.18...
  • Page 70 Step 2, Accept License Agreement and go next. Figure 4.19 Step 3, Key in your information and go next.
  • Page 71 Figure 4.20 Step 4, Choose setup type. There are 3 options “Embedded Visual C++”, “Microsoft .NET Compact Framework”, and “Documentation” in Custom Setup. Figure 4.21...
  • Page 72 Figure 4.22 Step 5, Tap “Install” button to install SDK. Figure 4.23...
  • Page 73 Install SDK……. Figure 4.24 Step6, Finish installing.
  • Page 74 Figure 4.25 4.7.4 Running your application programs ActiveSync would automatically transfer the built application program to platform. Choose SDK type as SOM_A once compile your application program. Figure 4.26 4.7.5 WDT Modules SPC is targeted to be the embedded device for web-enabled and data-acquisition systems.
  • Page 75 This function sends a control code directly to a specified device driver, causing the corresponding device to perform the specified operation. BOOL DeviceIoControl( HANDLE hDevice, DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped) - Parameters hDevice [in] Handle to the device that is to perform the operation.
  • Page 76 This parameter can be NULL if the dwIoControlCode parameter specifies an operation that does not produce output data. nOutBufferSize [in] Size, in bytes, of the buffer pointed to by lpOutBuffer. lpBytesReturned [out] Long pointer to a variable that receives the size, in bytes, of the data stored into the buffer pointed to by lpOutBuffer.
  • Page 77 nInBufferSize: unused. lpOutBuffer: unused. nOutBufferSize: unused. 3. IOCTL_GET_WDTPERIOD (0x1003): lpInBuffer :unused. nInBufferSize: unused. lpOutBuffer: the DWORD pointer to your Watchdog time setting. The unit is mini-second. Its value should be greater 1000. The default setting is 5000 mini-seconds. nOutBufferSize: unused. 4.
  • Page 78 lpOutBuffer: the DWORD pointer to your screen off time if user-interface idled. The unit is mini-second. If the value is 0, screen-off function is disabled. nOutBufferSize: unused. 7. IOCTL_SET_SCREENOFFTIME (0x1007): lpInBuffer : the DWORD pointer to your screen off time if user-interface idled. The unit is mini-second. If the value is 0, screen-off function is disabled.
  • Page 79 HANDLE m_hWDT=NULL; TCHAR szClassName[60]; // assign the WDT driver name wsprintf(szClassName, TEXT("WDT1:")); // Open the WDT driver m_hWDT = CreateFile(szClassName, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if ( m_hWDT == INVALID_HANDLE_VALUE ) DebugMsg(CString("WDT driver fail")); return; DWORD dwTemp; DWORD nPeriod=10000;...
  • Page 80 ® 4.8 Windows CE.NET 4.2 Require Components (Advantech Recommend) Applications and Services Development (¡ ½ : with; ¡ ¼ : without) Feature Default Selection Active Template Library (ATL) ¡ ½ C Libraries & Runtimes ¡ ½ ¡ ½ Component Services (COM) ¡...
  • Page 81 ¡ ½ Kernel Features Communication Services and Networking Feature Default Selection ¡ ½ Networking Features ¡ ½ Networking - Local Area Network (LAN) ¡ ½ Networking - Personal Area Network (PAN) ¡ ½ Networking - Wide Area Network (WAN) ¡ ½ Servers (HTTPD) File Systems and Data Store Feature...
  • Page 82 Locale Specific Support (Input Method Selector Sample ¡ ½ Application) ¡ ½ Multilingual User Interface (MUI) Internet Client Services Feature Default Selection Browser Application (Internet Explorer 5.5 for Windows CE - ¡ ½ Standard Components) Internet Explorer 5.5 for Windows CE Components ¡...
  • Page 83 Shell and User Interface Default Selection Feature ¡ ½ Shell ¡ ½ User Interface ¡ ½ - Accessibility ¡ ½ - Customizable UI ¡ ½ - Mouse ¡ ½ - Touch Display (Stylus) ¡ ½ - Network User Interface ¡ ½ - Overlapping Menus ¡...
  • Page 84: Appendix A Boot & Registry Searching Sequence

    Appendix A Boot & Registry Searching Sequence The following diagram demonstrates the boot sequence and registry searching sequence when SPC boot-up. Power On Registry on CF SAFEMODE Image on Image on CompactFlash CompactFlash Image on Image on Flash Memory CompactFlash Image on Image on Flash Memory...