CAN/LIN Interface Solution

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
yc3man
Posts: 3
Joined: Tue May 27, 2008 1:17 am

CAN/LIN Interface Solution

Post by yc3man »

Hi

I am doing a project, which is Microprocessor-based CAN-LIN Interface (Gateway).

The project involves programming a microcontroller to create a Bi-Directional Interface between the CAN and LIN bus standards. A test rig will be produced to show how signals originating in one standard are received correctly in the other standard.

I am looking for the hardware and software will be required. I know the E-block LIN BUS solution and E-block CAN training solution is the best and easy solution to deal with this project. But they are expensive to me. Can anyone suggest what is the best solution to achieve this project by E-block? :?:

I want to utilize the E-block to do this project. My main target is to build the CAN-LIN Interface, no running the CAN network and LIN network. Of course, it is better to use E-block to build CAN network and LIN network.

Has anynoe any experiences with this? :?: Can you suggest any other solution? :?:

Regard Kenny

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times

Re: CAN/LIN Interface Solution

Post by Sean »

Hello Kenny.

The E-Blocks necessary to build individual CAN and LIN nodes are available seperately so you should be able to assemble a system optimised for your project.

You will need an EB-006 (PIC) or EB-019 (AVR) programmer for each node, fitted with an EB-018 (CAN) or EB-027 (LIN) E-Block. The node interfacing between the two busses will require both the EB-018 and EB-027 to be fitted. The full range of input, output, and display E-Blocks are available to demonstrate your system in operation.

Evaluation copies of our CAN and LIN solution manuals are available from the Learning Zone area of our website. Exercise 5 of the LIN solution includes a bi-directional interface between a CAN and LIN bus.

The Flowcode program running on the interface node can be made available if required.

yc3man
Posts: 3
Joined: Tue May 27, 2008 1:17 am

Re: CAN/LIN Interface Solution

Post by yc3man »

Hello Sean

How can I get the Exercise-5 LIN-CAN interface program without buying the LIN bus training solution package?

Can I just buy the EB499 LIN solution CD Rom and EB880 CAN bus solution CD Rom? Are the exercises of CAN bus training solution and the LIN bus training solution in these two CDs?

If I want to program the PIC, monitor CAN bus and LIN bus, what softwares can offer?

If I set a node, can the EB-006 (PIC) programmer support multiple inputs and outputs E-Blocks? I means if PIC programmer can support three E-blocks at the same time (a E-block CAN board,a E-Block LED-board and a Switch-board in one node)?

Regards
Kenny

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times

Re: CAN/LIN Interface Solution

Post by Sean »

Hello Kenny,

Here is the full set of software files for LIN Solution Example 5.
Example5.zip
(21.12 KiB) Downloaded 538 times
The CAN files, from demonstration DM02 in the CAN solution, are in the CAN sub folder.

Each CAN E-Block uses only the I/O lines required by the SPI bus, plus two extra, user allocated lines from the same port (Port C). The other 3 ports can be freely allocated to other functions (A/D, LCD, Switches, LEDs, etc.). The remaining lines on Port C can also be made available by using a splitter cable.

The LIN E-Block can be connected to any 5 lines of any single port, with all other I/O available for other functions.

The CAN and LIN components in Flowcode allow access to the connection configuration settings, and provide functions to listen to bus traffic, transmit and receive formatted messages, etc.

In return for this information, it would be helpful for us to know a little more about your project. The Flowcode section of the forum has a sub-section titled 'Let Us Know What You Are Doing With Flowcode'. We would like information on any projects demonstrating the use of Flowcode and/or E-Blocks. Schematics and photographs are always welcome, but not essential if confidentiality is necessary.

yc3man
Posts: 3
Joined: Tue May 27, 2008 1:17 am

Re: CAN/LIN Interface Solution

Post by yc3man »

Hello Sean

Thank you very much.

Regards
Kenny

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times

Re: CAN/LIN Interface Solution

Post by tech »

Hi,

Is it possible to have tutorial for LIN Master and Slave or example FlowCode ??????

LIN only , no CAN !!

Thank You

Chris

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times

Re: CAN/LIN Interface Solution

Post by Sean »

An exaluation copy of our LIN solution course notes, and the example programs, can be downloaded from our website:

http://www.matrixmultimedia.com/abouteb ... ions-X.php

Post Reply