Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

communication between a PCI CAN card and a PCMCIA CAN card

I have connected a PCI NI-CAN card and a PCMCIA NI-cAN (1 port, hish speed, series 2). But when I try
to use the delivered example for output. It always give me error information. Do anybody know this problem
and how to solve this problem?
0 Kudos
Message 1 of 15
(6,713 Views)
Hi johnshi!

What's the error (code) you are getting?

-B2k
0 Kudos
Message 2 of 15
(6,708 Views)
Thanks for your help

The error code is oxbff6220c (nctErrNoReceiver)

But I connected two cards one is desktop and the other is laptop.
0 Kudos
Message 3 of 15
(6,703 Views)
Hi johnshi!

You always need to have an active listener/receiver in order to successfully transmit a CAN frame. Try running a receiving example (or the BusMonitor) on the other card, before you start the transmission.

-B2k
0 Kudos
Message 4 of 15
(6,697 Views)
Hi, B2K

I have tried as your advice but it doesn't work.

What I did is: I open a receiver example and run it first in the PCMCIA (laptop).
and I test the example in MAX (CAN Channel>>TransmissionFluids(0X52)>>ClutchPressure)
in the PCI (desktop).I used the "Test Panel) and the click "write" tab. when I click
"send", nothing is received in the running receiver in the other card. (no ID, no data,
empty completely).

I also tried BusMonitor. The busmonitor give me nothing (completely empty).
Have you met this problem before?

Thanks

john shi
0 Kudos
Message 5 of 15
(6,671 Views)
Hi johnshi!

To complete the picture: Is your PCI-CAN card also a 1-port, high-speed card?
Make sure that you use the same baud rate for all CAN nodes. The examples for the Frame API explicitly set the baud rate where as the examples for the Channel API use the baud rate that is configured in MAX (right-click on a CAN port » Properties) as their default. So do the BusMonitor and the Channel test panels.

-B2k
0 Kudos
Message 6 of 15
(6,656 Views)
Hi, B2K

I have a question about the cable. My PCMCIA card was shipped with a bus-powered calbe.
I don't fully understand what is the differece between "bus-powered" and "internally powered".
Can you give me some explanation about them?

Thanks

johnshi
0 Kudos
Message 7 of 15
(6,645 Views)
I have one more question: do I need to connect any resistor at the end of the CAN cards?
0 Kudos
Message 8 of 15
(6,250 Views)
Hi johnshi!

That's it. If you have a bus-powered (externally powered) cable, you need to provide power to the transceiver through the V+ (pin 9) and V- (pin 3) pins of the 9-pin D-SUB connector or pin 5 (V+) and 1 (V+) of the COMBICON connector at the side. You need 10–30 VDC on the V+ connector pin
(referenced to V–) with up to 100mA.

Take a look at chapter 4 (Connectors and Cabling) for more information on the cabling and termination requirements.

-B2k
0 Kudos
Message 9 of 15
(6,631 Views)
Thanks, B2k

But how if the cable is connected to a PCI-CAN card, which is internally powered.
Can the PCI power be used for the whole system including the PCMCIA-CAN with the
bus-powered cable?

Thanks
0 Kudos
Message 10 of 15
(6,624 Views)