Home
DS-MPE-CAN2L User Manual - Diamond Systems Corporation
Contents
1. DS MPE CAN2L PCle MiniCard Dual CAN 2 0 Port Module Rev A 1 April 2015 gian S R m I Rie EA m m E IA THTHHTRETIETEITT Reison Dae Commen 4 25 2014 Initial release 4 09 2015 Updated Windows installation procedure Copyright 2015 FOR TECHNICAL SUPPORT Diamond Systems Corporation PLEASE CONTACT 555 Ellis Street Mountain View CA 94043 USA support diamondsystems com Tel 1 650 810 2500 Fax 1 650 810 2525 www diamondsystems com CONTENTS 1 Important Safe Handling Information 1 1111 1lleeeee eee e LLL eeeeeeeen nene nennen annee nans asas ann seas assa anna nr 3 2 DFO IU TO SNR ER 4 X NENP ede r 4 2 cult UTUTUUTmU 4 23 Op ra ng System SUDDON RR E 4 2 4 Mechanical Electrical Environmental eese HI n mnm mem rm nem nene reme re re rese re renis 4 OS ie daB ce M 4 LZ cdgnciEej2 l qe G S G S G X AG SnSnnn R 5 Al Functional Block Diagram sess ones uiermur ski o ras adE guia qs usua Rex avena bk Ode virkus a puF RU Yes Dia exu Pirinen wai bur kia d wea i di Dav a Rd ua 5 4 2 Mechanical Board Drawing cccccccccccsssceccseeeceeeeeseeecaeneeeeseeeeeesseueeeeseueeeesseee
2. M Intel R 82801G ICH Family PCI Express Root Port 27D0 jk Intel R 628016 ICH Family PCI Express Root Port 27D2 ji Intel R 828016 ICH Family PCI Express Root Port 27D4 ji Intel R 828016 ICH Family SMBus Controller 27DA Me Intel R 82802 Firmware Hub Device _ DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 22 DIAMOND Y 10 2 Run the Windows Application The application is stored in the App directory Double click on dsc can2 pci exe The application window will open as shown in the below screenshot FILE CANI CAN i u CANT H Messages onnection Msg Type standard Weite Message ID D Len B Data Hex b Jj pj jv jo o ge Add List Clear List Write Message Connection CAH CAN Messages Disconnected Msg Type Standard Write Hessage D p we Data Hex Pp p pP Pp pop pp gt Write Message CAN Monitor 2014 Diamond Systems Corp Software Version 1 0 1 DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 23 DIAMOND Y 10 3 Setting the Baud Rate Using the CAN interface utility software the baud rate for each port can be selected On the desired CAN port select the baud rate from the Baud Rate drop down menu After selecting the desired baud rate press Connect to connect with specified baud rate as shown in below figure FILE CANI CAN2 SeledBaudrae Connection CANT
3. Processor Intel R Atom TM CPU N2600 1 60GHz 1 60 GHz Installed memory RAM System type Pen and Touch 2 00 GB 32 bit Operating System No Pen or Touch Input is available for this Display Computer name domain and workgroup settings Computer name Full computer name Computer description Action Center oo Windows Update Performance Information and Windows activation Tools Nes elooet TO COAT nbn nE51155 FAJIT DS MPE CAN2L User Manual Rev A 1 www diamondsystems com diamond PC diamond PC Bi Change settings WORKGROUP WA You must activate today Activate Windows now Ul mc memi mm S Page 21 DIAMON S Y S TE M S If the driver is installed properly then the device manager will show the device as PCle Sample device under Sample Device as shown in the screenshot below Device Manager File Action View Help m Bt diamond PC 4M Computer b cg Disk drives M Display adapters amp Human Interface Devices Sq IDE ATA ATAPI controllers gt Keyboards gt A Mice and other pointing devices A Monitors gt amp Network adapters f R 4 amp F Sample Device amp PCIe Sample device gM ACPI Fan jk ACPI Fixed Feature Button lll ACPI Sleep Button ACPI Thermal Zone jE Composite Bus Enumerator ofl Direct memory access controller E fl High Definition Audio Controller jE Intel R 82801 PCI Bridge 2448
4. Safe Handling Precautions This board contains a high density connector with many connections to sensitive electronic components This creates many opportunities for accidental damage during handling installation and connection to other equipment The list here describes common causes of failure found on boards returned to Diamond Systems for repair This information is provided as a source of advice to help you prevent damaging your Diamond or any vendor s embedded computer boards ESD damage This type of damage is usually almost impossible to detect because there is no visual sign of failure or damage The symptom is that the board eventually simply stops working because some component becomes defective Usually the failure can be identified and the chip can be replaced To prevent ESD damage always follow proper ESD prevention practices when handling computer boards Damage during handling or storage On some boards we have noticed physical damage from mishandling A common observation is that a screwdriver slipped while installing the board causing a gouge in the PCB surface and cutting signal traces or damaging components Another common observation is damaged board corners indicating the board was dropped This may or may not cause damage to the circuitry depending on what is near the corner Most of our boards are designed with at least 25 mils clearance between the board edge and any component pad and ground power planes are a
5. Baud 500kbps di Msg Type Standard v a S Write Hessage Connect D p ton Bp Data Hex b p ppp b RP Add List Clear List Connection CAN2 es Ei Come Msg Type Standard Disconnected Write Message D mB Data Hex bp pb bb x m Save Log Clear Log CAN Monitor 2014 Diamond Systems Corp Software Version 1 0 1 www diamondsystems com To change the baud rate click on Disconnect and select a new baud rate DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 24 M vino 10 4 Setting the CAN ID and Message Length Set the CAN ID and CAN message length for each CAN port by entering the desired numbers into the ID and Len fields respectively for that port FILE CANI CAN2 CAN1 Messages Connection CAN1 Baud 500kbps Connect Msg Type Standard v Disconnected es age Length Len e Write Message Data Hex P iri JM x Add List Clear List Save Log Clear Log Connection CAN2 CAN2 Messages Msg Type Standard v Disconnected Write Message ID fo Len fe Data Hex P p p ep p pn x Add List Clear List Write Message CAN Monitor amp 2014 Diamond Systems Corp Software Version 1 0 1 www diamondsystems com DS MPE CAN2L User Manual Re
6. CAN 2 Messages Write Message ID 00000000 Len 8 Data Hex 00 00 00 00 00 00 00 00 Lo LL v DIAMOND CAN Monitor amp 2014 Diamond Systems Corp Software Version 1 0 4 A car diues www diamondsystems com DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 11 DIAMOND 8 4 Writing a Message To write a message on a CAN port define the CAN message by entering the desired data into the Data Hex fields Then click on Write Message as shown in the below figure File CAN1 CAN2 Connection CANI baud Rate FOORE Msg Type Standard s CAN 1 Messages Connected Write Message o fa ten GN em Data Hex milii aiiis Connection CAN2 baud Rate SUBigs s Msg Type Standard Disconnected CAN 2 Messages Write Message D 00000000 Len 8 Data Hex 00 00 00 00 00 00 00 00 4 mN itor 4 Diamond 3 Software Version 1 0 4 DIAMOND eem m To transmit to a different CAN ID change the data in the CAN ID field enter the desired data into the Data Hex fields and click on Write Message To change the message length change the CAN message length to the new length enter the desired data into the Data Hex fields and click on Write Message To transmit a different CAN message to the same CAN ID change the CAN message to the desired data and click on Write Message DS MPE CAN2L User Manual Rev A 1
7. PCI V1 0 6 15 09 14 zip A pci can directory will be created where the zip file is extracted The pci can directory contains the following files ls 1 1 CAN Monitor CAN Monitor demo application directory 2 CANLib CAN Linux shared library 3 dsc can2 pci driver Linux CAN driver 4 qt opensource linux x86 5 2 1 run Qt Installer which is required by the PCI CAN Interface utility Step 2 Install the Qt shared libraries using the Qt Installer Execute the command below and follow the Qt Installer instructions Use the command below to install the Qt shared libraries Install Qt at the default locations cd DSC CAN2 PCI V1 0 6 15 09 14 qt opensource linux x86 5 2 1 run Note The Qt shared libraries should be installed only once Step 3 PCI CAN Utility is based on the CANLib library Copy the shared library to lib directory cd CANLib cp libCAN so lib Step 3 should be done only once DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 9 DIAMOND Step 4 Load the PCI CAN interface driver using the command below from the dsc_can2_pci_driver directory where the zip file is extracted cd dsc can2 pci driver insmod dsc can2 pci ko Step 5 Start the PCI CAN Utility using the command below from the CAN Monitor directory where the zip file is extracted cd CAN monitor CAN The above command will open the CAN interface utility Note To start CAN utility in the future follow Steps 4 and 5 on
8. www diamondsystems com Page 12 DIAMOND 8 5 Viewing Messages Transmitted messages are listed in the CAN message box for the sending CAN port as shown in below figure File CAN1 CAN2 Connection CAN1 5oud Rate SUGREgs s ws Type GEE Connected CAN 1 Messages Write Message ID 12 Len B Data Hex GB EB GS ED EN E D 3 d Connection CAN2 Baud Rate SOE Msg Type Standard Disconnected CAN 2 Messages Write Message ID 00000000 Len 8 Data Hex 00 00 00 00 00 00 00 00 DIAMOND CAN Monitor amp 2014 Diamond Systems Corp Software Version 1 0 4 er I www diamondsystems com DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 13 PVUMOND Received CAN messages are listed in the CAN message box for the CAN port receiving the message as shown in below figure File CANI CAN Connection CAN1 pou Rate SIDR sq Type BERGENER Connected CAN 1 Messages Write Message ID 12 Len BO Data Hex GB EB EN HB ENS 7 D m a Connection CAN2 Baud Rote BORSE Msg ype SISTI Connected CAN 2 Messages Write Message ip BE gen 28 Data Hex 13 22 33 44 88 be zr 887 Lo rJ DIAMOND CAN Monitor 2014 Diamond Systems Corp Software Version 1 0 4 5 ia Larg www diamondsystems com DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page
9. 14 DIAMOND Y 9 CONFIGURE AND MANAGE THE PORTS USING LINUX The CANLib library provides the set of APIs to configure and manage the CAN ports The CANLib library can be used to build the CAN application It is a shared library built on top of Linux platform To compile the CANLib shared library use the below command cd CANLib make All the CAN APIs prototypes are defined in the can h file This file is located in the CANLib directory Include the can h file in the application to use all these APIs 9 1 API to Configure and Manage CAN Ports init canO amp init can1 These function will initialize the CAN 0 amp CAN 1 ports respectively Both these functions return the CAN file descriptor fd The return value of these functions should be retained for all subsequent operations Its prototypes are defined in the can h file Declare two CAN file descriptors and retains its return values Tincebude cam h int Can d int Carl id canO fd init can0O if can0 fd 0 printf Error while initializing the CAN 0 n exit 0 canl fd init canl Lr o cant r 9 printf Error while initializing the CAN 1 n exit 0 DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 15 DIAMON S Y S TE M S Baud Rate Configuration set baudrate This function configures the baud rate for the specified CAN port By default it will not configure any baud rate Set 500k Baud rat
10. I ou J1 PCle MiniCard edge finger connector DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 7 DIAMOND S Y S T E 6 CONNECTOR PINOUT AND PIN DESCRIPTION 6 1 PCle MiniCard Edge Connector J1 The DS MPE CAN2L module is compatible with the standard Mini PCle socket pinout as shown below GNDi 9 10 UIM DATA REFCLK UIM_CLK REFCLK UIM RESET GND2 UIM VPP 6 2 CAN Ports 44 J7 Each of the two CAN ports has its own 4 pin latching connector with the following pin out m Ground Iso 2 CANL 8 CANH 4 Ground Iso Connector Part Number Description BM04B GHS TBT 4 pos 1 25mm vertical latching SMD DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 8 DIAMOND Y 7 JUMPER CONFIGURATION The DS MPE CAN2L module has two line termination jumper blocks one for each port Jumper block J3 is for port J4 and jumper block J6 is for port J7 Jumper blocks J3 and J6 are identical The default is no jumpers installed To add termination for a port s bias line jumper position B CAN H line jumper position H or CAN L line jumper position L add a jumper at B H or L location respectively B H L 8 LINUX DRIVER INSTALLATION 8 1 Installing the Software The following steps are used to install the CAN interface utility software under the Linux operating system Step 1 Unzip the DSC_CAN2_PCI_V1 0 6_15_09_14 zip file on the enclosed CD using the below commands Unzip DSC CAN2
11. Transmitted and received messages are listed in the CAN message box for the sending CAN port as shown in below figure noo CANT Hessages Connection CAH Baud 5 500kbps Disconnect Semen T 1234 45 56 67 78 aa BB 1428580971 l Wr Std 23 12 34 45 56 67 78 aa BB Msg Type Standard 14 1 l 12 34 45 55 67 78 aa BB ID i230 te e Data Hex TIs TER 73 ition Connection CAH Baud 500kbps Disconnect Msg Type Standard Connected D p impp B p Pp Pp Pop pp Add Lit Clear List Write Message CAN Monitor 2014 Diamond Systems Corp Software Version 1 0 6 DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 27 11 SPECIFICATIONS Number of ports Data rate Number of receive buffers Number of transmit buffers Acceptance filters Identifiers Modes Isolation Input power Power consumption ooftware drivers Operating temperature MTBF Dimensions Weight RoHS Compliant DS MPE CAN2L User Manual Rev A 1 DIAMOND Y 2 CAN 2 0B 1Mbps 31 1 high priority 16 standard priority 16 programmable 29 bit 11 bit and 29 bit Dual independent Dual redundant 500V port to port and input to output 3 3VDC 5 0 462W 3 3V Windows XP Linux 2 6 16 2 6 27 2 6 31 and 2 6 32 40 C to 85 C 1 583 210 hours at 20 C 50 95mm x 30mm 2 x 1 18 8 5g 0 302 Yes www diamondsystems com Page 28
12. anage the ports using Linux ec leeee ee ieeee reser nenne nennen nnne nnn nana ananas 15 9 1 API to Configure and Manage CAN Ports ccccccsccsssseeecceeeeeeeseeeeeceeeeeesaeeeeseeeeeeeessaeeeeeeeeeeeessaeseeeeeeeeeseaas 15 10 Driver installation and Demo application for windows eese eere eene eene enne 19 10 1 Installing the PCI CAN Driver cccccccsssseeecceeseceecceeseeeecceeuececcseaueeeeessuasesecessaaseeeesssaaeeeesseeageesessaaaaes 19 10 2 Run the Windows Application cccccccccccsseeeeeceeeeeeeeeeeeeeseaeeeecseeeeeeseeeeeeseaseeessaaeeeeseaeeeeseaueeessanseessageeeenaass 23 103 Selung the Baud Balearen E Eta x eae tha oua esa eiue d ant EASRA od ua qu i bu Ex ha E Un ad 24 10 4 Setting the CAN ID and Message Length sessi nnne nnne nennen nnns nnns 25 WOLD WV GAG IMCS SAC METTE mU UU MT RP 26 TOG VENNO MOSS I E T 27 t SPECIMENON S oe ea a o E e E 28 DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 2 DIAMOND Y 1 IMPORTANT SAFE HANDLING INFORMATION WARNING ESD Sensitive Electronic Equipment Observe ESD safe handling procedures when working with this product Always use this product in a properly grounded work area and wear appropriate ESD preventive clothing and or accessories Always store this product in ESD protective packaging when not in use
13. cification revision 1 2 full size format Overall dimensions are 50 95mm L x 30 00mm W The two mounting holes are isolated from the CPU ground and not connected to any ground lines 30 00 0 00 0 30 6 0 10 M A B C Pin numbering reference Odd pins Top Side 2x 02 60 0 10 N Even pins Bottom Side 00 10 ABC N 90 95 0 00 0 30 Top Side pou Bottom Side Both Sides 2x 2 15 REF W 2x R 0 80 MAX T See Detail B 2x 3 20 MIN 25 70 S 0 10 MJ A B C 4 3 CAN Controllers The module offers two CAN controllers implemented as FPGA cores inside a Xilinx Spartan 6 FPGA The core provides the following key features e Conforms to the ISO 11898 1 CAN 2 0A and CAN 2 0B standards e Supports both standard 11 bit identifier and extended 29 bit identifier frames e Supports bit rates up to 1Mbps e Transmit message FIFO with a user configurable depth of up to 64 messages e Transmit prioritization through one High Priority Transmit buffer e Automatic re transmission on errors or arbitration loss e Receive message FIFO with a user configurable depth of up to 64 messages e Acceptance filtering with a user configurable number of up to 16 acceptance filters e Sleep Mode with automatic wake up e Loop Back Mode for diagnostic applications e Maskable Error and Status Interrupts e Readable Error Counters DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Pa
14. e for CANTO ret val set baudrate canO fd CAN SPEED 500K 7 if ret val lt U printf Error while setting the baud rate Yn 3 exit 0 j Set 500k Baud rate for CAN 1 ret val set baudrate canl fd CAN SPEED 500K if ret val U jJ printf Error while setting the baud rate n exit 0 j Use below macros for setting the different baud rates These macros can also be found in can h file CAN SPEED 1M CAN SPEED 800K CAN SPEED 500K CAN SPEED 250K CAN SPEED 125K CAN SPEED 100K CAN SPEED 50K CAN SPEED 20K CAN SPEED 10K CAN Transmit amp Receive can tx amp can rx These functions are be used to Transmit and Receive the CAN messages respectively DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 16 DIAMON S Y S T E M S CAN Transmit Prototype int Can tx int Can fd unsigned Char umsgrype unsigned int Can Id int len unsigned char data Assign the appropriate values before calling the can_tx function can Id CAN descriptor recur value irom init Canl Tunction msgType MSG STANDARD or MSG EXTENDED can id 0x12 CAN ID if the msgType is MSG STANDARD then it should be 11 Bit CAN Message ID if the msgType is MSG EXTENDED then it should be 29 Bit CAN Message ID len 4 CAN Transmit Data Length data CAN message data data 0 Ox1A data 1 OxAB data 2 0x22 data 3 Ox4D ret val Can tx CanG td HSgPyDe Gan xd dic data
15. ecute install bat Please see the below screenshot for details After executing follow the next steps to install the driver E Administrator C Windows System32 cmd exe D Diamond IRi 2H14 12 3H Driver dir Volume in drive D is New Volume Volume Serial Humber is B454 91CH Directory of D Diamond Ri_2614_12_30 Driver 36 12 2814 EF lt DIR gt 38 12 2814 lt DIR gt 18 12 2812 77 824 Gevcon exe 18 12 2812 221 257 DSCD I OFunct ions exe 18 12 2812 3 921 fpugpio 76 1inf 18 12 2H12 15 872 Foqpiofbh sys 18 12 2812 n8 install bat 18 12 2812 1 461 992 WdfColnstaller i9 d1l 1 788 924 bytes 2 Diris 95 328 833 536 bytes free D e Diamonds TR1_ 2614 12 36 Driver install bat Step 4 Restart the system DS MPE CAN2L User Manual Rev A 1 Page 20 DIAMON S Y S TE M S Step 5 Check whether the driver is installed properly or not by opening the device manager Right Click on My Computer gt Click on Properties gt Device Manager Please refer to the screenshot below 7 amp Control Panel All Control Panel Items System wie Control Panel Home i Device Manager Eu 1 W Remote settings View basic information about your computer Windaws edition Windows 7 Professional N system protection Copyright 2009 Microsoft Corporation All rights reserved W Advanced system settings Service Pack 1 Get more features with a new edition of Windows 7 System Rating System rating is not available
16. eseeueeessageeessageeeesseeeeesseneesenaneees 6 43 CAN Ero qiifo E NE I e m 6 4A TraNSCENE S roren einar E ia ES E AS a eaaa Ae aiee 7 Ao zielt eera E E E E E A E E 7 AG 207 3709 rerencangan e E EET EE EEO E EEEE E E EE EEE 7 Be MSAU EE EE E E E RN 7 6 Connector Pinout and Pin Description 1 ee e cc Lre eer ere rere ene eonun annes a aan nnmnnn nnmnnn nnmnnn 8 6 1 PCle MiniCard Edge Connector J1 sssssssssseissssssseeeeen enne nenne nain nennen nana ann rrr nnn 8 6 2 CAN Pons JA 7 E 8 T jumper Oro la lite 0 Le 11 Cc 9 iv anmememnmter sent ir Miner ter Se cr lcr tert ett irl lian trie a aeree CU d ond 9 o Linux rin gir iciitiils nec A 9 8 1 Installing the Software lsseeeeessssessseeeeeeee nennen nnnm nnn nnn nnn nnn nnne na nnne ss nna nnn rss nna a snis nana ns 9 8 2 Setting the Baud Rate ssssssssssssssssisesseeee nennen nennen nnn nns nnni nnn r issus sns r is enakan riis sa aas rss naar anent 10 8 3 Setting the CAN ID and Message Length eeesssssssssssesseeseeeeneenn nennen nennen nnne nnn 11 8 4 Writing a Message sre tcc festa ie etre tebe ele tattle em ne Clau trsst uM UN du tuU D tuti SE rsMt id EIUS CM 12 8 5 Viewing TVIeSSd8deS audios treibt dugrx pui tnter cdc lean Dalton ee eds satu dcin ie Ua UN e is EueM dd EISE d UE 13 9 configure and m
17. ge 6 DIAMOND Y 4 4 Transceivers The transceivers are Analog Devices ADM3053 combination isolation and transceiver It provides isolated 5V to power the isolated side of the transceiver This isolated 5V is available on the I O connector 4 5 Isolation The module supports 500V isolation between each CAN port and the host and between each CAN port and the other via the ADM3053 isolated transceiver An optional high voltage resistor can be installed across each isolation barrier to enable leakage current flow between the isolated transceiver grounds and the host ground 4 6 Power Supply The module is powered by 3 3V from the PCle MiniCard socket It provides all other required voltages on board including 5V for the CAN transceivers and the FPGA core voltages 5 INSTALLATION The DS MPE CAN2L plugs in to any socket meeting the PCle MiniCard specifications It has two connectors one for each pair of serial ports a protocol configuration jumper block and a pair of mounting holes To install the DS MPE CAN2L fully insert the board into a PCle MiniCard connector and secure in place by inserting one screw from the hardware kit into each of the mounting holes see the diagram below Mounting holes J7 CAN connector J4 CAN connector L2 t 2 n e i rv wat qe be NE 3 eu el HHHWn9gH HH HH J6 termination jumper block J3 termination jumper block TIHEHEHHHEBTTEITITTIT ma o TEE Tak he bzi A LH E L
18. j if ret val O printf Error while transmitting the CAN message n close canl fd exit 0 The above sample code will transmit the CAN standard message with CAN ID 0x12 of data length 4 and message data 0x1A OxAB 0x22 Ox4D DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 17 DIAMON S Y S T E M S CAN Receive Prototype int can rx rint can fd unsigned char msgtype unsigned char rx data unsigned int ocan id unsigned char can msg len Pass the appropriate pointers for calling the can rx function if can rx can fd amp msglype data amp can id amp dlc If msgType MSG STANDARD Received message is CAN Standard Message j else if msgType MSG EXTENDED Received message is CAN Extended Message j dle Received CAN Data Length can id Will contain the CAN Message ID Data of dlc length princi ID z DiC lt d Data can id dlo j for i20 i lt dlc i printfi vwx datali Prince Cn The sample example programs for both transmit and receive can be found in the CANLib directory for the reference Compiling CAN Application using CANLib Library Export the library path using the following command export LD LIBRARY PATH LD LIBRARY PATH path to CANLib To compile the application use the following command g can app c 1CAN L path to CANLib o can app DS MPE CAN2L User Manual Rev A 1 www diamondsystems co
19. ly 8 2 Setting the Baud Rate Using the CAN interface utility software the baud rate for each port can be selected On the desired CAN port select the baud rate from the Baud Rate drop down menu After selecting the desired baud rate press Connect to connect with specified baud rate as shown in below figure File CAN1 CAN2 z Select Baud rate Connection CAN1 CAN 1 Messages Baud Rate Sooko E Write Message iD 0000 Len 8 pou Data Hex 00 00 00 00 00 00 00 00 Lo Lr Connection CAN2 Baud Rate SE Msg Type Standard Disconnected CAN 2 Messages Write Message io 00000000 Len 8 Data Hex 00 00 00 00 00 00 00 00 EE EL Gets CAN Monitor amp 2014 Diamond Systems Corp Software Version 1 0 4 _ DIAMOND www diamondsystems com To change the baud rate click on Disconnect and select a new baud rate DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 10 DIAMOND S Y S TE M S 8 3 Setting the CAN ID and Message Length Set the CAN ID and CAN message length for each CAN port by entering the desired numbers into the ID and Len fields respectively for that port File CANI CAN2 Connection CAN1 Baud Rate EOT uso type Standard ID Write Messa Message Length ID Len Data Hex ft tT 1 tf ft Jg ee Connection CAN2 baud Rate SOE Msg Type Standard Disconnected CAN 1 Messages Connected
20. m Page 18 DIAMON S Y S TE M S 10 DRIVER INSTALLATION AND DEMO APPLICATION FOR WINDOWS The DSC CAN2 PCI V1 0 2 2015 01 13 directory contains the CAN application library and driver for testing the 2 CAN interfaces 1 APP CAN Monitor demo application directory 2 DSC CAN 2 PCI V1 0 2 2015 01 13 CAN Windows library 3 dsc can2 pci driver Windows CAN driver 10 1 Installing the PCI CAN Driver Step 1 Open Windows command prompt with Administrator privileges Click on Windows start button and type cmd in the search box and right click on the cmd exe and click on Run as administrator Please refer to the screenshot given below i Computer Programs 1 m cmd e ETE pen Documen a a Run as administrator cdc c 1 Iip cc c ld Edit with Notepad cdc c Scan for Viruses cdc c sCsl C 4 TortoiseSVN Microsoft Pin to Taskbar f GPIO Pin to Start Menu ij AMOL Restore previous versions a REO le chart Send to 20141 Irmware upgra j OT n Cut RE OTA firmw Files 240 Cm j cmd Delete cmd Open file location amp cmd TT Properties j See more results cmd x Shut down EI E 1623 i ir La 30 12 2014 DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 19 L7ZI AJVWZIN S Y S T E M S Step 2 Change the working directory from the command prompt to the DSC CAN2 PCI V1 0 2 2015 01 13 dsc can2 pci driver directory where the software is copied Step 3 Ex
21. ort to port and input to output isolation Driver Supports dual independent and dual redundant modes Latching connectors for increased ruggedness 9 9 9 9 9 9 9 2 3 Operating System Support Linux 2 6 16 2 6 27 2 6 31 and 2 6 32 Windows 7 XP 2 4 Mechanical Electrical Environmental PCle MiniCard full size format Dimensions 50 95mm x 30mm 2 x 1 18 40 C to 85 C ambient operating temperature Power input requirements 3 3VDC 5 9 9 9 3 PACKING LIST The DS MPE CAN2L product comes with the PCle MiniCard hardware assembly a cable kit with two dual serial cables and a hardware kit containing jumpers and mounting screws Quantity Part Number Description Loe 9150500 DS MPE CAN2L hardware assembly X 6800500 Hardware Kit with jumpers and screws CK CAN2L Cable Kit with two CAN cables Mit PON m ve ic LM i ELICIT Ll P t L 2707 nett LL LI LI DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 4 DIAMOND S Y S TE M S 4 FUNCTIONAL OVERVIEW 4 1 Functional Block Diagram The DS MPE CAN2L block diagram is shown below DS MPE CANZ2L Block Diagram ADM3053 CAN Transceiver can port 2 with Isolation _ nes Su Internal bus PCle Core Version 1 DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 5 DIAMOND Y 4 2 Mechanical Board Drawing The DS MPE CAN2L conforms to the PCle MiniCard electromechanical spe
22. placed A chip destroyed by reverse power or by excessive power will often have a visible hole on the top or show some deformation on the top surface due to vaporization inside the package Check twice before applying power Overvoltage on digital I O line If a digital I O signal is connected to a voltage above the maximum specified voltage the digital circuitry can be damaged On most of our boards the acceptable range of voltages connected to digital I O signals is 0 5V and they can withstand about 0 5V beyond that 0 5 to 5 5V before being damaged However logic signals at 12V and even 24V are common and if one of these is connected to a 5V logic chip the chip will be damaged and the damage could even extend past that chip to others in the circuit DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 3 DIAMOND 2 INTRODUCTION 2 1 Description DS MPE CAN2L implements a CAN protocol bus controller that performs serial communications according to the CAN 2 0A and CAN 2 0B specifications The protocol uses a multi master bus configuration for the transfer of frames between nodes of the network and manages error handling with no burden on the host processor 2 2 Features 2 CAN 2 0B ports with a 1Mbps data rate and programmable interrupts 31 receive buffers for improved performance 1 high priority transmit buffer and 16 standard priority transmit buffers 16 programmable acceptance filters 11 bit and 29 bit identifiers 500V p
23. t least 20 mils from the edge to avoid possible shorting from this type of damage However these design rules are not sufficient to prevent damage in all situations A third cause of failure is when a metal screwdriver tip slips or a screw drops onto the board while it is powered on causing a short between a power pin and a signal pin on a component This can cause overvoltage power supply problems described below To avoid this type of failure only perform assembly operations when the system is powered off sometimes boards are stored in racks with slots that grip the edge of the board This is a common practice for board manufacturers However our boards are generally very dense and if the board has components very close to the board edge they can be damaged or even knocked off the board when the board tilts back in the rack Diamond recommends that all our boards be stored only in individual ESD safe packaging If multiple boards are stored together they should be contained in bins with dividers between boards Do not pile boards on top of each other or cram too many boards into a small location This can cause damage to connector pins or fragile components Power supply wired backwards Our power supplies and boards are not designed to withstand a reverse power supply connection This will destroy each IC that is connected to the power supply i e almost all ICs In this case the board will most likely will be unrepairable and must be re
24. v A 1 www diamondsystems com Page 25 PETENS 10 5 Writing a Message To write a message on a CAN port define the CAN message by entering the desired data into the Data Hex fields Then click on Write Message as shown in the below figure FILE CANI CAN2 CAM Messages Tme Op Tpe D len Data Connection CAN1 Baud 500kbps Connect Msg Type Standard x Disconnected Write Hessage ID fo Len B o o Can Messages Click on Write Message n i p D a a m D to Transmit P Add List Clear List _ Sevelog Log __Gear Log Log Connection CAN2 Msg Type Standard x Disconnected Write Message D pP ten BO Data Hex P i p iui we alll Add List Clear List Save Log Clear Log CAN Monitor 2014 Diamond Systems Corp Software Version 1 0 1 www diamondsystems com To transmit to a different CAN ID change the data in the CAN ID field enter the desired data into the Data Hex fields and click on Write Message To change the message length change the CAN message length to the new length enter the desired data into the Data Hex fields and click on Write Message To transmit a different CAN message to the same CAN ID change the CAN message to the desired data and click on Write Message DS MPE CAN2L User Manual Rev A 1 www diamondsystems com Page 26 DIAMOND 10 6 Viewing Messages
Download Pdf Manuals
Related Search
Related Contents
GLASS CLEANER Varlogic R6 Olympia PS 14 Manual BA7603E Benutzerhandbuch ALPHA Touch King Canada KC-712BC User's Manual CastoTIG 2202 (parte 2) Copyright © All rights reserved.
Failed to retrieve file