Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to interface NI-CAN, with LAB Windows to 8051

Hi,
i have to do a CAN Network with 1 Master and many "Slaves".
I worked with the SILICON LABORATORIES Development Kit, for Master i used 1 evaluation board, this works correctly.

Now i need to replace the evaluation board (Master) with a LAB WINDOWS C program, in the PC i have the NI-PCI-CAN card serie 2, 1 port (National instruments).
To debug the card i used a sample program (Frame API), but the comunication with the slaves doesn't work.
An error message tells me that acknowledge signal isn't received, effetivly we don't send any acknowledge becouse we think it should be automatically generated by receiver.
Can you confirm me that we have to manually generated it and if so, eventually in witch way.
Anybody had this problem?
Thanks in advance
Jancio
0 Kudos
Message 1 of 2
(3,709 Views)

Hi Jancio,

The error message you got menas that there was no receiver on the bus, who could have acknowledged your message. The receiver acknowledges a message on the bus if he was able to receive the message. Therefore it is important to have the same Baudrate and a cabled connection with propper termination.

Perhaps there is something wrong with your cable or the Baudrate is different?

DirkW

0 Kudos
Message 2 of 2
(3,684 Views)