CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

About LIN BUS 2.0
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mickey231bhq



Joined: 06 Apr 2005
Posts: 19
Location: Formosa

View user's profile Send private message

About LIN BUS 2.0
PostPosted: Wed Jun 08, 2005 8:17 pm     Reply with quote

Does anyone use LIN BUS to do relevant application?
have sample code?
Tks. Sad
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Thu Sep 29, 2005 8:53 am     Reply with quote

Hi mickey231bhq,

Did you find any code about LIN BUS ?

I'm also starting to work with LIN BUS and I'm interest to find same example especially with CCS compiler.

Have you something to suggest me ?

Thanks,
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Sep 29, 2005 9:30 am     Reply with quote

Are you implementing Master or Slave?
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Thu Sep 29, 2005 9:38 am     Reply with quote

Hi,

I have to implement a Master device
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Sep 29, 2005 10:05 am     Reply with quote

Check out this app note. It is not CCS C but you can port it.

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1999&ty=&dty=&section=&NextRow=&ssUserText=an891&DesignDocSelect=
mickey231bhq



Joined: 06 Apr 2005
Posts: 19
Location: Formosa

View user's profile Send private message

PostPosted: Thu Sep 29, 2005 7:01 pm     Reply with quote

I write a library, can support MASTER and SLAVE at the same time by oneself. Surprised
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Sun Oct 02, 2005 7:43 am     Reply with quote

Hi mickey231bhq,

I'm starting witn new project and I'm deciding about hardware.

Does some PIC interface directly LIN BUS or I must use a diver for example MCP201 ?

Did you use a PIC16 or PIC 18 Family ?

Do you have same tips about for me ?

Thanks for help.
mickey231bhq



Joined: 06 Apr 2005
Posts: 19
Location: Formosa

View user's profile Send private message

PostPosted: Sun Oct 02, 2005 11:13 am     Reply with quote

hi...Fabri
i'm use pic18F458 and mcp2551 & mcp201
do gateway...(CAN&LIN BUS)
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Mon Oct 03, 2005 1:12 am     Reply with quote

Hi mickey231bhq,

Is there any converter from PC, RS332 or USB, to LIN BUS ?

This will be useful for me in debug to test comunication.

Bye,
mickey231bhq



Joined: 06 Apr 2005
Posts: 19
Location: Formosa

View user's profile Send private message

PostPosted: Mon Oct 03, 2005 10:26 am     Reply with quote

yes...i have...Vector Cannoe tool..
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Mon Oct 03, 2005 10:57 am     Reply with quote

Can you give me more information about, for example price and were I can buy it ?

I haven't too mutch time and I can spend it.

Thanks
mickey231bhq



Joined: 06 Apr 2005
Posts: 19
Location: Formosa

View user's profile Send private message

PostPosted: Mon Oct 03, 2005 7:12 pm     Reply with quote

http://www.vector-informatik.com/pdf/CANalyzerDENalyzer.LIN_DataSheet_EN.pdf

http://www.vector-informatik.com/pdf/CANoeDENoe.LIN_DataSheet_EN.pdf
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Tue Oct 04, 2005 1:08 pm     Reply with quote

I'm waiting now a contact from Vector.

There's any simple way to simulate LIN BUS with RS232 and driver MCP201 ?
mickey231bhq



Joined: 06 Apr 2005
Posts: 19
Location: Formosa

View user's profile Send private message

PostPosted: Tue Oct 04, 2005 7:22 pm     Reply with quote

You must pay attention to your OPERATION MODES first, after entering OPERATION MODE, you can do LIN BUS with the hardware of RS232.
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Fri Oct 14, 2005 3:13 am     Reply with quote

Hi Mickey,

I'm waiting to receve a LIN BUS->RS232 Converter but I'm in trouble with PIC because I don't have already chosen from PC16 and PIC18.


I have to implement one Master and one Slave in Lin Bus.

By your esperience, shall I use standard UART for both Master and Slave or must use EUART, for example PIC16F690 ?

Thanks for replay
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group