Acrosser Technology AR-V6002FL User Manual Download Page 52

 

  

Revision: 

1.23 

 

52

4.

 

If the driver is no longer needed, execute the script ‘uninstall’ to unload the driver. 

 

On Windows platform: 

 

1.

 

In the driver directory, execute the ‘setup.exe’ program. 

 

The CAN bus APIs 

 

Before executing the applications which invoke the CAN bus APIs, users should make sure that 

the Linux device driver or the Windows device driver of CAN bus has been installed. 

On Linux platform, after successfully installing the device driver, a character device node 

named “/dev/can0” will be created automatically. The APIs open the device node “/dev/can0” 

implicitly so acquiring a file descriptor of “/dev/can0” by users is not necessary. In order not to 

degrade the performance of the CAN bus subsystem, the device node “/dev/can0” is limited to be 

opened at most once at any moment, i.e., if application A accesses CAN bus via the APIs, the 

application B which either tries to open ‘/dev/can0’ or uses CAN bus API will result in failure. 

On Windows platform, after successfully installing the device driver, there is a device which 

shows ‘CAN Bus Driver’ in the ‘Device Manager’. The APIs on Windows platform open this 

device implicitly. User can call the APIs directly without opening the CAN Bus subsystem device.

 

 

CAN Message Format 

 

// TPE DEFINE 

typedef    char                        i8; 

typedef  unsigned char    u8; 

typedef  short           i16; 

typedef  unsigned short   u16; 

typedef  unsigned long    u32; 

typedef    int                          i32; 

 

 typedef  struct { 

i32 

flags

i32 

cob

u32 

id

struct timeval 

timestamp

i16 

length

u8 

data[8]

 } 

canmsg_t

Summary of Contents for AR-V6002FL

Page 1: ...Revision 1 23 1 AR V6002FL User Manual ...

Page 2: ...y of such damages This document contains proprietary information protected by copyright All rights are reserved No part of this Manual may be reproduced by any mechanical electronic or other means in any form without prior written permission of the manufacturer Trademarks AR B6002 is a registered trademarks of Acrosser IBM PC is a registered trademark of the International Business Machines Corpora...

Page 3: ...tion 18 2 4 CF Card Installation 20 2 5 RF Antenna Installation 22 Board Guide 23 1 Introduction 24 1 1 Specifications 24 2 H W Information 25 2 1 Locations of Connector and Jumper Setting 25 2 2 Connector and Jumper Setting Table 28 2 3 Power Subsystem 33 2 4 Remote Switch 36 2 5 Status LED 36 2 6 Fuse selection 36 2 7 COM1 2 to choose RS 232 RS 485 RS 422 by Jump setting 37 2 8 GPIO 37 3 BIos se...

Page 4: ... Exit Setup 49 4 SOFTWARE INSTALLATION and PROGRAMMING GUIDE 51 4 1 Introduction 51 4 2 File Descriptions 56 4 3 API List and Descriptions 59 4 4 Appendix 82 5 Optional Module specifications 83 5 1 GPS 83 5 2 Bluetooth 83 5 3 WiFi 84 5 4 Sierra 3 5G 84 5 5 Huawei 3 5G 84 5 6 GPIO and CAN bus cable color 84 ...

Page 5: ...Revision 1 23 5 AR V6002FL System System Installation Guide ...

Page 6: ...ompliant with most industry standards for in vehicle usage including CE FCC and E Mark 13 1 1Specifications Features Fanless Intel Atom D425 D525 GPS 3 5G WiFi Bluetooth module option With API to customize power delay timing Specifications CPU Intel Atom D425 Intel Atom D525 Chipset Intel ICH8M Memory 1 x DDR3 SO DIMM Max 4G 1G Bytes pre installed Graphic controller Integrated within Atom D425 D52...

Page 7: ...12 Mechanical Dimension L 280 x W 181 5 x H 76 8 mm Environment Specification Vibration IEC 60068 2 64 5 500Hz 3GRMS for SSD CF 1GRMS for 2 5 HDD Shock IEC 60068 2 27 50G 500m s 11ms operating Operating Temp 20 50 with Industrial Grade CF or SSD Storage Temp 40 80 Certification CE FCC class B E Mark 13 1 2Packing List Description Quantity AR V6002FL 1 User Guide CD 1 Wall Mount Bracket 2 Screw pac...

Page 8: ...Revision 1 23 8 1 3System Dissection 1 Dimensions 2 Front Panel LEDs VGA LAN USB 4 COM Ports CF Card FUSE Remote Switch Audio GPIO Power Input CAMBUS ...

Page 9: ...Revision 1 23 9 3 Back Panel WIFI 3 5G GPS Bluetooth WIFI SIM Card ...

Page 10: ...Revision 1 23 10 4 System Configuration ...

Page 11: ...Revision 1 23 11 ...

Page 12: ...B6002 1 3 BOTTOM BASE 1 4 Wall Mount Bracket 2 5 CF BRACKET 1 6 IO PANEL 1 7 FUSE 1 8 BOTTOM COVER 1 9 WIFI MODULE 1 10 3 5G MODULE 1 11 HDD BRACKET 1 12 BLUETOOTH module 1 13 GPS MODULE 1 14 3 5G ANTENNA 1 15 WIFI ANTENNA 2 16 BLUETOOTH Antenna 1 17 GPS ANTENNA 1 ...

Page 13: ...R3 Memory Installation The following instructions will guide you to install DDR3 memory step by step 1 Unfasten seven screws of chassis bottom cover 2 Install the DDR3 memory module into the DDR3 socket Align the memory module s cutout with the DDR3 slot notch ...

Page 14: ...Revision 1 23 14 Slide the memory module into the DDR3 slot 3 Assemble bottom cover with seven screws ...

Page 15: ...Revision 1 23 15 2 2HDD Installation 1 Open the bottom cover the same as above steps 2 Unfasten 4 screws to release HDD bracket 3 Tack out 4 HDD screws from packing bag ...

Page 16: ...Revision 1 23 16 4 Assemble HDD with HDD bracket by 4 HDD screws 5 Install HDD module back to system by fastening 4 screws ...

Page 17: ...Revision 1 23 17 6 Plug SATA cable and SATA Power cable into Mainboard 7 Connect SATA cable and SATA Power cable with HDD 8 Close the bottom cover the same as above steps ...

Page 18: ...Revision 1 23 18 2 3SIM Card Installation 1 Unfasten 3 screws to release SIM Card bracket 2 Push SIM Card into SIM card slot ...

Page 19: ...Revision 1 23 19 3 Fixed SIM Card bracket by 3 screws ...

Page 20: ...vision 1 23 20 2 4CF Card Installation 1 Unfasten two screws of CF bracket and then take out the CF card bracket 2 Put the CF card into CF bracket Please note that the direction of CF card and CF bracket ...

Page 21: ...ion 1 23 21 3 Push CF card to the bottom of bracket to stop the forwarding at the bend of bracket 4 Push them into the CF slot of system machine and then fasten the two original screws to fix CF bracket Scre ...

Page 22: ...Revision 1 23 22 2 5RF Antenna Installation 1 Please find out all RF devices from below photo 2 Take out antenna cables from packing bag and install them following below photo 3 G ...

Page 23: ...Revision 1 23 23 AR B6002 Board Fan less with Intel ATOM Pineview ICH8M Board Guide ...

Page 24: ...emory DDR3 data transfer rates of 800 MT s 1 x VGA 6 x USB2 0 2 x SATA 1 x CF II 5 x RS 232 1 x GbE Realtek RTL8111D 1 x Line out 1 x MIC 1 x Canbus Implementation ISO 11898 8 bit GPIO with 4in 4out Optional WiFi Bluetooth GPS 3 5G solution for selection Intelligent power management support standard 12V 24V car battery ...

Page 25: ...050 At first it shows the Function diagram and the layout of AR B6050 It then describes the unpacking information which you should read carefully as well as the jumper switch settings for the AR B6050 configuration 2 1 Locations of Connector and Jumper Setting 2 1 1 Locations Top side ...

Page 26: ...485 Termination 120 ohm CN13 SIM card slot CN20 Setting Voltage level of Battery JP7 JP10 RS 232 RS 422 RS 485 Selection for COM1 2 BH1 CMOS battery VGA1 VGA connector JP9 JP12 RS 232 RS 422 RS 485 Selection for COM1 2 Mini PCIe slot 1 SW1 DIP switch for power mode select U8 SPI BIOS Socket CN9 Internal USB COM1 COM2 RS 232 422 485 CN21 BIOS Programmable HEADER CN10 Internal USB COM3 COM4 RS 232 D...

Page 27: ...Revision 1 23 27 2 1 2 Locations Bottom Side CF1 ...

Page 28: ..._D 4 3 3V 5 LED 6 GPS_ON 7 GND 8 3 3V 3 SATA_PWR1 SATA Power connector 4 SATA_PWR2 SATA Power connector PIN DEFINE 1 12V 2 GND 3 3 3V 4 5V PIN DEFINE 1 12V 2 GND 3 3 3V 4 5V 5 CN2 Pin Header for clear CMOS 6 CN13 SIM Card Slot STATUS SETTING 1 2 Clear CMOS SIM Card Slot for 3G Module 7 BH1 CMOS battery holder 8 MINIPCIE1 Mini PCI E connector for 3 5G module CMOS battery holder MINI PCI E connector...

Page 29: ...gramming HEADER MINI PCI E connector FPGA programming header 13 LED1 Power State 14 CN18 CANBUS connector LED SIGNAL G Status LED 2 5 G HDD LED Y Power LED PIN DEFINE 1 CAN_H 2 CAN_L 15 GPIO1 GPIO connector 2 8 16 CN5 RJ45 USB X 2 connector PIN DEFINE PIN DEFINE 1 GPO0 2 GPO1 3 GPO2 4 GPO3 5 GND 6 GND 7 GND 8 GND 9 GND 10 GND 11 GPI4 12 GPI5 13 GPI6 14 GPI7 15 N C RJ45 connector for Gigabit Ethern...

Page 30: ... for power mode select 2 3 22 COM1 COM2 D SUB 9P Male connector 2 2 7 Mode 1 2 3 4 0 ON ON ON ON 1 ON ON ON OFF 2 ON ON OFF ON 3 ON ON OFF OFF 4 ON OFF ON ON 5 ON OFF ON OFF 6 ON OFF OFF ON 7 ON OFF OFF OFF PIN DEFINE PIN DEFINE 1 DCD DT 2 SIN DT 3 SOUT 422R 4 DTR 422R 5 GND 6 DSR 7 RTS 8 CTS 9 RI_12V 23 COM3 COM4 D SUB 9P Male connector x 2 24 AUDIO1 AUDIO connector PIN DEFINE PIN DEFINE 1 DCD 2 ...

Page 31: ... 7 8 COM2 COM4 STATUS SETTING RS 232 Default 1 3 2 4 RS 422 3 5 4 6 RS 485 3 5 4 6 29 CN25 RI SELECT for COM5 6 Reserve 30 COM5 RS232 signal connector for port 5 Reserve STATUS SETTING RI Default 1 2 COM5 12V 3 4 COM5 RI Default 5 6 COM6 12V 7 8 COM6 PIN DEFINE PIN DEFINE 1 DCD 5 2 DSR 5 3 RX 5 4 RTS 5 5 TX 5 6 CTS 5 7 DTR 5 8 RI 5 9 GND 10 N C 31 JP5 JP6 RS 485 Termination 120 ohm Reserve 32 JP7 ...

Page 32: ...Socket 35 CN21 BIOS Programmable HEADER 36 DIMM1 DDR II SODIMM Socket PIN DEFINE PIN DEFINE 1 CS0 2 3 3V 3 MISO 4 HOLD 5 WP 6 CLK 7 GND 8 MOSI 9 N C 10 N C DDR 3 SODIMM Socket 37 SATA1 SATA device connector 1 38 SATA2 SATA device connector 2 SATA device connector 1 SATA device connector 2 39 CF1 Type II compact flash card socket 3 3V CF card only and UDMA mode supported ...

Page 33: ...ff Delay This is the delay time after ignition or remote switch is OFF till power subsystem sends a turn off command to the motherboard If ignition or remote switch is turned ON again during this period the power subsystem will cancel the OFF procedure and back to operating condition 4 Hard Off Delay This is the delay time after power subsystem detects the OS has been shut down till the standby po...

Page 34: ...r different Soft Off and Hard Off delay Mode 5 Same as mode 2 except that the power on is controlled by remote switch A Power on is controlled by remote switch ignition must be turned on 2 seconds before remote switch is pressed B Power subsystem sends off command to motherboard 5 seconds after ignition or remote switch is turned off Soft Off delay Mode6 Mode7 Same as Mode 2 except for different S...

Page 35: ...t the power on procedure When Power smart function has ran in operation and the battery drops below Y Voltage with 5 tolerance more than 10 seconds the Power smart function will shut down the motherboard following the standard shut down procedure If the input voltage recovers in 10 seconds over Y Voltage with 5 tolerance again the Power smart function will continue to run Figure 4 if this happens ...

Page 36: ...second OFF in between flashing number Status 0 constant ON Power Output runs normally 1 Hard off mode 2 Standby mode After power output is turned off until 5VSB is turned off 3 Power soft off delay After ignition is turned off or remote switch is pressed until power output is turned off 4 Battery voltage low 5 System on off fail When motherboard cannot turn on or turn off after retry 6 Mode 8 9 10...

Page 37: ...M1 JP10 JP11 JP12 setting to COM2 2 8 GPIO GPO Pin 1 Pin 2 Pin 3 Pin 4 Output voltage range 5V 30V Sink Current Maximum 500mA each channel Output Default set Low GPI Pin 11 Pin 12 Pin 13 Pin 14 Logic High 3V 32V Logic Low 0V 1 5V Note It can not use USB Hub with power adaptor that connects to USB port ...

Page 38: ...on of the elements found in each of the BIOS menus The following topics are covered Main Setup Advanced Chipset Setup PnP PCI Setup Peripherals Setup PC Health Setup Boot Setup Exit Setup Once you enter the Award BIOS CMOS Setup Utility the Main Menu will appear on the screen Use the arrow keys to highlight the item and then use the Pg Up Pg Dn keys to select the value you want in each item ...

Page 39: ... you can press the F1 key and the relevant information will be displayed Item Option Description System Date Format MM DD YYYY month day year Set the system date Note that the Day automatically changes when you set the date System Time Format HH MM SS hour minute second Set the system time IDE Channel 0 Master Slave N A The onboard SATA Ports support user connecting up to 2 SATA HDD The first SATA...

Page 40: ...Revision 1 23 40 Halt On All Errors No Errors All but keyboard Select the situation in which you want the BIOS to stop the POST process and notify you ...

Page 41: ...e relevant information will be displayed Option Choice Description Hyper Threading Technology Enabled Disabled Enable for Windows XP and Linux Disable for other OS Quick Power On Self Test Enabled Disabled This category speeds up the Power On Self Test POST after you have powered on the computer If it is set to Enabled the BIOS will shorten or skip some check items during POST Full Screen Logo Sho...

Page 42: ...Revision 1 23 42 memory DVMT mode Enabled Disabled This item sets the mode for dynamic video memory thechology Total GFX Memory 128MB 256MB MAX This item sets the mode for GFX video memory ...

Page 43: ... listed at the bottom of the menu If you need any help with the item fields you can press the F1 key and the relevant information will be displayed Item Option Description ACPI Function Enabled ACPI System Support ACPI Suspend Type S3 S1 ACPI S1 S3 Sleep State ...

Page 44: ...layed Item Option Description Reset Configuration Data Enabled Disabled Normally you leave this field Disabled Select Enabled to reset Extended System Configuration Data ESCD when you exit Setup If you have installed a new add on and the system reconfiguration has caused such a serious conflict then the operating system cannot boot Resources Controlled By Auto ESCD Manual The Award Plug and Play B...

Page 45: ...such as Windows 95 If you set this field to manual then you may choose specific resources by going into each of the submenus IRQ Resources N A When resources are controlled manually assign a type to each system interrupt depending on the type of the device that uses the interrupt ...

Page 46: ...n Choice Description Onboard Serial Port 1 Onboard Serial Port 2 Onboard Serial Port 3 Onboard Serial Port 4 Onboard Serial Port 5 Serial Port 1 3F8 IRQ4 Serial Port 2 2F8 IRQ3 Serial Port 3 3E8 IRQ11 Serial Port 4 2E8 IRQ10 Serial Port 5 4F8 IRQ11 Select an address and the corresponding interrupt for each serial port USB Device Setting Select your system contains a Universal Serial Bus USB contro...

Page 47: ...Revision 1 23 47 3 6 PC Health Setup This section shows the parameters in determining the PC Health Status These parameters include temperatures fan speeds and voltages ...

Page 48: ... F1 key and the relevant information will be displayed Option Choice Description First Second Third Boot Device Other Boot Device Hard Disk CDROM USB FDD USB CDROM LAN Disabled The BIOS attempts to load the operating system from the devices in the selected sequence LAN Boot Select Enabled Disabled These fields allow the system to search for an OS from LAN Hard Disk Boot Priority N A These fields s...

Page 49: ...ant information will be displayed Option Choice Description Save Exit Setup Press Enter on this item to confirm Save to CMOS and EXIT Y N Y Press Y to store the selections made in the menus in CMOS a special section of the memory that stays on after you turn your system off The next time you boot your computer the BIOS configures your system according to the setup selections stored in CMOS After s...

Page 50: ... item to confirm ENTER PASSWORD When a password has been enabled you will be prompted to enter your password every time you try to enter Setup This prevents unauthorized persons from changing any part of your system configuration Type the password up to eight characters in length and press Enter The password typed now will clear any previous password from the CMOS memory You will be asked to confi...

Page 51: ... normal STD only EXTD only or any 5 Set mask 6 Get mask 7 Set filter 8 Get filter In this CAN bus API package we provides 1 On Linux platform Linux driver module of CAN bus subsystem and the driver load unload scripts On Windows platform Device driver and install program of CAN bus subsystem 2 API header file API libraries in static library format and shared library format 3 CAN bus test utility a...

Page 52: ...cessary In order not to degrade the performance of the CAN bus subsystem the device node dev can0 is limited to be opened at most once at any moment i e if application A accesses CAN bus via the APIs the application B which either tries to open dev can0 or uses CAN bus API will result in failure On Windows platform after successfully installing the device driver there is a device which shows CAN B...

Page 53: ...nded Data Frame canmsg_t msg msg flags 1 flags field to 1 defines the msg as an extend data frame cob This field is reserved for holding a message communication object number id CAN message ID timestamp When a CAN package is received the CAN device driver will annotate a timestamp to the timestamp field in the canmsg_t variable and return this canmsg_t variable to the caller length The number of t...

Page 54: ...code 2 GPIO and Watchdog test utility and the utility source code 4 1 3 Power Subsystem Overview When the AR B6002 is at Power Mode 15 the Power Subsystem APIs can be used to get and set the configuration of power subsystem By invoking the Power Subsystem APIs the users can 1 Get the current status of ignition ON or OFF 2 Set the Power On mode This setting will be kept in the power subsystem and w...

Page 55: ...o configure Linux kernel in order to support COM6 Please refer to Appendix A for more information Users don t need extraordinary setup on Windows platform to support COM6 In this Power Subsystem package we provide 1 The APIs to access power subsystem and the source code of the APIs 2 The utility and source code to monitor and set up power modes ignition status and power off time 3 On Linux platfor...

Page 56: ...eader file is an aggregate header which includes APIs declarations and macros for CAN Bus GPIO Watchdog and Power Subsystem 2 AR B6002 lib The API library in static library format This library is an aggregate library It includes APIs for CAN Bus GPIO Watchdog and Power Subsystem 3 AR B6002 dll The API library in dynamically linked library format This library is an aggregate library It includes API...

Page 57: ...ibrary in static library format This library is an aggregate library It includes APIs for CAN Bus GPIO Watchdog and Power Subsystem 3 AR B6002 dll The API library in dynamically linked library format This library is an aggregate library It includes APIs for CAN Bus GPIO Watchdog and Power Subsystem 4 subdirectory AR_B6002_LIB The sample project by Microsoft Visual Studio 2010 4 2 3 Power Subsystem...

Page 58: ...AR B6002 lib The API library in static library format This library is an aggregate library It includes APIs for CAN Bus GPIO Watchdog and Power Subsystem 3 AR B6002 dll The API library in dynamically linked library format This library is an aggregate library It includes APIs for CAN Bus GPIO Watchdog and Power Subsystem 4 subdirectory AR_B6002_LIB The sample project by Microsoft Visual Studio 2010...

Page 59: ...CAN packages is temporarily unavailable the process which invokes this function will be blocked Block I O until the resource is available again Return Value None 2 Syntax int getCanMessages canmsg_t buffer u8 count Description This function receives CAN packages from the CAN bus subsystem Parameters This function stores received CAN packages sequentially at an array of type canmsg_t The number of ...

Page 60: ...audRate unsigned long Baud Description This function get the speed Baud rate of sending and receiving CAN packages Parameters The parameter pointer Baud record the unit is Kbps 10 20 50 100 125 250 500 800 1000 Return Value This function returns 0 if it set the Baud rate successfully If this function fails not 0 5 Syntax int get_canFd void Description This function get the File Description number ...

Page 61: ...figure mode to normal mode Parameters None Return Value This function returns 0 if it set the Baud rate successfully If this function fails not 0 9 Syntax int setMask unsigned long mask int num int extd_flag Description This function setMask to canbus chip Parameters num 0 is set Mask0 1 is set Mask1 extd_flag 1 is 29bit 0 is 11bit mask is mask value if set 11bit the maxmum mask value is 0x7ff els...

Page 62: ...9bit 0 is 11bit filter is filter value if set 11bit the maxmum filter value is 0x7ff else the maxmum filter value is 0x1FFFFFFF Return Value This function returns 0 if it set the Filter successfully If this function fails not 0 12 Syntax void getFilter unsigned long filter int num int extd_flag Description This function get Filter from canbus chip Parameters num 0 5 is get filter 0 5 extd_flag 1 i...

Page 63: ... set the Recive Mode successfully If this function fails not 0 15 Syntax int getReciveMode unsigned long Mode Description This function get Recive Mode from can chipset Parameters pointer Mode to recored the Mode from can chipset Mode 0 is Normal Recive Mode 1 is Recive only STD Mode 2 is Recive only EXTD Mode 3 is Recive any Message Return Value This function returns 0 if it get the Recive Mode s...

Page 64: ...the resource is available again Return Value None 2 Syntax int getCanMessages canmsg_t buffer u8 count Description This function receives CAN packages from the CAN bus subsystem Parameters This function stores received CAN packages sequentially at an array of type canmsg_t The number of packages to receive is indicated by the parameter count Before finishing receiving count packages the process wh...

Page 65: ... 125 250 500 800 1000 Return Value This function returns 0 if it set the Baud rate successfully If this function fails not 0 5 Syntax int lib_init void Description This function is used the library call first Parameters None Return Value This function returns 0 library init successfully If this function fails not 0 6 Syntax int CanStop void Description This function will stop send and recive can m...

Page 66: ...if set 11bit the maxmum mask value is 0x7ff else the maxmum mask value is 0x1FFFFFFF Return Value This function returns 0 if it set the Mask successfully If this function fails not 0 9 Syntax void getMask unsigned long mask int num int extd_flag Description This function getMask from canbus chip Parameters num 0 is get Mask0 1 is get Mask1 extd_flag 1 is 29bit 0 is 11bit pointer mask is recored ge...

Page 67: ...lag 1 is 29bit 0 is 11bit pointer filter is recored get filter value Return Value None 12 Syntax int CanChipReSet void Description This function to restet canbus chip Parameters None Return Value This function returns 0 if it reset the chipset successfully If this function fails not 0 13 Syntax int setReciveMode unsigned long Mode Description This function set Recive Mode Parameters Mode 0 is Norm...

Page 68: ...s 0 if it get the Recive Mode successfully If this function fails not 0 15 Syntax void lib_close void Description This function call when you doesn t use this library Parameters None Return Value None 4 3 2 GPIO and Watchdog GPIO Under linux platform 1 Syntax i32 getInChLevel i32 channel u8 val Description Get the value of GPIO Input and put the value at val Parameters I The parameter channel indi...

Page 69: ...ple If GPIO Input channel 1 and channel 3 are both 1 unsigned char ch getInChLevel GPI1 GPI3 ch The returned value of variable ch is 0xa Return Value If the function gets the values successfully it returns 0 If any error it returns 1 2 Syntax i32 setOutChLevel i32 channel u8 val Description Set the value of GPIO Output according to the variable val Parameters I The parameter channel indicates the ...

Page 70: ...Level GPO0 GPO3 val II The parameter val is an unsigned character pointer The function puts the values of the indicated GPIO channels at the memory pointed by val The bit 0 of val shows the value of GPIO Output channel 0 The bit 1 of val shows the value of GPIO Output channel 1 Other bits show the corresponding GPIO Output channels Because there are only four channels bit 4 bit 7 of val are always...

Page 71: ...ry pointed by bValue True indicates HI and false indicates LOW Return Value If the function gets the values successfully it returns 0 If any error it returns not zero 2 Syntax int setGPIOBitValue int iBitNumber bool bValue Description Set the value of GPIO Output according to the variable bValue Parameters I The parameter channel indicates the GPIO Output pins to set Users can use the macros GPO_B...

Page 72: ...r to the value val and starts to count down The value could be 0 255 The unit is second Setting the timer register to 0 disables the watchdog function and stops the countdown Parameters The parameter val is the value to set to watchdog timer register The range is 0 255 Return Value None Under windows platform 1 Syntax int readWatchdog unsigned char pucValue Description This function read the value...

Page 73: ...scription Get the current ignition status The ignition has two statuses ON or OFF Parameters This function puts the ignition status at the memory pointed by the unsigned character pointer ignStatus If the returned status is 0xa5 the ignition is ON If the returned status is 0x5a the ignition is OFF There are macros of Ignition ON and Ignition OFF in pwr_acce h Return Value If the function gets the ...

Page 74: ...cription The Hard Off Delay is the interval between that the system is off and that the power 5VSB is off This functions set up the interval in seconds Parameters The parameter is of the type of unsigned long The value of the parameter ranges from 0 255 The unit of the value of the parameter is seconds Return Value If the function sets the delay time successfully it will return 0 If any error the ...

Page 75: ...receives a power off signal and that the system generates a power off signal This function gets the interval Parameters The parameter is a pointer which points to an unsigned long variable The returned value is stored at this variable The unit of the returned value is in seconds Return Value If the delay time is returned successfully the function returns 0 If any error it returns 1 8 Syntax i32 ge...

Page 76: ...tion gets the voltage reading of the battery Parameters The parameter volt is a pointer which points to an variable of type float The unit of the returned value is voltage Return Value If the reading of voltage is returned successfully the function returns 0 If any error it returns 1 11 Syntax i32 getPicFwVer struct PicInfo ver Description The function gets version information of Power Subsystem f...

Page 77: ...n returns 0 If any error it returns 1 13 Syntax i32 setPicDefault void Description The function restores the SoftOffDelay and HardOffDelay to the default value Parameters None Return Value If this function works successfully the function will return 0 If any error it will return 1 Under windows platform 1 Syntax BOOL PowerPic_GetIgnitionStatus BYTE pStatus Description Get the current ignition stat...

Page 78: ..._SetHardOffDelayTime int nTime int nTimeUnit Description The Hard Off Delay is the interval between that the system is off and that the power 5VSB is off Parameters The parameter nTime is the value to set as delay interval The value of the parameter nTime ranges from 0 255 The parameter nTimeUnit is the unit of nTime Users can use macros TIME_UNIT_SECOND or TIME_UNIT_MINUTE to indicate unit Return...

Page 79: ...pSeconds Description The Hard Off Delay is the interval between that the system is off and that the power 5VSB is off This function gets the interval Parameters The parameter pSeconds is a pointer which points to an int variable The returned value is stored at this variable The unit of the returned value is in seconds Return Value If the function gets the hard off delay successfully this function ...

Page 80: ...sion information of Power Subsystem firmware Parameters The parameter is a pointer which points to a T_PIC_INFO structure which consists of 9 BYTE Here is the definition of structure T_PIC_INFO type struct typedef struct _T_PIC_INFO BYTE PicType 3 BYTE PicModel 4 BYTE PicMajorVersion BYTE PicMinorVersion T_PIC_INFO Return Value If the function gets the firmware version successfully this function w...

Page 81: ...y error the function returns FALSE 11 Syntax BOOL PowerPic_SetDefaultValue Description The function restores the SoftOffDelay and HardOffDelay to the default value Parameters None Return Value If the function sets the default value successfully this function will return TRUE If any error the function returns FALSE ...

Page 82: ...nf default 0 timeout 5 splashimage hd0 0 grub splash xpm gz hiddenmenu title Fedora Core 2 6 27 5 117 FC10 root hd0 0 kernel vmlinuz 2 6 27 5 117 FC10 ro root dev hda2 rhgb quiet 8250 nr_uarts 6 noirqdebug initrd initrd 2 6 27 5 117 FC10 img 2 List the status of the COM ports in the system setserial g dev ttyS dev ttyS0 UART 16550A Port 0x03f8 IRQ 4 dev ttyS1 UART 16550A Port 0x02f8 IRQ 3 dev ttyS...

Page 83: ...te position data 3 0 5ppm temperature compensated crystal oscillators TCXO to offer higher stability Please refer to GPS user s manual for details 5 2 Bluetooth Qcom QBTM400 01 Bluetooth Module Features CSR BlueCore4 ROM A07 Single Chip Bluetooth System Bluetooth 2 1 EDR support Class 2 Bluetooth operation with full 7 slave Piconet support Full Speed USB interface compliant with USB V1 1 and compa...

Page 84: ...ow power consumption for embedded system 5 4 Sierra 3 5G Sierra MC8705 3 5G Module Features Support GSM GPRS EDGE UMTS HSDPA 5 5 Huawei 3 5G Huawei EM770W 3 5G Module Features Support GSM GPRS EDGE UMTS HSDPA 5 6 GPIO and CAN bus cable color PIN Color PIN Color 1 Brown 2 Orange 3 Green 4 Blue 5 6 9 Black 8 White 7 Red White 10 Purple 11 Light Green 12 Light Blue 13 Pink 14 Brown White 15 Yellow PI...

Reviews: