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 CCS Technical Support

Search found 8 matches
CCS Forum Index
Author Message
  Topic: CAN bus speed 1 mb
Sultan

Replies: 9
Views: 14785

PostForum: General CCS C Discussion   Posted: Mon Sep 10, 2012 8:45 am   Subject: CAN bus speed 1 mb
Hi
Thanx. I tried to change speed to 200kbs,250kbs, 500kbs,600kbs...... but apart from 125kbs no speed setting is working. My other node is CAN analyzer. 200kbs is not that higher a speed but still?? ...
  Topic: CAN bus speed 1 mb
Sultan

Replies: 9
Views: 14785

PostForum: General CCS C Discussion   Posted: Mon Sep 10, 2012 8:21 am   Subject: CAN bus speed 1 mb
Hi
Thanx a lot for your help. I tried these settings but they did not work. I also tried MBTime software that is tool to calculate bit timing for CAN bus by Microchip, but those settings did not work ...
  Topic: CAN bus speed 1 mb
Sultan

Replies: 9
Views: 14785

PostForum: General CCS C Discussion   Posted: Tue Jun 12, 2012 8:56 am   Subject: CAN bus speed 1 mb
Hi
I am using PIC18f4680 and clock frequency is 20 MHz. Datasheet says these are valid values for registers!!!!!
  Topic: CAN bus speed 1 mb
Sultan

Replies: 9
Views: 14785

PostForum: General CCS C Discussion   Posted: Tue Jun 12, 2012 5:39 am   Subject: CAN bus speed 1 mb
Hi
I want to increase CAN bus speed from 125k to 1MB. I made following changes to CAN header file.
prescalar =0
seg1 =3
propagation=0
seg2 =3
But!!!!!!!!!!!!!!!!
its not working!@#$
Any help ...
  Topic: Reception on CAN
Sultan

Replies: 8
Views: 9107

PostForum: General CCS C Discussion   Posted: Wed Feb 01, 2012 9:49 am   Subject: Reception on CAN
Hi
Transmission baud rate is 125K . I haven't changed defaults of can_init function in can-18xxx8.c. I assume the line
can_set_id(RX0MASK, CAN_MASK_ACCEPT_ALL, CAN_USE_EXTENDED_ID); //set mask 0 ...
  Topic: Reception on CAN
Sultan

Replies: 8
Views: 9107

PostForum: General CCS C Discussion   Posted: Wed Feb 01, 2012 8:29 am   Subject: Reception on CAN
Hi
I have done the opposite. PIC is sending data on CAN bus which can be monitored through CAN analyzer.
  Topic: Reception on CAN
Sultan

Replies: 8
Views: 9107

PostForum: General CCS C Discussion   Posted: Wed Feb 01, 2012 7:36 am   Subject: Reception on CAN
Hi. Following is the code

#include <18F4680.h>
#fuses HS,NOPROTECT,NOLVP,NOWDT
#use delay(clock=20000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)

#include <can ...
  Topic: Reception on CAN
Sultan

Replies: 8
Views: 9107

PostForum: General CCS C Discussion   Posted: Tue Jan 31, 2012 11:26 pm   Subject: Reception on CAN
Hi. I need help regarding CAN communication using PIC 18F4680. I have used library developed for CAN prototype board. I have used example EX_CAN but nothing was received. I am sending data through CA ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group