| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| mickey231bhq 
 
 
 Joined: 06 Apr 2005
 Posts: 19
 Location: Formosa
 
 
			    
 
 | 
			
				| About LIN BUS 2.0 |  
				|  Posted: Wed Jun 08, 2005 8:17 pm |   |  
				| 
 |  
				| Does anyone use LIN BUS to do relevant application? have sample code?
 Tks.
  |  | 
	
		|  | 
	
		| Fabri 
 
 
 Joined: 22 Aug 2005
 Posts: 275
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Sep 29, 2005 8:53 am |   |  
				| 
 |  
				| 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
 
 
			      
 
 | 
			
				|  |  
				|  Posted: Thu Sep 29, 2005 9:30 am |   |  
				| 
 |  
				| Are you implementing Master or Slave? |  | 
	
		|  | 
	
		| Fabri 
 
 
 Joined: 22 Aug 2005
 Posts: 275
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Sep 29, 2005 9:38 am |   |  
				| 
 |  
				| Hi, 
 I have to implement a Master device
 |  | 
	
		|  | 
	
		| Mark 
 
 
 Joined: 07 Sep 2003
 Posts: 2838
 Location: Atlanta, GA
 
 
			      
 
 |  | 
	
		|  | 
	
		| mickey231bhq 
 
 
 Joined: 06 Apr 2005
 Posts: 19
 Location: Formosa
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Sep 29, 2005 7:01 pm |   |  
				| 
 |  
				| I write a library, can support MASTER and SLAVE at the same time by oneself.  |  | 
	
		|  | 
	
		| Fabri 
 
 
 Joined: 22 Aug 2005
 Posts: 275
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Sun Oct 02, 2005 7:43 am |   |  
				| 
 |  
				| 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
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Sun Oct 02, 2005 11:13 am |   |  
				| 
 |  
				| hi...Fabri i'm use pic18F458 and mcp2551 & mcp201
 do gateway...(CAN&LIN BUS)
 |  | 
	
		|  | 
	
		| Fabri 
 
 
 Joined: 22 Aug 2005
 Posts: 275
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Mon Oct 03, 2005 1:12 am |   |  
				| 
 |  
				| 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
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Mon Oct 03, 2005 10:26 am |   |  
				| 
 |  
				| yes...i have...Vector Cannoe tool.. |  | 
	
		|  | 
	
		| Fabri 
 
 
 Joined: 22 Aug 2005
 Posts: 275
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Mon Oct 03, 2005 10:57 am |   |  
				| 
 |  
				| 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
 
 
			    
 
 |  | 
	
		|  | 
	
		| Fabri 
 
 
 Joined: 22 Aug 2005
 Posts: 275
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Tue Oct 04, 2005 1:08 pm |   |  
				| 
 |  
				| 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
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Tue Oct 04, 2005 7:22 pm |   |  
				| 
 |  
				| 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
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Fri Oct 14, 2005 3:13 am |   |  
				| 
 |  
				| 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
 |  | 
	
		|  | 
	
		|  |