Innovate MTS to Megasquirt MSCAN

Dependencies:   CANnucleo mbed

Fork of CANnucleo_Hello by Zoltan Hudak

INNOVATE MTS SERIAL STREAM TO MEGASQUIRT MSCAN ANALOG

This was tested on the olimex olimexino-stm32. code comes with no warrenty, always confirm AFR readings at the device.

I haven't tested this on an ECU or with an LM2 yet this has all been done with simulations, so there may be real world bugs.

code was based off http://developer.mbed.org/users/hudakz/code/CAN_Nucleo_Hello/ mts datasheet http://www.innovatemotorsports.com/support/downloads/Seriallog-2.pdf MSCAN http://www.msextra.com/doc/pdf/Megasquirt_CAN_Broadcast.pdf

** PLEASE NOTE ** MSCAN has table and data offsets to choose what data it requires, this code hasn't implimented any of that so regardless of them it just sends lambda for the first analog value and the mts function value in the second

MTS Serial is RS232 not ttl so you will need an RS-232 Transceiver

Changes

RevisionDateWhoCommit message
6:e977526d114f 2015-12-06 sordfish test default tip
5:c6503b7ae971 2015-10-23 hudakz Updated
4:ccf4ac2deac8 2015-07-25 hudakz updated
3:464b06c16d24 2015-07-24 hudakz bug in setting LED status fixed
2:49c9430860d1 2015-07-23 hudakz updated
1:267d6288df33 2015-07-19 hudakz rev 01
0:c5e5d0df6f2a 2015-07-19 hudakz rev 00