Shop OBEX P1 Docs P2 Docs Learn Events
MCP2515 - send and receive (problem) — Parallax Forums

MCP2515 - send and receive (problem)

MadDoCMadDoC Posts: 1
edited 2009-06-15 14:48 in Propeller 1
Hi, im new here and want to thank parallax for the great Propeller Chip.
Its great to see what this cool system can do.

I found the Object for the MCP2515 an took it to send and receive on a CAN-Bus.

The initialisation and writing to register is ok.
The Bus is online and i can send with PCAN-USB Packets on the BUS.

Now my Problems:

- When i send 1 Packet to CAN-Bus i see it in the right manner in PCAN. But the following Packets I see on CAN are random IDs (differnet from my sending).

Also the CAN receive is a problem.

- The 1st Message i send on the CAN with pCAN-USB can i receive with the Propeller (all Data),
but when i send another ID with different content the Module receives the Data of the first Packet.

Does anyone have the same problem or is it a problem of the layout?
I will add my code later, im in school now and dont have the source on usbstick.

greets from germany

Comments

  • LeonLeon Posts: 7,620
    edited 2009-06-15 14:48
    It might be worth looking at the Microchip forums; I think they have one for that chip.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
Sign In or Register to comment.