Page 1 of 1
CAN/LIN Interface Solution
Posted: Tue May 27, 2008 1:43 am
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
Re: CAN/LIN Interface Solution
Posted: Tue May 27, 2008 10:24 am
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.
Re: CAN/LIN Interface Solution
Posted: Tue May 27, 2008 5:19 pm
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
Re: CAN/LIN Interface Solution
Posted: Wed May 28, 2008 10:24 am
by Sean
Hello Kenny,
Here is the full set of software files for LIN Solution Example 5.
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.
Re: CAN/LIN Interface Solution
Posted: Wed May 28, 2008 1:07 pm
by yc3man
Hello Sean
Thank you very much.
Regards
Kenny
Re: CAN/LIN Interface Solution
Posted: Thu Nov 20, 2008 5:12 pm
by tech
Hi,
Is it possible to have tutorial for LIN Master and Slave or example FlowCode ??????
LIN only , no CAN !!
Thank You
Chris
Re: CAN/LIN Interface Solution
Posted: Thu Nov 20, 2008 5:36 pm
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