I notice you have a 47K resistor for RS on the MCP2551. I think that
value is too large. In the designs at our company, we connect the Rs
pin to Ground. We have pads for a resistor on the board, but we install
a 0-ohm resistor.
To connect the two CAN bus boards together:
1. Put a 120 ohm resistor across the CANH and CANL pins of the MCP2551 on each board. The resistors should be mounted close
to the MCP2551 on each board.
2. Connect CANH on Board #1 to CANH on board #2.
3. Connect CANL on Board #1 to CANL on board #2.
4. Connect a ground wire between both boards.
The two wires for CANH and CANL should be twisted pair.
Thanks for the details. Is it possible to have some thought over only 3 times output in normal mode? Since few others have had this problem(can be seen in the forum postings), is it a common bug? My compiler version PCWHD 4.0.0.0
Thanks in advance _________________ kansusid
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Thu Aug 13, 2009 11:50 am
Quote:
In connecting 2 nodes using MCP2551, could you pl suggest the hardware connections and simple code to just check handshaking ok?
Is it possible to have some thought over only 3 times output in normal mode?
Why don't you try the two board test program (and the connections)
that I posted in response to your request ? See if it works.
Quote:
My compiler version PCWHD 4.0.0.0
That's not the compiler version. You probably got that number
by right-clicking on the CCS icon and going to the Properties box.
The compiler version is given at the top of the .LST file. It's a number
in this format: 4.xxx
The .LST file is in your project directory.
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