BMW M3 Forum
BMW M3 Forum BMW M3 Gallery BMW M3 Reviews BMW M3 Social Groups BMW M3 Chat M3Forum Sponsors >>
Loading


Mobile M3forum
Go Back   BMW M3 Forum.com (E30 M3 | E36 M3 | E46 M3 | E92 M3 | F80/X) > BMW M3 Discussions > E90 M3 (Sedan) | E92 M3 (Coupe) | E93 M3 (Convertible) (2008-2013)
Tire Rack Buy Winter Tires Now!
Not a member? Register Now!
Register Gallery All Albums Garage Search Today's Posts Mark Forums Read Calendar FAQ

E90 M3 (Sedan) | E92 M3 (Coupe) | E93 M3 (Convertible) (2008-2013) {Engine: S65 - Max Hp: 414 hp (420 hp Euro) at 8,300 rpm / 295 lb/ft at 3,900 rpm}


Reply
 
Thread Tools Display Modes
Old Wed, Jun-06-2012, 10:50:24 AM   #11
lucky_doggg7
lucky_doggg7
 
Join Date: Apr 2008
Posts: 2,117
Reputation: 11 lucky_doggg7 is on a distinguished road
Location: Lake Forest

United States




Default Re: Reverse engineering the engine ECU PT-CAN data bus for the MSS60 (M3) ECU

Wow; and I thought ya only played cards... )
Jump to top lucky_doggg7 is offline   Reply With Quote
Sponsored Links
Register now and remove these ads
Old Tue, Jun-12-2012, 09:22:01 PM   #12
PencilGeek
2008 M3 - Red
 
Join Date: May 2008
Posts: 846
Reputation: 0 PencilGeek is on a distinguished road

United States




Default Re: Reverse engineering the engine ECU PT-CAN data bus for the MSS60 (M3) ECU

Quote:
Originally Posted by lucky_doggg7 View Post
Wow; and I thought ya only played cards... )
Not sure what this means. Can I get a hint?
__________________
Jump to top PencilGeek is offline   Reply With Quote
Old Tue, Jun-12-2012, 11:00:25 PM   #13
flipm3
E46 M3 | E90 M3
 
flipm3's Avatar
 
Join Date: Nov 2001
Posts: 7,856
Reputation: 0 flipm3 is on a distinguished road
Location: Chicago

Philippines




Default Re: Reverse engineering the engine ECU PT-CAN data bus for the MSS60 (M3) ECU

This is intense to say the least. Very cool!

Are there ways to log and record AFR and Ignition Timing while on the road? I apologize if that question is incredibly rudimentary.
__________________

2004 E46 M3 6MT | Silver Grey . Cloth | My E46 M3 Build Thread
2009 E90 M3 DCT | Melbourne Red . Speed Cloth | My E90 M3 Build Thread
2002 E46 M3 6MT | Jet Black . Black Nappa | My E46 M3 Build Thread
2016 981 Cayman 6MT | White . Black | Coming Soon

POST YOUR DYNO GRAPH HERE: The Official Dyno Thread
Jump to top flipm3 is offline   Reply With Quote
Old Wed, Jun-13-2012, 02:16:16 AM   #14
PencilGeek
2008 M3 - Red
 
Join Date: May 2008
Posts: 846
Reputation: 0 PencilGeek is on a distinguished road

United States




Default Re: Reverse engineering the engine ECU PT-CAN data bus for the MSS60 (M3) ECU

Quote:
Originally Posted by flipm3 View Post
This is intense to say the least. Very cool!

Are there ways to log and record AFR and Ignition Timing while on the road? I apologize if that question is incredibly rudimentary.
The ECU doesn't store the data. You would need a laptop to data log while on the road. But yes, with a laptop, you could data log AFR, Timing, IAT, and dozens of other values.

The VT1-535 heat soak test article posted on m3post, is an example of what can be collected with this method. The data collected for that article is a direct benefit of the work in this article.
__________________
Jump to top PencilGeek is offline   Reply With Quote
Old Wed, Jun-13-2012, 03:39:16 AM   #15
Terrapin
Registered User
 
Join Date: Nov 2006
Posts: 1,345
In the garage:
Reputation: 0 Terrapin is on a distinguished road





Default Re: Reverse engineering the engine ECU PT-CAN data bus for the MSS60 (M3) ECU

Hey fellas, I'm not sure what protocol the PT-CAN is using but I built an I-Bus interface that connects to any android device over USB. I-Bus has been replaced by the MOST bus (fiber optic) but the board has two LIN-Bus compatible transceivers. If what you're trying to log/store is a single wire +12V signal, my board should be able to log it to an android phone.
__________________
Jump to top Terrapin is offline   Reply With Quote
Old Wed, Jun-13-2012, 03:47:05 PM   #16
PencilGeek
2008 M3 - Red
 
Join Date: May 2008
Posts: 846
Reputation: 0 PencilGeek is on a distinguished road

United States




Default Re: Reverse engineering the engine ECU PT-CAN data bus for the MSS60 (M3) ECU

Quote:
Originally Posted by GoTerps View Post
Hey fellas, I'm not sure what protocol the PT-CAN is using but I built an I-Bus interface that connects to any android device over USB. I-Bus has been replaced by the MOST bus (fiber optic) but the board has two LIN-Bus compatible transceivers. If what you're trying to log/store is a single wire +12V signal, my board should be able to log it to an android phone.
It's a 500k/bit differential bus. I think it's LIN, but not totally sure. When logging to Android, what data format do you store the data? Data logging the PT-CAN bus consumes about 10MB/minute.

Do you have a link to your device?
__________________
Jump to top PencilGeek is offline   Reply With Quote
Old Thu, Jun-14-2012, 12:15:45 AM   #17
Terrapin
Registered User
 
Join Date: Nov 2006
Posts: 1,345
In the garage:
Reputation: 0 Terrapin is on a distinguished road





Default Re: Reverse engineering the engine ECU PT-CAN data bus for the MSS60 (M3) ECU

Here is the thread I started: http://m3forum.net/m3forum/showthread.php?t=362365

I'd need to see more detailed specs on the bus. If its truly differential then I'd have to put a different chip on the board but I'm pretty sure it can handle 500kbps as is.

Edit: did a little digging. the PT-bus is completely different from the I-bus as you can imagine. I'd have to redesign the interface side...and acquire an e9x for testing . I'm not surprised though. Now that there is so much software running the car it makes sense that the sensors would have to talk much faster than good ol 9600 baud.
__________________

Last edited by Terrapin; Thu, Jun-14-2012 at 01:07:09 AM.
Jump to top Terrapin is offline   Reply With Quote
Old Thu, Jun-14-2012, 01:43:18 AM   #18
PencilGeek
2008 M3 - Red
 
Join Date: May 2008
Posts: 846
Reputation: 0 PencilGeek is on a distinguished road

United States




Default Re: Reverse engineering the engine ECU PT-CAN data bus for the MSS60 (M3) ECU

Quote:
Originally Posted by GoTerps View Post
Here is the thread I started: http://m3forum.net/m3forum/showthread.php?t=362365

I'd need to see more detailed specs on the bus. If its truly differential then I'd have to put a different chip on the board but I'm pretty sure it can handle 500kbps as is.

Edit: did a little digging. the PT-bus is completely different from the I-bus as you can imagine. I'd have to redesign the interface side...and acquire an e9x for testing . I'm not surprised though. Now that there is so much software running the car it makes sense that the sensors would have to talk much faster than good ol 9600 baud.
Yep, looks like they are indeed different. Sure would be nice to have a low cost CAN data logger that doesn't require a computer.

You wouldn't need to borrow any cars to test a new device. You would only need to get a CAN adaptor for your computer. This is the one I use when I need to simulate a car...but don't have the car at my disposal.
http://www.phytec.com/products/can/p...s/peakusb.html
__________________
Jump to top PencilGeek is offline   Reply With Quote
Old Thu, Jun-14-2012, 01:52:14 AM   #19
flipm3
E46 M3 | E90 M3
 
flipm3's Avatar
 
Join Date: Nov 2001
Posts: 7,856
Reputation: 0 flipm3 is on a distinguished road
Location: Chicago

Philippines




Default Re: Reverse engineering the engine ECU PT-CAN data bus for the MSS60 (M3) ECU

Quote:
Originally Posted by PencilGeek View Post
The ECU doesn't store the data. You would need a laptop to data log while on the road. But yes, with a laptop, you could data log AFR, Timing, IAT, and dozens of other values.

The VT1-535 heat soak test article posted on m3post, is an example of what can be collected with this method. The data collected for that article is a direct benefit of the work in this article.
I thoroughly enjoyed that thread and all the data! Those are the types of threads that forums need more of.

I'm going to PM you to ask about the best way of logging AFR, Timing, and IAT on my laptop
__________________

2004 E46 M3 6MT | Silver Grey . Cloth | My E46 M3 Build Thread
2009 E90 M3 DCT | Melbourne Red . Speed Cloth | My E90 M3 Build Thread
2002 E46 M3 6MT | Jet Black . Black Nappa | My E46 M3 Build Thread
2016 981 Cayman 6MT | White . Black | Coming Soon

POST YOUR DYNO GRAPH HERE: The Official Dyno Thread
Jump to top flipm3 is offline   Reply With Quote
Old Thu, Jun-14-2012, 01:59:31 AM   #20
Terrapin
Registered User
 
Join Date: Nov 2006
Posts: 1,345
In the garage:
Reputation: 0 Terrapin is on a distinguished road





Default Re: Reverse engineering the engine ECU PT-CAN data bus for the MSS60 (M3) ECU

Quote:
Originally Posted by PencilGeek View Post
You wouldn't need to borrow any cars to test a new device.
Borrow?

Edit w/actual contribution: In a future revision of my board I could swap a LIN transciever with something like the Microchip MCP2515 (http://ww1.microchip.com/downloads/e...Doc/21801F.pdf) and make a few tweaks to my app to get a data logger that would work with a phone. But this speculation isn't really helpful to you now so I'll be back when I build something useful...
__________________

Last edited by Terrapin; Thu, Jun-14-2012 at 02:20:33 AM.
Jump to top Terrapin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 05:35:55 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
M3Forum.com and M3forum.net is in no way sponsored, endorsed or affiliated by or with BMW NA / BMW AG or any of it's subsidiaries or vendors.
BMW and M3 (E90 M3 | E92 M3 | E93 M3 | E46 M3 | E36 M3 | E30 M3) are registered trademarks of BMW AG.
M3Forum Terms of Service
Copyright 1999-2017 M3Forum.com
Discussing Reverse engineering the engine ECU PT-CAN data bus for the MSS60 (M3) ECU in the E90 M3 (Sedan) | E92 M3 (Coupe) | E93 M3 (Convertible) (2008-2013) Forum - {Engine: S65 - Max Hp: 414 hp (420 hp Euro) at 8,300 rpm / 295 lb/ft at 3,900 rpm} at BMW M3 Forum.com (E30 M3 | E36 M3 | E46 M3 | E92 M3 | F80/X)