• AVR Freaks

RPI + MCP2515 + TJA1050 Payload Issue

Author
Hexor
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2016/05/30 09:20:21
  • Location: 0
  • Status: offline
2019/11/26 04:18:43 (permalink)
0

RPI + MCP2515 + TJA1050 Payload Issue

Hello,
 
I'm using a Raspberry PI 3B+ with a CAN board composed of MCP2515 + TJA1050.
 
On my desk, with an Arduino + CAN board as sender : no problem receiving CAN's frames (ID + Payload are OK)
When I try on a car I have sometime issue with the Payload : Bit seem to be shifted on my payload.
 
Someone had alreay see this ? Do you know where the problem can be ?
 
Example :
 
bad frame : 
bytearray(b'\xd7\x00\x00\x00\xcd\xd0\xce\x2a')
 
Good frame:
bytearray(b'\xcd\xd0\xce\x2a\xd9\x00\x00\x00')
 
 
 
Thanks for your help
 
#1

0 Replies Related Threads

    Jump to:
    © 2020 APG vNext Commercial Version 4.5