![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
Aryldo G Russo Jr Guest
|
CAN bus and 18F248 |
Posted: Sun Jul 13, 2003 10:02 am |
|
|
Hi all,
Does anyone have any experience with CAN bus and 18F248?
I'm trying to implement this protocol, but I got stuck just after I have the configuration done.
I'm using CCS C 3.168, and I can see, using the watch windows, that after I send the configuration comand, it was accept correctly.
then, if I put my module in Loopback mode, I can see everything I send out in my receive buffer.
but if I put it in normal mode, I can't see anything at the scope, and the transmit error buffer has more than 255 errors, so my module goes to buf off mode.
any ideas?
Thanks
Dinho
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515923 |
|
![](templates/subSilver/images/spacer.gif) |
Douglas Richard
Joined: 08 Sep 2003 Posts: 49 Location: Concord NH
|
Re: CAN bus and 18F248 |
Posted: Mon Jul 14, 2003 5:05 am |
|
|
Do you have another working node connected to your set up?
:=Hi all,
:=
:=Does anyone have any experience with CAN bus and 18F248?
:=
:=I'm trying to implement this protocol, but I got stuck just after I have the configuration done.
:=
:=I'm using CCS C 3.168, and I can see, using the watch windows, that after I send the configuration comand, it was accept correctly.
:=
:=then, if I put my module in Loopback mode, I can see everything I send out in my receive buffer.
:=
:=but if I put it in normal mode, I can't see anything at the scope, and the transmit error buffer has more than 255 errors, so my module goes to buf off mode.
:=
:=any ideas?
:=
:=Thanks
:=
:=Dinho
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515940 |
|
![](templates/subSilver/images/spacer.gif) |
Aryldo G Russo Jr Guest
|
Re: CAN bus and 18F248 |
Posted: Mon Jul 14, 2003 5:12 am |
|
|
I'm developing my first node at this time. what I tried to do was create 2 nodes, with the same firmware(under development), but even though it's not working. is there any trick that I could use to test my CAN module alone?
what do I have to do to be able to see the wave form at he scope?
Thanks
Dinho
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515941 |
|
![](templates/subSilver/images/spacer.gif) |
Douglas Richard
Joined: 08 Sep 2003 Posts: 49 Location: Concord NH
|
Re: CAN bus and 18F248 |
Posted: Tue Jul 15, 2003 7:14 am |
|
|
Make sure you drive your outputs Hi (not tristate).
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515998 |
|
![](templates/subSilver/images/spacer.gif) |
Mike Broom Guest
|
Re: CAN bus and 18F248 |
Posted: Thu Jul 17, 2003 4:13 am |
|
|
:=I'm developing my first node at this time. what I tried to do was create 2 nodes, with the same firmware(under development), but even though it's not working. is there any trick that I could use to test my CAN module alone?
:=
:=what do I have to do to be able to see the wave form at he scope?
:=
:=Thanks
:=
:=Dinho
if you are driving the output correctly, and thee bus is terminated then you should see the packets of data until the device bus off's
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516094 |
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|