Pages: 1 [2]
Author Topic: CAN timing with MCP  (Read 21867 times)
woj
Hero Member
*****

Karma: +43/-3
Offline Offline

Posts: 500


« Reply #15 on: December 26, 2017, 05:48:14 AM »

Problem solved, as usual it was a one-liner in the code. The interrupt based message arrival notification does not work with the real car CAN traffic, I suspect the Arduino is simply flooded with interrupt requests and shits itself. API based polling solved the problem.
Logged
tao13
Sr. Member
****

Karma: +17/-47
Offline Offline

Posts: 471


« Reply #16 on: January 02, 2020, 09:56:29 AM »

Hi.
I have an mcp shield and arduino.
If i sniffing my ecu me7.5 i get some pids with many value who are send by the ecu every 50-100ms.
I try to send some message to me7.5 to get pid values who is not send automaticaly by ecu but without any result.
First question is if i initiate some protocol before send request from ecu on can?
Second, this is my message who i send on canbus and i'm waiting an answer, but ecu not respnd:
{0X7eDF, 0x02, 0x01, pid, 0, 0, 0, 0, 0};
pid can be 0x05 ..... all pid from standard obd2 pids
Thanks in advance from your help
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.016 seconds with 17 queries. (Pretty URLs adds 0s, 0q)