> I also have CAN running on the 9S12XEP100 processor communicating with
> the Megasquirt firmware on the 9S12C64.
Just for reference. The solution was that there is a bug on the board
connecting TXCAN and RXCAN with about 2 Ohm (instead of infinite
resistance). We have another Megasquirt (not Microsquirt) unit where
everything works fine. I just hope that not Microsquirts have this
broken board...
Johannes
>
>
>
>
--
Johannes Schmid
High-Octane-Motorsports
Teamleiter Elektronik johannes.schmid@...
0179 / 1674917
Hi everybody! I have a problem using the CAN-Bus interface of the HCS12 used in the MicroSquirt(tm) ECU we use on our Formula race car. Following the various...
Johannes Schmid
johannes.schmid@...
May 6, 2009 6:34 pm
I didn't look over your code but your comments about the message continuing to send caught my attention. This might be an obvious question, but do you have at...
Hi! ... Yes, we have two terminations and tried with various nodes. As already said, we also checked the ACK on the Bus using a scope. The other nodes are...
Johannes Schmid
johannes.schmid@...
May 6, 2009 9:12 pm
ok, I thought it was important to cover the basics first as you just never know where a person is starting from. Here is some very old and outdated code but...
Hi! Thanks, I think I found this in the mailing list archive before because this was the code I started from. I had to change some names because register...
Johannes Schmid
johannes.schmid@...
May 6, 2009 9:33 pm
yes, it did work on hardware. Is it possible you have a hardware rec pin issue? That would explain the correct Ack on the bus and the continuous sending. Is ...
Hi! ... Well, the schemas are available here: http://www.microsquirt.info/us_hardware.htm We bought the pre-build device so I hope there are no routing errors....
Johannes Schmid
johannes.schmid@...
May 7, 2009 8:51 am
Bus could be flooded due to bitrate mismatch. If only one device is sending at a time, then the width of the shortest pulse on the bus equals to the bit time...
Hi! ... OK, I will check this. Unforntunately the bus timing documentation of the hcs12 is a bit strage but I will have a second look at it. Thanks, Johannes ...
Johannes Schmid
johannes.schmid@...
May 7, 2009 8:52 am
Hi! ... OK, I checked the clock speed things again and it's absolutely correct. Here is the code: /* Set Can enable, use IPBusclk (24 MHz),clear rest */ ...
Johannes Schmid
johannes.schmid@...
May 7, 2009 9:56 am
Hello all, I am looking for a good tutorial type book on my microcontroller. I have a MC9S12DP512 on a CMD-12DP512 development board. Devry provided me with a...
Hello all, I am looking for a good tutorial type book on my microcontroller. I have a MC9S12DP512 on a CMD-12DP512 development board. For my old HC11, I...
... I recommend "Programming the Motorola M68HC12 Family" by Gordon Doughman. I'm also using the MC9S12DP512 on a Adapt9S12DP512 board and programming in...
*Software and Hardware Engineering: Motorola M68HC12 *by Prof. Fred Cady and Jim Sibigtroth Available from Oxford University press, Amazon, or Barnes & Noble...
Hi Jerry, There are some newer books that specifically cover the MC9S12 (as opposed to the older 68HC12 technology). I've compiled a list of all the books...
Thanks a lot Carl! I would also like to thank all of you for your replies! With all of the engineering tasks my job puts in front of me, this will make things...
Hi! ... Yes, I did: http://www.msefi.com/viewtopic.php?f=69&t=35338 Actually I really would like to use the msextra code because it has a much better structure...
Johannes Schmid
johannes.schmid@...
May 12, 2009 8:07 pm
Once I understood the Megasquirt usage of CAN, it has been working ok. I also have CAN running on the 9S12XEP100 processor communicating with the Megasquirt...
Hi! ... Just for reference. The solution was that there is a bug on the board connecting TXCAN and RXCAN with about 2 Ohm (instead of infinite resistance). We...