Communication between Simulink model and PCAN-PCI card

PCI to CAN Interface
Post Reply
randygam
Posts: 1
Joined: Thu 26. Jan 2012, 09:49

Communication between Simulink model and PCAN-PCI card

Post by randygam » Thu 26. Jan 2012, 10:03

Hi,

I hope someone will be able to clarify a few things to me with regard to these cards.

I'm using 2 PCAN-PCI cards under QNX and communicating with some boxes that have CAN interfaces. I've created the model in Simulink that needs to be run with 3kHz in the Real-Time mode.
I wonder whether the PCAN-PCI card can process the data with the 3kHz? I know that 1 CAN message will occupy around 130 bits for my box. So I roughly estimated the highest sampling rate for the Simulink model to make sure I won't be missing packets. I know for sure that my box can process the data with 3 kHz. What about the PCAN-PCI card? Will the CAN driver be capable of processing data at 3kHz rate?

I would highly appreciate any help.

Regards,
Renat.

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: Communication between Simulink model and PCAN-PCI card

Post by M.Maidhof » Thu 26. Jan 2012, 11:41

Hello Renat,

unfortunately we can't answer that question regarding the use of a QNX driver system (PEAK don't have such a driver, so it will be better to contact the QNX driver developer). But I can answer you that performance question regarding the use of a PCAN-PCI card with a standard PEAK Windows or Linux driver. With the PCAN-PCI card it will be possible to transmit up to 6800 Msgs/s (at 1 Mbit/s with DLC=8), and receive the maximal possible busload of 100% for each CAN baudrate (when there is enough CPU power available). So to answer your 3khz question, the used datalength (DLC) of the message and baudrate will be a necessary information!

regards

Michael

Post Reply