background image

Nuvo-2500 Series User’s Manual 

   

Copyright © 2015 Neousys Technology Inc. All Right Reserved.       

 

Page 148 of 154 

5.8.1.6  QEI_GetPosition 

Gets the current encoder position. 

Syntax 

BOOL QEI_GetPosition(DWORD idx, DWORD *lpPosition); 

Description 

This function gets the current position of the encoder. 

Parameter 

idx 

[in] 

Specifies the index of QEI controllers. Currently there is only one QEI 

controller. 

lpPosition 

[out] 

Points to the DWORD value specifies current position of the encoder. 

Return Value 

Returns TRUE if operation successes, FALSE if operation failed. 

Usage 

DWORD  pos  = 0; 

BOOL ret = QEI_GetPosition(0, &pos); 

Summary of Contents for Nuvo 2500 Series

Page 1: ...s User s Manual Copyright 2015 Neousys Technology Inc All Right Reserved Page 1 of 154 Neousys Technology Inc Nuvo 2500 Series Compact Intel Bay Trail Fanless Computer User s Manual Rev A1 0 Published...

Page 2: ...Nuvo 2500 Series User s Manual Copyright 2015 Neousys Technology Inc All Right Reserved Page 2 of 154 Date Description Version 2015 7 15 First released A1 0 2015 7 20 Modify fonts of contents A1 0...

Page 3: ...of Nuvis 2520at P 20 1 2 5 Specification of Nuvis 2520at E 22 1 2 6 Specification of CAN Bus 24 1 2 7 Specification of DI O 25 1 2 8 Specification of PWM Output 26 1 2 9 Specification of Quadrature En...

Page 4: ...TE 53 2 5 1 Support Size of Add on Cards 53 2 5 2 Cassette of Nuvo 2500E and Nuvis 2520at E 54 2 5 3 Cassette of Nuvo 2500P and Nuvis 2520at P 55 2 6 MECHANICAL DIMENSION 56 2 6 1 Nuvo 2500 56 2 6 2 N...

Page 5: ...On after Power Failure Option 92 4 1 6 Watchdog Timer for Booting 93 4 1 7 Select a Boot Device 94 4 2 OPERATING SYSTEM SUPPORT 95 4 3 DRIVER INSTALLATION 96 4 3 1 Install All Drivers Using One Click...

Page 6: ...ition Control Function Reference 122 5 5 1 1 IGN_GetState 122 5 5 1 2 IGN_GetBatteryVoltage 124 5 5 1 3 IGN_GetSetting 125 5 6 USING PWM FUNCTION 127 5 6 1 PWM Function Reference 127 5 6 1 1 PWM_Regis...

Page 7: ...etVelocity 147 5 8 1 6 QEI_GetPosition 148 5 8 1 7 QEI_SetPosition 149 5 9 USING POE PORT FUNCTION 150 5 9 1 PoE Port Function Reference 150 5 9 1 1 GetStatusPoEPort 150 5 9 1 2 EnablePoEPort 151 5 9...

Page 8: ...43 FIGURE 18 AUXILIARY I O ON NUVIS 2520AT 45 FIGURE 19 MINI PCI EXPRESS CONNECTOR AND INTERNAL SIM SOCKET 47 FIGURE 20 MINI PCI EXPRESS CONNECTOR WITH ONLY USB SIGNAL 48 FIGURE 21 MINI PCI EXPRESS CO...

Page 9: ...YSTEM WITH AN ANTENNA 70 FIGURE 57 CORRECT ORIENTATION OF MOUNTING YOUR SYSTEM VERTICALLY 71 FIGURE 58 FOOTPAD OF NUVO 2500 AND NUVIS 2520AT 72 FIGURE 59 ASSEMBLE THE WALL MOUNT BRACKET NUVO 2500 AND...

Page 10: ...DEVICES IN BIOS 94 FIGURE 78 NEOUSYS DRIVER UTILITIES DVD 96 FIGURE 79 WELCOME WINDOW OF WDT AND DIO LIBRARY INSTALL PROGRAM 99 FIGURE 80 SET INSTALLATION FOLDER OF WDT AND DIO LIBRARY 99 FIGURE 81 C...

Page 11: ...E 12 NUVIS 2520AT PACKING LIST 30 TABLE 13 DEFINITION OF NUVO 2500 AND NUVIS 2520AT LED INDICATORS 32 TABLE 14 DEFINITION OF NUVO 2510VTC LED INDICATORS 32 TABLE 15 GIGABIT ETHERNET ACTIVE LINK LED 34...

Page 12: ...rates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equip...

Page 13: ...ght weight general embedded application which requires one PCI or PCIe slot for a 3rd party add on card Nuvo 2510VTC provides no PCI and PCIe slot and is quite compact This makes Nuvo 2510VTC suitable...

Page 14: ...DVI D output via DVI I connector supporting resolution up to 2560 x 1600 Serial Port 2x RS 232 COM3 COM4 Audio 1x Speaker out and 1x Mic in Aux I O Port Optional 4x DI 8x DO 6x PWM 1x Quadrature Encod...

Page 15: ...erature Storage Temperature 40 C 85 C Humidity 10 90 non condensing Vibration Operating 5 Grms 5 500 Hz 3 Axes w SSD w o add on card according to IEC60068 2 64 Shock Operating 50 Grms Half sine 11 ms...

Page 16: ...resolution up to 2560 x 1600 Serial Port 2x RS 232 COM3 COM4 Audio 1x Speaker out and 1x Mic in Aux I O Port Optional 4x DI 8x DO 6x PWM 1x Quadrature Encoder Input and 2x AI via 1x DB37 connector Sto...

Page 17: ...17 of 154 Temperature Humidity 10 90 non condensing Vibration Operating 5 Grms 5 500 Hz 3 Axes w SSD w o add on card according to IEC60068 2 64 Shock Operating 50 Grms Half sine 11 ms Duration w SSD...

Page 18: ...k panel I O Interface Video Port 1x DVI D output via DVI I connector supporting resolution up to 2560 x 1600 Serial Port 2x RS 232 COM3 COM4 Audio 1x Speaker out and 1x Mic in CAN Bus 1x CAN Bus port...

Page 19: ...l Right Reserved Page 19 of 154 Vibration Operating 5 Grms 5 500 Hz 3 Axes w SSD w o add on card according to IEC60068 2 64 Shock Operating 50 Grms Half sine 11 ms Duration w SSD w o add on card accor...

Page 20: ...utput via DVI I connector supporting resolution up to 2560 x 1600 Serial Port 2x RS 232 COM3 COM4 Audio 1x Speaker out and 1x Mic in Aux I O Port 4x DI 8x DO 6x PWM 1x Quadrature Encoder Input 2x AI a...

Page 21: ...4 Storage Temperature 40 C 85 C Humidity 10 90 non condensing Vibration Operating 5 Grms 5 500 Hz 3 Axes w SSD w o add on card according to IEC60068 2 64 Shock Operating 50 Grms Half sine 11 ms Durati...

Page 22: ...onnector supporting resolution up to 2560 x 1600 Serial Port 2x RS 232 COM3 COM4 Audio 1x Speaker out and 1x Mic in Aux I O Port 4x DI 8x DO 6x PWM 1x Quadrature Encoder Input 2x AI and 1x LED CC CV o...

Page 23: ...4 Storage Temperature 40 C 85 C Humidity 10 90 non condensing Vibration Operating 5 Grms 5 500 Hz 3 Axes w SSD w o add on card according to IEC60068 2 64 Shock Operating 50 Grms Half sine 11 ms Durati...

Page 24: ...s only available on Nuvo 2510VTC The other standard products of Nuvo 2500 Series don t support this functionality The following table lists the specification of CAN Bus Table 6 Specification of CAN Bu...

Page 25: ...the specification of DI O Table 7 Specification of digital inputs and outputs Item Specification DI Port Number 4 Wiring Type Sink type Interface Unipolar photo coupler Isolation 3750 Vrms Rated Input...

Page 26: ...s also available as an option on Nuvo 2500 Nuvo 2510VTC doesn t support this functionality The following table lists the specification of PWM Table 8 Specification of PWM Output Item Specification PW...

Page 27: ...an option on Nuvo 2500 Nuvo 2510VTC doesn t support this functionality The following table lists the specification of PWM Table 9 Specification of Quadrature Encoder Input Item Specification Quadratu...

Page 28: ...ption on Nuvo 2500 Nuvo 2510VTC doesn t support this functionality The following table lists the specification of ADC Item Specification ADC Port Number 2 Input Range 0 33VDC ADC Resolution 12 bit Eff...

Page 29: ...2500E The following table shows the packing list of Nuvo 2500P and Nuvo 2500E According to the configuration accessories might have been assembled onto the systems upon you receive the system Table 10...

Page 30: ...e terminal block M4 P Head screws for wall mounting bracket M3 F Head screws if HDD not installed Shock absorbing grommet M4 I Type screws 1 1 1 4 4 4 8 Nuvis 2520at P and Nuvis 2520at E The following...

Page 31: ...simply press the power button In case of system halts you can press and hold the power button for 5 seconds to compulsorily shut down the system Please note that a 5 seconds interval is kept by the sy...

Page 32: ...Hard drive indicator flashing when SATA HDD is active WDT Amber Watchdog timer indicator flashing when watchdog timer is started UID Green Reserved Figure 4 Nuvo 2510VTC LED Indicators Nuvo 2510VTC ha...

Page 33: ...ompatible to USB 3 0 USB 2 0 USB 1 1 and USB 1 0 devices Legacy USB support on the port is provided only when xHCI Mode option in BIOS is configured as Smart Auto 2 2 5 USB2 0 Connectors Figure 6 USB...

Page 34: ...ector The following tables provide the definition of the LEDs Table 15 Gigabit Ethernet Active Link LED LED Color Status Description Yellow Off Ethernet port is disconnected On Ethernet port is connec...

Page 35: ...can deliver 25 5 W of power to a PoE PD Powered Device such as a PoE IP camera or a PoE WIFI AP PoE defines a mechanism to automatically detect the device connected and determine whether to dispatch p...

Page 36: ...rts RS 232 422 485 and the operation mode of each port can be set in BIOS setup utility COM ports are implemented using industrial grade ITE8783 Super IO chip 40 to 85 C and provide up to 115200 bps b...

Page 37: ...s one VGA display outputs port VGA connector is the most popular way for connecting a display By BIOS default and hardware implementation the VGA output is always enabled in any case To achieve best V...

Page 38: ...to 35V And the screw clamping connection of terminal block gives a very reliable way for wiring the DC power The following table describes the pin definition of the DC Input Connector Table 18 Nuvo 2...

Page 39: ...VI HDMI transmits graphics data in digital format and therefore can deliver better image quality at high resolution The port can either output DVI signals or HDMI signal depending on the display devic...

Page 40: ...COM ports for communicating with external devices Each port supports RS 232 only COM ports are implemented using industrial grade ITE8783 Super IO chip 40 to 85 C and provide up to 115200 bps baud ra...

Page 41: ...eries provides audio functions using Intel High Definition Audio and Realtek ALC262 codec There are two audio jacks The pink one is used for microphone input and the green one is for speaker output To...

Page 42: ...bus port for both industrial and in vehicle applications The CAN Bus port supports CAN2 0A and CAN2 0B up to 1Mbps The port is a DB9 connector and the pin definition shows in the follow table Table 2...

Page 43: ...d Nuvo 2500 Table 22 Pin Definition of Auxiliary I O on Nuvo 2500 Pin No Definition I O Description 1 VDD DO voltage source input for inductive load 2 DO_0 O Digital output channel 0 3 DO_1 O Digital...

Page 44: ...6 O Digital output channel 6 24 DO_7 O Digital output channel 7 25 DO_GND Digital output GND 26 DI_2 I Digital input channel 2 27 DI_3 I Digital input channel 3 28 DI_GND Digital input GND 29 PWM_0 O...

Page 45: ...ned behavior This is titled as DTIO stand for deterministic trigger I O Following is the pin definition of the Auxiliary I O port Table 23 Pin Definition of Auxiliary I O on Nuvis 2520at Pin No Defini...

Page 46: ...4 22 DO_5 O Digital output channel 5 23 DO_6 O Digital output channel 6 24 DO_7 O Digital output channel 7 25 DO_GND Digital output GND 26 DI_2 I Digital input channel 2 27 DI_3 I Digital input channe...

Page 47: ...provides an on board Mini PCI Express socket with SIM card support Supporting both PCI Express and USB signal the socket is compatible with plenty of off the shelf mini PCIe modules with versatile cap...

Page 48: ...USB signal The socket is compatible with mini PCIe modules with only USB signal such as WWAN and GPS cards It s also compatible with a mPCIe to USB module which make it possible to use an internal USB...

Page 49: ...B Signal Nuvo 2500 Series provides one half size mSATA connector The connector comes with mSATA signal and USB signal You can connect an mSATA module to this port and make your Nuvo 2500 Series a dual...

Page 50: ...ODIMM socket for memory installation It supports a maximal 8GB capacity by installing one low voltage 1 35V DDR3L 1333 SODIMM modules For information of installing DDR3L memory modules please refer to...

Page 51: ...4 2 4 5 SATA Connector Figure 24 SATA Cable for 2 5 HDD or SSD Nuvo 2500 Series provides one SATA port to accommodate a 2 5 SATA hard drive via a SATA cable You can connect a 2 5 HDD or SSD to this po...

Page 52: ...tion Mode Switch Figure 25 Ignition Switch Nuvo 2510VTC offers ignition power control module for in vehicle applications There is an on board rotary switch to configure the operation mode of ignition...

Page 53: ...Express cards respectively The maximum supported card size is 167 65mm x 108 40mm with optional fan installed and 179 65mm x 108 40mm without optional fan installed The following figure shows the defi...

Page 54: ...CI Express add on card with higher power consumption You can also get the 12VDC from the on board power connectors if necessary This connector shares the 12VDC with the add on card Table 24 Connectors...

Page 55: ...rated current You can get the 12VDC from the on board power connectors if necessary This connector shares the 12VDC with the add on card Table 25 Connectors on PCI Backplane Item Connector Function D...

Page 56: ...s Manual Copyright 2015 Neousys Technology Inc All Right Reserved Page 56 of 154 2 6 Mechanical Dimension 2 6 1 Nuvo 2500 Front View Figure 29 Front View of Nuvo 2500 Side View Right Figure 30 Side Vi...

Page 57: ...Nuvo 2500 Series User s Manual Copyright 2015 Neousys Technology Inc All Right Reserved Page 57 of 154 Bottom View Figure 31 Bottom View of Nuvo 2500 Top View Figure 32 Top View of Nuvo 2500...

Page 58: ...es User s Manual Copyright 2015 Neousys Technology Inc All Right Reserved Page 58 of 154 2 6 2 Nuvo 2510VTC Front View Figure 33 Front View of Nuvo 2510VTC Side View Right Figure 34 Side View Right of...

Page 59: ...Nuvo 2500 Series User s Manual Copyright 2015 Neousys Technology Inc All Right Reserved Page 59 of 154 Bottom View Figure 35 Bottom View of Nuvo 2510VTC Top View Figure 36 Top View of Nuvo 2510VTC...

Page 60: ...es User s Manual Copyright 2015 Neousys Technology Inc All Right Reserved Page 60 of 154 2 6 3 Nuvis 2520at Front View Figure 37 Front View of Nuvis 2520at Side View Right Figure 38 Side View Right of...

Page 61: ...Nuvo 2500 Series User s Manual Copyright 2015 Neousys Technology Inc All Right Reserved Page 61 of 154 Bottom View Figure 39 Bottom View of Nuvis 2520at Top View Figure 40 Top View of Nuvis 2520at...

Page 62: ...e follow the correct procedures to prevent any damage on your Nuvo 2500 Series 3 1 Disassemble the Cassette Nuvo 2500 and Nuvis 2520at feature the Expansion Cassette This patented design makes it poss...

Page 63: ...r disassembling the cassette if any the back cover is on the bottom of Nuvo 2500 By removing the back cover you can see the internal I O of Nuvo 2500 The figures show the location of back cover screws...

Page 64: ...functionality The Expansion Cassette is designed for a PCI Express or PCI add on card To install an add on card into Cassette please refer to the information listed below 1 Refer to the section Disas...

Page 65: ...nto the PCI PCIe connector Note that the bottom of PCI Bracket of the add on card must be inserted into the mortise Tighten the add on card using a M3 screw Figure 46 Install an Add on Card 5 Recover...

Page 66: ...might damage the system or result in system failure Please make sure you re installing a 1 35V DDR3L SODIMM module 1 Refer to the section Disassemble the Cassette to remove the cassette if any 2 Refer...

Page 67: ...er to the section Remove the Back Cover to remove the back cover The back cover is also the HDD bracket 3 You can find M3 flat head screws 4 pieces and a HDD thermal pad in the accessory box Remove th...

Page 68: ...l out the SATA cable inside the chassis and connect it to HDD Figure 51 Connect HDD to the SATA Cable 6 Tilt the HDD assembly and insert the wedge of HDD bracket to your system Once it s firmly wedged...

Page 69: ...ini PCIe WIFI module cable and antenna are not part of Nuvo 2500 Series and may be different according to your system configuration 1 Refer to the section Disassemble the Cassette to remove the casset...

Page 70: ...antenna attach the IPEX to SMA cable to the module and fix the SMA connector on the IPEX to SMA cable to panel Figure 55 Wire the IPEX to SMA cable for Antenna 5 Assemble the back cover and fasten the...

Page 71: ...also offers the option of DIN rail mounting bracket so that you can mount your system on a DIN rail Please refer to the information listed below to mount your Nuvo 2500 Series NOTE For the best effic...

Page 72: ...of Nuvo 2500 and Nuvis 2520at 2 Get the wall mount bracket from your accessory box and tighten the four M4 pan screws to attach the wall mount bracket on your system Figure 59 Assemble the Wall mount...

Page 73: ...ur Nuvo 2510VTC on the wall 1 Take away the foot pad on the bottom of your system Figure 60 Footpad of Nuvo 2510VTC 2 Get the shock absorbing wall mount bracket from your accessory box and tighten the...

Page 74: ...Right Reserved Page 74 of 154 3 You can fix the system on a flat surface through the four mount holes with M4 screws Figure 62 Fix Nuvo 2510VTC on a flat surface 4 Or alternatively you can suspend th...

Page 75: ...n the DIN Rail 1 Take away the foot pad on the bottom of your system Refer to Figure 58 2 Get the DIN rail bracket from your accessory box and tighten the four M4 pan screws to attach the DIN rail bra...

Page 76: ...the DIN Rail 1 Take away the foot pad on the bottom of your system Refer to Figure 60 2 Get the DIN rail bracket from your accessory box and tighten the four M4 pan screws to attach the DIN rail brack...

Page 77: ...or disconnected before you wire it to the pluggable terminal block 2 Get the 3 pin pluggable terminal block from the accessory box The terminal block fits the wires with a gauge of 12 24 AWG 3 Carefu...

Page 78: ...as shutdown or hibernation 3 9 2 Power on Using Wake on LAN Function Wake on LAN WOL is a mechanism to wake up a computer system from a S3 standby S4 Hibernate or S5 system off with standby power stat...

Page 79: ...gure 67 Configure Wake on LAN in Windows 7 4 Click the Power Management tag and check the following two options respectively Figure 68 Enable Wake on Magic Packet in Configure Window Wake on Magic Pac...

Page 80: ...right 2015 Neousys Technology Inc All Right Reserved Page 80 of 154 Wake on Magic Packet from power off state Checking this option enables your system to wake up from S5 system off with standby power...

Page 81: ...ontrol module is to control the timing correlation between ignition signal and system power status A typical timing correlation can be described in following diagram Figure 69 Timing Diagram of Igniti...

Page 82: ...er control module will cancel the power on delay process and go back to idle status Likewise if ignition signal goes active during the power off delay duration the ignition power control module will c...

Page 83: ...ke to completely disable the ignition power control please set the ignition switch to 8 In this case you can power on off your Nuvo 2510VTC only by pressing the power button regardless of the power ig...

Page 84: ...s 2 hours 10 minutes Mode 7 When the rotary switch is set to 7 users can configurable parameters in BIOS setup menu To configure ignition parameters in BIOS please follow the steps below 1 Make sure y...

Page 85: ...POST Check Value Description Enabled This option secures a BIOS POST operation If the system is failed to complete the POST or failed to find a boot device e g disk failure or no bootable device withi...

Page 86: ...here your system is deployed Typically it s 12 VDC for sedan and 24 VDC for bus truck Low Battery Threshold When system is running ignition control module continuously monitors the battery voltage Onc...

Page 87: ...In this section we ll illustrate some of BIOS settings you may need to modify Please always make sure you understand the effect of change before you proceed with any modification To Enter BIOS setup W...

Page 88: ...1 and COM2 For long distance RS 422 485 transmission you may set the Slew Rate option as High to improve signal quality For RS 422 485 communication the RS 422 485 Termination option determines whethe...

Page 89: ...evices AHCI mode which exposes SATA s advanced capabilities such as hot swapping and native command queuing can deliver better performance for disk read write As Nuvo 2500 Series no longer supports Wi...

Page 90: ...longer latency for CPU to wake up and be 100 operational Depending on your application you can configure these options to have higher performance disable C States or lower power consumption enable C S...

Page 91: ...et connection To utilize Wake on LAN function you have to enable this option first in BIOS settings Please refer to the section Power on Using Wake on LAN Function for instructions of using WoL functi...

Page 92: ...n Nuvo 2500 boots up press F2 to enter BIOS setup utility 2 Go to Power 3 Set the Power On after Power Failure option to a proper value for your Nuvo 2500 Figure 75 Configuring Power on after Power Fa...

Page 93: ...after POST is selected the BIOS automatically stop the watchdog timer after POST Power On Self Test OK When Manually after Entering OS is selected user applications have to stop the watchdog timer aft...

Page 94: ...p to go to Boot Manager and then select one of the devices or select the boot device in BIOS settings To select a boot device in BIOS 1 When Nuvo 2500 boots up press F2 to enter BIOS setup utility 2 G...

Page 95: ...logy Inc Microsoft Window 7 32 bit Microsoft Window 7 64 bit Microsoft Window 8 8 1 32 bit Microsoft Window 8 8 1 64 bit Ubuntu 14 04 or later version NOTE For Linux system user may need to manually c...

Page 96: ...k 4 3 1 Install All Drivers Using One Click Driver Installation 1 Insert the Drivers Utilities DVD into a USB DVD drive attached to your Nuvo 2500 A setup utility launches and the following dialog app...

Page 97: ...32Bit msi Windows 7 64 bit The recommended driver installation sequence is 1 Chipset driver x Driver_Pool Chipset_Vlv Win7_8_ALL SetupChipset exe 2 Graphics driver x Driver_Pool Graphics_Vlv_EMGD Win7...

Page 98: ...river x Driver_Pool Chipset_Vlv Win7_8_ALL SetupChipset exe 2 Graphics driver x Driver_Pool Graphics_3rd_i7_Vlv Win7_8_64 Setup exe 3 Audio driver x Driver_Pool Audio_ALC262 Win7_8_ALL Setup exe 4 LAN...

Page 99: ...program WDT and DIO on Nuvo 2500 you should execute the setup program and install the WDT and DIO library The following procedure shows steps to complete the installation of WDT and DIO Library 1 Exe...

Page 100: ...nished a dialog appears to prompt you to reboot the system The WDT DIO library will take effect after system rebooting Figure 81 Complete WDT and DIO Library Installation 4 When you programming your W...

Page 101: ...4 5 2 Using WDT Function 5 2 1 WDT Function Reference 5 2 1 1 InitWDT Description Initialize the WDT function You should always invoke InitWDT before set or start watchdog timer Parameter None Return...

Page 102: ...ed a default timeout value of 255 seconds is assigned Parameter tick WORD value 1 65535 to indicate timeout ticks unit BYTE value 0 or 1 to indicate unit of timeout ticks 0 unit is minute 1 unit is se...

Page 103: ...countdown of WDT When WDT is started the WDT LED indicator starts to blink in a frequency of 1Hz If no ResetWDT or StopWDT is invoked before WDT is counted to 0 the WDT expires and system resets Param...

Page 104: ...Reserved Page 104 of 154 5 2 1 4 ResetWDT Description Reset the timeout value to the value given by SetWDT If no ResetWDT or StopWDT is invoked before WDT is counted to 0 the WDT expires and system r...

Page 105: ...15 Neousys Technology Inc All Right Reserved Page 105 of 154 5 2 1 5 StopWDT Description Stop the countdown of WDT When WDT is stopped the WDT LED indicator stops blinking Parameter None Return Value...

Page 106: ...r logic low is 0 1 5V Figure 82 Wiring of isolated digital inputs The digital output function of Nuvo series is implemented using Power MOSFET Analog Device iCoupler component The DO channels are conf...

Page 107: ...3 2 DIO Function Reference 5 3 2 1 InitDIO Syntax BOOL InitDIO void Description Initialize the DIO function You should always invoke InitDIO before write read any DIO port channel Parameter None Retu...

Page 108: ...Line Syntax BOOL DIReadLine BYTE ch Description Read a single channel of isolated digital input Parameter ch BYTE value specifies the DI channel to be read Valid values are 0 3 Return Value The status...

Page 109: ...ight Reserved Page 109 of 154 5 3 2 3 DIReadPort Syntax WORD DIReadPort void Description Read the entire isolated digital input port 8 channels Parameter None Return Value A WORD value indicates the s...

Page 110: ...BYTE ch BOOL value Description Write a single channel of isolated digital output Parameter ch BYTE value specifies the DO channel to be written Valid value are 0 7 value BOOL value TRUE or FALSE speci...

Page 111: ...5 DOWritePort Syntax void DOWritePort WORD value Description Write the entire isolated digital output port 8 channels Parameter value WORD value specifies the status of the DO port Valid values are 0...

Page 112: ...al output and read back the value of DO register Note that this function is not returned until the DO register is checked and identical to the written value Parameter ch BYTE value specifies the DO ch...

Page 113: ...the entire isolated digital output port 8 channels and check it has been done Note that this function is not returned until the write value has been checked the same with the device registry Parameter...

Page 114: ...rence 5 4 1 1 CAN_RegisterReceived Syntax BOOL CAN_RegisterReceived DWORD idx void __stdcall pfnHandler CAN_MSG lpMsg DWORD cbMsg Description Registers a callback function which is called when the CAN...

Page 115: ...Right Reserved Page 115 of 154 02x r n lpMsg id lpMsg len lpMsg data 0 lpMsg data 1 lpMsg data 2 lpMsg data 3 lpMsg data 4 lpMsg data 5 lpMsg data 6 lpMsg data 7 void main int argc char argv if CAN_Re...

Page 116: ...interrupt Parameter idx in Specifies the index of CAN bus controllers Currently there are only one CAN bus controller pfnHandler in Specifies the callback function The prototype for this function is...

Page 117: ...one CAN bus controller lpSetup in A pointer to a CAN_SETUP structure that contains the CAN Bus configuration This data structure contains the following variables Bitrate DWORD value specifies the bit...

Page 118: ...tart Syntax BOOL CAN_Start DWORD idx Description Start CAN Bus transmit and receive operation Parameter idx in Specifies the index of CAN bus controllers Currently there are only one CAN bus controlle...

Page 119: ...5 CAN_Stop Syntax BOOL CAN_Stop DWORD idx Description Stop CAN Bus controller operation Parameter idx in Specifies the index of CAN bus controllers Currently there are only one CAN bus controller Ret...

Page 120: ...at contains the CAN Bus message object This data structure contains the following variables id DWORD value specifies the identity number of the message object flags WORD value specifies the status or...

Page 121: ...Manual Copyright 2015 Neousys Technology Inc All Right Reserved Page 121 of 154 Usage void main int argc char argv CAN_MSG canMsg memset canMsg 0 sizeof canMag if CAN_Send 0 canMsg sizeof canMsg print...

Page 122: ...e users to check the status and configuration Therefore actions in users software applications are possible according to different ignition status 5 5 1 Ignition Control Function Reference 5 5 1 1 IGN...

Page 123: ...Nuvo 2500 Series User s Manual Copyright 2015 Neousys Technology Inc All Right Reserved Page 123 of 154...

Page 124: ...ble lpVoltage Description Get information about the battery voltage Parameter lpVoltage in pointer to double value which specifies the battery voltage Return Value Returns TRUE if stop procedure succe...

Page 125: ...tion mode of the ignition controller 0 atx 1 at 2 7 ignition mode batteryType BYTE value specifies the battery type 0 12v 1 24v isSmartOff BYTE value specifies the smart off function is enabled or not...

Page 126: ...nt number specifies the low voltage limit then ignition controller will turn off the machine Return Value Returns TRUE if procedure successes FALSE if procedure failed Usage int main int argc char arg...

Page 127: ...ith dead band delays inserted The control block determines the polarity of the PWM signals and which signals are passed through to the pins 5 6 1 PWM Function Reference 5 6 1 1 PWM_RegisterStatus Synt...

Page 128: ...Series User s Manual Copyright 2015 Neousys Technology Inc All Right Reserved Page 128 of 154 int main int argc char argv if PWM_RegisterStatus PWM_Status printf PWM_RegisterStatus is FAILED n return...

Page 129: ...on Parameter idx in Specifies the index of PWM controllers Currently there is only one PWM controller divClock in Specifies the PWM clock divider as the PWM clock source It must be one of PWM_CLK_DIV_...

Page 130: ...nfiguration This data structure contains the following variables genMode DWORD value specifies the generator mode of the specified PWM controller intrTriggers DWORD value specifies the interrupts and...

Page 131: ...opyright 2015 Neousys Technology Inc All Right Reserved Page 131 of 154 Usage PWM_GEN_SETUP setup memset setup 0 sizeof setup setup genMode PWM_GEN_MODE_UP_DOWN PWM_GEN_MODE_NO_SYNC BOOL ret PWM_GenSe...

Page 132: ...genBits DWORD period Description Sets the period of a PWM generator Parameter genBits in Specifies the generator block bits of PWM controllers period in Speci es the period of PWM generator output me...

Page 133: ...seWidth DWORD pinBits DWORD width Description Sets the pulse width for the speci ed PWM output Parameter pinBits in Specifies the output bits of PWM controllers width in Speci es the width of the posi...

Page 134: ...4 5 6 1 6 PWM_PulseInvert Syntax BOOL PWM_PulseInvert DWORD pinBits Description Sets the inversion mode for PWM outputs Parameter pinBits in Specifies the output bits of PWM controllers Return Value R...

Page 135: ...154 5 6 1 7 PWM_Start Syntax BOOL PWM_Start DWORD pinBits Description Starts PWM controller operation Parameter pinBits in Specifies the output bits of PWM controllers Return Value Returns TRUE if sta...

Page 136: ...of 154 5 6 1 8 PWM_Stop Syntax BOOL PWM_Stop DWORD pinBits Description Stops PWM controller operation Parameter pinBits in Specifies the output bits of PWM controllers Return Value Returns TRUE if sto...

Page 137: ...BOOL PWM_SyncTimeBase DWORD genBits Description For the selected PWM module this function synchronizes the time base of the generator blocks by causing the speci ed generator counters to be reset to...

Page 138: ...DWORD genBits Description For the selected PWM generators this function causes all queued updates to the period or pulse width to be applied the next time the corresponding counter becomes zero Parame...

Page 139: ...controller and reading the analog inputs NOTE The analog inputs are mainly for human interface devices with analog output signals such as hall sensor joystick and analog stick and not highly calibrate...

Page 140: ...ge 140 of 154 5 7 1 2 ADC_Stop Syntax BOOL ADC_Stop DWORD idx Description Stops the ADC controller operation Parameter idx in Specifies the index of ADC controllers Valid values are 0 and1 Return Valu...

Page 141: ...escription Gets the current data of the specified ADC controller Parameter idx in Specifies the index of ADC controllers Valid values are 0 and1 lpData out Points to the double value which specifies t...

Page 142: ...n t support this functionality The QEI API provides a set of functions for programming and operating the QEI controller 5 8 1 QEI Function Reference 5 8 1 1 QEI_Start Syntax BOOL QEI_Start DWORD idx D...

Page 143: ...154 5 8 1 2 QEI_Stop Syntax BOOL QEI_Stop DWORD idx Description Stops the QEI controller operation Parameter idx in Specifies the index of QEI controllers Currently there is only one QEI controller R...

Page 144: ...he QEI configuration This data structure contains the following variables config DWORD value specifies the configuration for the quadrature encoder maxPos DWORD value specifies the maximum position va...

Page 145: ...ed Page 145 of 154 int main int argc char argv QEI_SETUP setup memset setup 0 sizeof setup setup config QEI_CONFIG_CAPTURE_A_B setup maxPos 10000 setup velPeriod 0 disable setup velPreDiv QEI_VEL_DIV_...

Page 146: ...recently detected direction of the encoder it may not be presently moving but this is the direction it last moved before it stopped Parameter idx in Specifies the index of QEI controllers Currently t...

Page 147: ...dent of an index pulse this value may or may not contain the expected data that is if in reset on index mode if an index pulse has not been encountered the position counter is not yet aligned with the...

Page 148: ...idx DWORD lpPosition Description This function gets the current position of the encoder Parameter idx in Specifies the index of QEI controllers Currently there is only one QEI controller lpPosition o...

Page 149: ...SetPosition DWORD idx DWORD position Description This function sets the current position of the encoder Parameter idx in Specifies the index of QEI controllers Currently there is only one QEI controll...

Page 150: ...s functionality The PoE Port APIs enable user to implement per port on off in users software applications 5 9 1 PoE Port Function Reference 5 9 1 1 GetStatusPoEPort Syntax BYTE GetStatusPoEPort BYTE p...

Page 151: ...Page 151 of 154 5 9 1 2 EnablePoEPort Syntax BOOL EnablePoEPort BYTE port Description Enables the PoE Port on the platform Parameter port in Specifies the port number on the platform Return Value Retu...

Page 152: ...e 152 of 154 5 9 1 3 DisablePoEPort Syntax BOOL DisablePoEPort DWORD port Description Disables the PoE Port on the platform Parameter port in Specifies the port number on the platform Return Value Ret...

Page 153: ...bilities to communicate with on board chip 5 10 1 LED Function Reference 5 10 1 1 LED_SetCurrentDriving Syntax BOOL LED_SetCurrentDriving DWORD mode DWORD current Description Gets the status of the Po...

Page 154: ...to communicate with on board chip 5 11 1 LED Function Reference 5 11 1 1 MCU_GetVersion Syntax BOOL MCU_GetVersion DWORD lpDateCode Description Gets the version code of on board MCU chip Parameter lpD...

Reviews: