MCP2515 - send and receive (problem)
MadDoC
Posts: 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
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
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle