Some Doubt about PCAN-LIN

RS-232 to CAN/LIN Interface
Post Reply
emsameen
Posts: 4
Joined: Thu 9. Dec 2010, 13:40

Some Doubt about PCAN-LIN

Post by emsameen » Thu 9. Dec 2010, 14:23

Hello everybody,
Actually I have some Doubt about PCAN-LIN interface I believe that I can find my needs here:
in fact that I'm new in can-bus interfaces but I'll summarize my problem as follow:
I have (PCAN-LIN High-speed CAN) interface and as I understood that using (PCAN-LIN Configuration Tool) I can configure the module as I want ..
Now I want to configure the interface for (CAN to PC Via Serial port) only without using LIN-Bus .. SO, IS that possible to do without using and connection to LIN-BUS ..?
Indeed I have the simulator in the Link: http://www.kds-online.com/Shop6a/catalo ... 8262b9dcac .. and I want to read CAN Bus Messages after I configured the interface I got this configuration:
Image.

So, Any Suggestion how to test the Simulator and the Interface as well ???

Thanks for your Help in Advance.

EMS
Last edited by emsameen on Thu 9. Dec 2010, 14:27, edited 1 time in total.

emsameen
Posts: 4
Joined: Thu 9. Dec 2010, 13:40

Re: Some Doubt about PCAN-LIN

Post by emsameen » Thu 9. Dec 2010, 14:25

Just forgot to ask .. is there any free software works as PCANViewr for PCAN-LIN ..?
Sorry for that .. :)

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

Re: Some Doubt about PCAN-LIN

Post by M.Maidhof » Thu 9. Dec 2010, 14:39

Hi,

thanks for the info. With the PCAN-LIN it will also be possible to forward CAN messages to the serial port, but please take care that it will be impossible to handle a fast CAN bus system (250k, 500k or 1Mbit/s) through a serial port with a baudrate of 9600baud! Please set the serial port baudrate back to 38400baud, than you can watch the CAN messages with PCAN-Lin Configuration tool in the "Messages and Scheduler" tab.
But PCAN-LIN is a LIN module, so it was not designed as a CAN to serial gateway. When you really want to watch CAN frames, please use a PCAN-USB module which can handle 1Mbit/s at full busload.

best regards

Michael

emsameen
Posts: 4
Joined: Thu 9. Dec 2010, 13:40

Re: Some Doubt about PCAN-LIN

Post by emsameen » Mon 13. Dec 2010, 18:14

Thanks Mr.Michael for your quick response .. appreciated!

But I ordered this module (PCAN-LIN) for my Future use since I have to use later on LIN bus as well.
And I tried to send my CAN Query to monitor the Responses but that was ambiguous option for me to do it using PCAN-LN configuration tools just for testing purpose .. for Example to read CAR SPEED or RPM .. etc

Anyhow, Now I decided to buy PCAN-USB module but I want to use LIN later on .. So, Do you recommend me to buy PCAN-USB Pro instead ..??

ONE more Question regarding to PCAN-LIN:
IS there any DLL interface or( third-party application ) or any other development kits for this module(PCAN-LIN) in order to implement small application for testing purpose ?
Actually, there is nothing mentioned in the User Manuel in this regard.

Thanks in Advance for your help.

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

Re: Some Doubt about PCAN-LIN

Post by M.Maidhof » Tue 14. Dec 2010, 13:51

Hi,

the PCAN-LIN module uses a special serial protocoll for the communication. There is no dll or API available for that PCAN-LIN device, you simply use serial streams to control the device. The protocoll definitions of those serial streams are listed in a prtocoll_definition.pdf file, which will be installed into the PCAN-LIN Configuration Tool folder.

The PCAN-USB-Pro offers two LIN channels. Those LIN devices can be controlled by a dll and an API. There is also some sample code available for that tool. You can download those dlls and headerfiles from our website. Please download the PCAN-USB-Pro package from the Support->Download package section of our website.

best regards

Michael

Post Reply