<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Mazda CAN Bus</title>
	<atom:link href="http://www.madox.net/blog/projects/mazda-can-bus/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.madox.net/blog</link>
	<description>Perversions of an Engineer</description>
	<lastBuildDate>Tue, 31 Jan 2012 01:03:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: alex</title>
		<link>http://www.madox.net/blog/projects/mazda-can-bus/comment-page-1/#comment-22889</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Fri, 30 Dec 2011 09:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.madox.net/blog/?page_id=75#comment-22889</guid>
		<description>Hello,

I am working on a project that requires measuring individual wheel speeds. The problem is I have a 2011 Subaru WRX, and I was wondering how would I go about can bus sniffing to obtain those pids.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am working on a project that requires measuring individual wheel speeds. The problem is I have a 2011 Subaru WRX, and I was wondering how would I go about can bus sniffing to obtain those pids.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chema</title>
		<link>http://www.madox.net/blog/projects/mazda-can-bus/comment-page-1/#comment-18637</link>
		<dc:creator>chema</dc:creator>
		<pubDate>Wed, 07 Dec 2011 06:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.madox.net/blog/?page_id=75#comment-18637</guid>
		<description>more info about CD changer protocol plz )</description>
		<content:encoded><![CDATA[<p>more info about CD changer protocol plz )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.madox.net/blog/projects/mazda-can-bus/comment-page-1/#comment-18551</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 06 Dec 2011 18:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.madox.net/blog/?page_id=75#comment-18551</guid>
		<description>I&#039;d imagine the DRL (Daytime Running Lights) aren&#039;t controlled by the computer, it just doesn&#039;t make sense to do so.  Same with the door locks, they&#039;d be handled by the body computer and it probably only takes a direct digital input, not a command over the CAN bus.  Either way, both can be solved easily with a micro, some code and a little interface work and never have to touch the ECU.</description>
		<content:encoded><![CDATA[<p>I&#8217;d imagine the DRL (Daytime Running Lights) aren&#8217;t controlled by the computer, it just doesn&#8217;t make sense to do so.  Same with the door locks, they&#8217;d be handled by the body computer and it probably only takes a direct digital input, not a command over the CAN bus.  Either way, both can be solved easily with a micro, some code and a little interface work and never have to touch the ECU.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.madox.net/blog/projects/mazda-can-bus/comment-page-1/#comment-16217</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 03 Nov 2011 21:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.madox.net/blog/?page_id=75#comment-16217</guid>
		<description>Might have something to do with the CAN standard. If you look at this: http://www.keil.com/download/files/can_primer_2009sp.pdf it talks about how errors are controlled. Basically if an ECM (any device transmitting on CAN bus) detects that it is causing errors, it will remove itself from the bus. Perhaps this is the cause? Just a guess though, haven&#039;t done any testing.

I have a Mazda that I&#039;m planning on hooking up to a Beagleboard w/barker CAN interface and displayed on 7&quot; Xenarc. Short term project goals are to display information currently displayed on the in-dash LCD, ie: MPG, range etc... long term project goals would be to have iPhone tethered for internet on the move as well as streaming music to the radio with track data displayed on the Xenarc. Other long term goals (doubt these will ever happen) would include having active sensors for obstacle detection. Warnings would occur if say you had your turn signal on and were changing lanes into another car, for example, but other possible instances could be if your closure rate to a stopped car was too great.

-Tim</description>
		<content:encoded><![CDATA[<p>Might have something to do with the CAN standard. If you look at this: <a href="http://www.keil.com/download/files/can_primer_2009sp.pdf" rel="nofollow">http://www.keil.com/download/files/can_primer_2009sp.pdf</a> it talks about how errors are controlled. Basically if an ECM (any device transmitting on CAN bus) detects that it is causing errors, it will remove itself from the bus. Perhaps this is the cause? Just a guess though, haven&#8217;t done any testing.</p>
<p>I have a Mazda that I&#8217;m planning on hooking up to a Beagleboard w/barker CAN interface and displayed on 7&#8243; Xenarc. Short term project goals are to display information currently displayed on the in-dash LCD, ie: MPG, range etc&#8230; long term project goals would be to have iPhone tethered for internet on the move as well as streaming music to the radio with track data displayed on the Xenarc. Other long term goals (doubt these will ever happen) would include having active sensors for obstacle detection. Warnings would occur if say you had your turn signal on and were changing lanes into another car, for example, but other possible instances could be if your closure rate to a stopped car was too great.</p>
<p>-Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.madox.net/blog/projects/mazda-can-bus/comment-page-1/#comment-15306</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 18 Oct 2011 12:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.madox.net/blog/?page_id=75#comment-15306</guid>
		<description>Hi,

I just bought new Mazda 6 2.2 129 PS.
Is there any way to reprogram and make automatic lights to work as a day lights. In Croatia day lights are mandatory, so instead having automatic lights when dark comes, I would like to have lights on every time I start the engine.

As well I would like to have automatic door lock to lock the doors once I start driving as it is on some another cars available.

Thanks,
Alex</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I just bought new Mazda 6 2.2 129 PS.<br />
Is there any way to reprogram and make automatic lights to work as a day lights. In Croatia day lights are mandatory, so instead having automatic lights when dark comes, I would like to have lights on every time I start the engine.</p>
<p>As well I would like to have automatic door lock to lock the doors once I start driving as it is on some another cars available.</p>
<p>Thanks,<br />
Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jill</title>
		<link>http://www.madox.net/blog/projects/mazda-can-bus/comment-page-1/#comment-14990</link>
		<dc:creator>Jill</dc:creator>
		<pubDate>Wed, 12 Oct 2011 13:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.madox.net/blog/?page_id=75#comment-14990</guid>
		<description>I&#039;m looking to get the odometer off a Mazda 6 2011 to display on my iPhone.  Has anyone been able to do this?  Do you know where to find it?  The odometer for my 2007 Mazda 3 is in broadcast data but the 2011 Mazda 6 isn&#039;t and I haven&#039;t been able to find it.</description>
		<content:encoded><![CDATA[<p>I&#8217;m looking to get the odometer off a Mazda 6 2011 to display on my iPhone.  Has anyone been able to do this?  Do you know where to find it?  The odometer for my 2007 Mazda 3 is in broadcast data but the 2011 Mazda 6 isn&#8217;t and I haven&#8217;t been able to find it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madox</title>
		<link>http://www.madox.net/blog/projects/mazda-can-bus/comment-page-1/#comment-13330</link>
		<dc:creator>Madox</dc:creator>
		<pubDate>Thu, 15 Sep 2011 06:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.madox.net/blog/?page_id=75#comment-13330</guid>
		<description>There are service manuals out there... if you search hard enough :)</description>
		<content:encoded><![CDATA[<p>There are service manuals out there&#8230; if you search hard enough <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JasonP</title>
		<link>http://www.madox.net/blog/projects/mazda-can-bus/comment-page-1/#comment-13308</link>
		<dc:creator>JasonP</dc:creator>
		<pubDate>Thu, 15 Sep 2011 00:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.madox.net/blog/?page_id=75#comment-13308</guid>
		<description>I&#039;d love to know what manual you have that specifies CAN bus PIDs.  Sounds useful.</description>
		<content:encoded><![CDATA[<p>I&#8217;d love to know what manual you have that specifies CAN bus PIDs.  Sounds useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: YeYuS</title>
		<link>http://www.madox.net/blog/projects/mazda-can-bus/comment-page-1/#comment-13036</link>
		<dc:creator>YeYuS</dc:creator>
		<pubDate>Fri, 09 Sep 2011 02:48:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.madox.net/blog/?page_id=75#comment-13036</guid>
		<description>Great work!, I need to do some work on the HS CAN later but I can confirm some of the PIDs with my 2005 Mazda3 2.0L.

0x20F -&gt; Byte 0,1 -&gt; Brake Pressure (I think it&#039;s MPRETDR PID as stated in service manual)
0x205 -&gt; Byte 2 -&gt; Mask &amp;0x40 -&gt; Brake Pedal Switch  (BOO_ABS PID in the manual)
0x228 -&gt; Same here clutch and neutral
0x80 -&gt; Same i think
0x212 -&gt; confirmed</description>
		<content:encoded><![CDATA[<p>Great work!, I need to do some work on the HS CAN later but I can confirm some of the PIDs with my 2005 Mazda3 2.0L.</p>
<p>0x20F -&gt; Byte 0,1 -&gt; Brake Pressure (I think it&#8217;s MPRETDR PID as stated in service manual)<br />
0&#215;205 -&gt; Byte 2 -&gt; Mask &amp;0&#215;40 -&gt; Brake Pedal Switch  (BOO_ABS PID in the manual)<br />
0&#215;228 -&gt; Same here clutch and neutral<br />
0&#215;80 -&gt; Same i think<br />
0&#215;212 -&gt; confirmed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: YeYuS</title>
		<link>http://www.madox.net/blog/projects/mazda-can-bus/comment-page-1/#comment-13035</link>
		<dc:creator>YeYuS</dc:creator>
		<pubDate>Fri, 09 Sep 2011 02:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.madox.net/blog/?page_id=75#comment-13035</guid>
		<description>On my 2005 Mazda3 with the Bose Sound i got the following mappings:

none of the climate unit nor radio unit has special mapping except for two buttons

28F -&gt; Byte 4 -&gt; Mask &amp;0x10 -&gt; Clock Button
28F -&gt; Byte 4 -&gt; Mask &amp;0x08 -&gt; Info Button
28F -&gt; Byte 4 -&gt; Mask &amp;0x80 -&gt; The rest of the mapped functions

If you want to know which function is active:

28F -&gt; Byte 3 -&gt; 0x00 FM1
28F -&gt; Byte 3 -&gt; 0x22 FM2
28F -&gt; Byte 3 -&gt; 0x18 EX/CD

The only hope on this task is to sniff the HU unit protocol which is explained somewhere on the internets, I read some time ago a wiki about CD changer protocol and wheel buttons are mapped.</description>
		<content:encoded><![CDATA[<p>On my 2005 Mazda3 with the Bose Sound i got the following mappings:</p>
<p>none of the climate unit nor radio unit has special mapping except for two buttons</p>
<p>28F -&gt; Byte 4 -&gt; Mask &amp;0&#215;10 -&gt; Clock Button<br />
28F -&gt; Byte 4 -&gt; Mask &amp;0&#215;08 -&gt; Info Button<br />
28F -&gt; Byte 4 -&gt; Mask &amp;0&#215;80 -&gt; The rest of the mapped functions</p>
<p>If you want to know which function is active:</p>
<p>28F -&gt; Byte 3 -&gt; 0&#215;00 FM1<br />
28F -&gt; Byte 3 -&gt; 0&#215;22 FM2<br />
28F -&gt; Byte 3 -&gt; 0&#215;18 EX/CD</p>
<p>The only hope on this task is to sniff the HU unit protocol which is explained somewhere on the internets, I read some time ago a wiki about CD changer protocol and wheel buttons are mapped.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

