Advantech PCM-3362 user manual Software Introduction & Installation

Page 51

When the application is executed, it will display GPIO information in the GPIO INFORMATION group box. It displays the number of input pins and output pins. You can click the radio button to choose to test either the single pin function or multiple pin functions. The GPIO pin assignments of the supported platforms are located in Appendix B.

„Test Read Single Input Pin

Click the radio button- Single-Pin.

Key in the pin number to read the value of the input pin. The Pin number starts from '0'.

Click the READ GPIO DATA button and the status of the GPIO pin will be dis- played in (R/W) Result field.

„Test Read Multiple Input Pin

Click the radio button- Multiple-Pins.

Key in the pin number from ‘0x01’ to ‘0x0F’ to read the value of the input pin. The pin numbers are ordered bitwise, i.e. bit 0 stands for GPIO 0, bit 1 stands for GPIO 1, etc. For example, if you want to read pin 0, 1, and 3, the pin num- bers should be ‘0x0B’.

Click READ GPIO DATA button and the statuses of the GPIO pins will be dis- played in (R/W) Result field.

„Test Write Single Output Pin

Click the radio button- Single-Pin.

Key in the pin numbers you want to write. Pin numbers start from '0'.

Key in the value either '0' or '1' in (R/W) Result field to write the output pin you chose above step.

Click the WRITE GPIO DATA button to write the GPIO output pin.

„Test Write Multiple Output Pins

Click the radio button- Multiple-Pins.

Key in the pin number from ‘0x01’ to ‘0x0F’ to choose the multiple pin num- bers to write the value of the output pin. The pin numbers are ordered bit- wise, i.e. bit 0 stands for GPIO 0, bit 1 stands for GPIO 1, etc. For example, if you want to write pin 0, 1, and 3, the pin numbers should be ‘0x0B’.

Key in the value in (R/W) Result field from ‘0x01’ to ‘0x0F’ to write the value of the output pin. The pin numbers are ordered bitwise, i.e. bit 0 stands for GPIO 0, bit 1 stands for GPIO 1, etc. For example, if you want to set pin 0

43

PCM-3362 User Manual

Chapter 4 Software Introduction & Installation

Image 51
Contents PCM-3362 Copyright Acknowledgements Packing List Additional Information and AssistanceDeclaration of Conformity FCC Class a Contents AMI Bios Setup Appendix a Appendix BAppendix C Appendix D Watchdog Timer and Gpio sample General Information ChapterStandard PC/104-plus Biscuit SBC Functions FeaturesSpecifications IntroductionMechanical and Environmental 2 VGA/LVDS InterfaceEthernet Interface OS supportBoard layout Dimensions Component Side Board layout dimensionsBoard layout Dimensions Solder Side Page Hardware Installation Jumpers ConnectorsConnectors solder side Connectors component sideBlock diagram Setting JumpersLvds Panel Power Select JP2 Clear Cmos JP1Open Closed PCI I/O Voltage Select JP4 Installing SODIMMsFlash 3 COM3 RS422/RS485 Select JP3VGA/LCD interface connections USB connectors CN9 & CN10Front Panel Connector CN12 High Definition Audio Interface CN1Giga LAN Connector CN18 Buzzer Connector CN13Sata Connector CN15 COM port connector CN16 & CN1719 I2C Bus connector CN25 Gpio Connector CN21ATX Power in connector CN23 Power Connectors CN24Page AMI Bios Setup Main Setup Entering SetupSystem time / System date Advanced Bios Features SetupIntel SpeedStepTM tech CPU ConfigurationExecute-Disable Bit Capability Hyper Threading TechnologyIDE Configuration Auto Direction Control Sel Super I/O ConfigurationHardware Health Configuration Serial Port1 / Port2 / Port3 IRQAcpi Settings Temperature & Voltage showReport Video on S3 Resume Headless mode Acpi Apic supportAMI Oemb table USB Device Wakeup From S3/S4 Ahci ConfigurationEnergy Lake Feature High Performance Event TimerAPM Configuration Clear Event Log Event Log ConfigurationMPS Configuration Mark all events as readSmbios Configuration USB ConfigurationUSB 2.0 Controller Mode Emulation Type Advanced PCI/PnP SettingsBios Ehci Hand-Off Hotplug USB FDD SupportPalette Snooping PCI Latency TimerPlug & Play O/S Allocate IRQ to PCI VGAAddOn ROM Display Mode Boot SettingsBoot settings Configuration Quiet BootSecurity Setup Memory Hole Advanced Chipset SettingsNorth Bridge Chipset Configuration Configure Dram Timing by SPDFlat Panel Type South Bridge Chipset ConfigurationBoot Display Device DVMT/FIXED MemorySave Changes and Exit Exit OptionLoad Optimal Defaults Load Fail-Safe DefaultsDiscard Changes and Exit Software Introduction & Installation Driver Installation Value-Added Software ServicesS/W Introduction Gpio API Software APIsSusi.dll Susi InstallationSusi Utilities Susi.libManual Installation Express InstallationSusiDemo.exe Windows Graphics ModeSusi Sample Programs Sample ProgramsSoftware Introduction & Installation SMBus I2CSoftware Introduction & Installation Watchdog Display ControlHardware Monitor Page Chipset Software Installation Utility Before You Begin Windows XP/Vista/Win7 Driver SetupIntegrated Graphic Device Setup Windows XP/ Vista /Win7 Driver Setup LAN Configuration Installation Pin Assignments Appendix aJP1 Clear Cmos Jumper and Connector TablesAppendix a Pin Assignments CN7 CN9 6 8CN12 Front panel Connector Part Number CN16 COM1~COM2 Connector Part Number 6 8 CN21 Gpio Connector Part Number CN25 I2C BUS connector Part Number System Assignments Appendix BSystem I/O Ports 1st MB Memory MapDMA channel assignments Table B.4 Interrupt assignments Interrupt assignmentsPage Mechanical Drawings Appendix CFigure C.1 PCM-3362 Mechanical Drawing Component Side Board Mechanical DrawingsAppendix C Mechanical Drawings Figure C.3 PCM-3362N Heatsink Mechanical Drawing Heatsink Mechanical DrawingsFigure C.5 PCM-3362 optional Heatspreader Mechanical Drawing Optional Heat spreader Mechanical DrawingsPage Appendix D Watchdog Timer and Gpio sample codeBit 10=Reserved Bit 62Reserve=00000 Watchdog Timer sample codeGpio sample code Appendix D Watchdog Timer and Gpio sample codePage Appendix D Watchdog Timer and Gpio sample code