Author |
Message |
Topic: Error handling routine CAN BUS |
dara hayes
Replies: 5
Views: 15499
|
Forum: General CCS C Discussion Posted: Fri Sep 10, 2004 2:55 pm Subject: CCS CAn driver |
sorry the two errors I refer to are the can error interrupt and the IRx
as follows
#INT_CANERR // can error
void do_canerror(void)
{ printf("\r\nCAN_ERR");}
#INT_CANIRX // in ... |
Topic: Error handling routine CAN BUS |
dara hayes
Replies: 5
Views: 15499
|
Forum: General CCS C Discussion Posted: Thu Sep 09, 2004 7:57 am Subject: Can error handling |
thanks your reply
I got a time stamp and a terminator chars in the tail of each message so I know when messages are not complete, but the errors Im talking of are physical interrupt events which occu ... |
Topic: Error handling routine CAN BUS |
dara hayes
Replies: 5
Views: 15499
|
Forum: General CCS C Discussion Posted: Thu Sep 09, 2004 5:06 am Subject: Error handling routine CAN BUS |
Hello
am looking for tips on how to handle errors such as INVALID ID and
CAN ERROR while sending or receiving can frames
using the 258 device and about 10 nodes on short distance 1mBit bus
I cu ... |
Topic: CAN BUS |
dara hayes
Replies: 9
Views: 19537
|
Forum: General CCS C Discussion Posted: Tue Sep 07, 2004 10:39 am Subject: CAN BUS |
PCM programmer - Thanks for the address, yeah that looks like it's their site. I've sent them a mail, I'll let you know what happens. :wi :arrow: nk:
Hello did you get anywhere looking for those dri ... |
Topic: MCP2551 Slope Resistors |
dara hayes
Replies: 1
Views: 10666
|
Forum: General CCS C Discussion Posted: Thu Feb 05, 2004 5:06 pm Subject: Read the Datasheet AGAIN |
Hello
CANCEL MY LAST
Short the pin for high speed , missed the vital third mode "high speed"
was too concerned with actual value of resistor , I am using double screened cable so I dont need SLOPE ... |
Topic: MCP2551 Slope Resistors |
dara hayes
Replies: 1
Views: 10666
|
Forum: General CCS C Discussion Posted: Thu Feb 05, 2004 4:30 pm Subject: MCP2551 Slope Resistors |
Hello all
am using a combination of phillips transceivers and Mchip parts
82C251 and MCP2551 , the levels from the phillips parts are .4v
larger than the Mchip output bus swings and the Mcp parts ... |
Topic: Sending more than 3 frames with CAN BUS |
dara hayes
Replies: 9
Views: 30645
|
Forum: General CCS C Discussion Posted: Tue Jan 27, 2004 9:13 am Subject: more than 3 frames code sample |
Here follows some code samples showing how I transmit many can frames in the correct order in which there are loaded into the buffers
without losing hold of the can bus (assuming no lost arbitration ... |
Topic: Sending more than 3 frames with CAN BUS |
dara hayes
Replies: 9
Views: 30645
|
Forum: General CCS C Discussion Posted: Mon Jan 26, 2004 8:50 am Subject: more than 3 frames with can bus |
Hello
Following from Michael Lieske Mchip usa the trick is to fill buffer 0 with
prior 3 buffer 2 with prior2 buffer 1 with prior1 and then transmit
the first three frames and upon can tx 2 inte ... |
Topic: Sending more than 3 frames with CAN BUS |
dara hayes
Replies: 9
Views: 30645
|
Forum: General CCS C Discussion Posted: Sun Jan 04, 2004 8:17 pm Subject: can bus multi frames |
Thanks for your input
Yes the can bus is not designed for this type of data delivery but I reckon
my problem is partly due to the way I am accessing the rx buffers i am not using interrupts directly ... |
Topic: Sending more than 3 frames with CAN BUS |
dara hayes
Replies: 9
Views: 30645
|
Forum: General CCS C Discussion Posted: Sat Jan 03, 2004 6:45 pm Subject: The Answer is |
Hello all
I think I have found the answer to my problem
I scoped the bus and found that the correct number of frames were being sent the reason I couldnt see them was the speed of the receiver RS2 ... |
Topic: Sending more than 3 frames with CAN BUS |
dara hayes
Replies: 9
Views: 30645
|
Forum: General CCS C Discussion Posted: Sat Jan 03, 2004 4:35 pm Subject: more than 3 frames on can |
ola !
and many thanks for your reply
my can bus is the physical bus on the dev kit pcb , and it works fine between the four nodes on this board, node A is my transmitter (18F458) and node b (16f876a ... |
Topic: Sending more than 3 frames with CAN BUS |
dara hayes
Replies: 9
Views: 30645
|
Forum: General CCS C Discussion Posted: Sat Jan 03, 2004 12:11 pm Subject: Sending more than 3 frames with CAN BUS |
Hello all
am using a simple piece of code taken from the CCS Can Dev kit samples to send some bytes across can bus
the problems seem to occur when I want to send more than 24bytes
(more than 3 c ... |
|