Building a low cost OBD2 ECU Simulator

Re: Building a low cost OBD2 ECU Simulator

Postby firewalker » Wed Jul 25, 2018 10:18 am

Hello Martin!

Just wanted to say thanks you for you code and effort.

For those facing problems:

I had to change ITN32U canId = 0x000; to uint16_t canId = 0x000;. If someone uses a board with 8 MHz crystal, in the file mpc_can.h the line

Code: Select all
byte begin(byte speedset, const byte clockset = MCP_16MHz);     // init can


should be changed to

Code: Select all
byte begin(byte speedset, const byte clockset = MCP_8MHz);     // init can
firewalker
 
Posts: 1
Joined: Wed Jul 25, 2018 9:49 am

Previous

Return to OBD2 & CAN-BUS Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron