Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Canbus for iaw5am iaw 59am ducati monster

  1. #1
    Junior Member
    Join Date
    Nov 2019
    Posts
    1

    Canbus for iaw5am iaw 59am ducati monster

    hi all,

    Neewby in coding with teensy, i read some posts about mrCanbus on how to decode her ducati multistrada.

    My project is different because ecu is iaw5am or iaw59am but operation are similar. i've changed myd dashboard. Oem dashboard have just an error lamp on the screen which indicates EOBD error but without any messages. I want to use a teensy 3.5 ( CANBUS native, and a lcd screen) to show error message. I've succeeded to have the speficition about ecu but i doesn't undestand how to implement it .

    A lot of sotware use the initialization about kw2000. But i want to use can H and Can L wire to access to the error codes.

    In the specification about Fiat marelli, we can read this example

    Click image for larger version. 

Name:	1.png 
Views:	12 
Size:	28.1 KB 
ID:	18146

    Click image for larger version. 

Name:	2.png 
Views:	8 
Size:	24.8 KB 
ID:	18147

    Click image for larger version. 

Name:	3.png 
Views:	11 
Size:	124.8 KB 
ID:	18148

    But we have no examples on how to make that ? Does anybody can explain me ? thank's

  2. #2
    Senior Member
    Join Date
    Feb 2015
    Posts
    119
    I'm not a canbus expert, but I have some advice.

    The way to think about canbus is that it's very similar to ethernet. Ethernet is a transport, and to do anything useful with it, you have to know the protocol that is being used. So, you'll need to form a packet that tells the ECU which piece of information you want to be sent. And then, you'll have to know how to get that information out of the response packet.

    Here's an example project that might help: https://github.com/skpang/Teensy_CAN-Bus_ECU_reader and the corresponding hardware for it: http://skpang.co.uk/catalog/teensy-c...32-p-1507.html

    The magic happens in this file: https://github.com/skpang/Teensy_CAN...ecu_reader.cpp Starting on line 25, the message is stuffed with the correct values, and then sent. Then starting on line 49, the response is unpacked and used.

    Now - I can't tell based on the images that you posted if your ECU is using a similar protocol. As I said I'm not a canbus expert so I don't know if there are industry standards for this stuff, so maybe the project that I linked to will just work straight away on your ECU. But anyway, hopefully that gives you an idea of how to proceed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •