Differences between MC9S12 CPUs

All questions about MS2/Microsquirt/Microsquirt module. See also MS2/Extra manuals

Moderators: jsmcortina, muythaibxr

Post Reply
sub
MS/Extra Newbie
Posts: 7
Joined: Tue Oct 27, 2009 11:44 pm

Differences between MC9S12 CPUs

Post by sub »

Hello,

i got some MC9S12C64MFAE µCs... my ms2-board hat C64CFAE on it.
What are the differences and will the MFAE work also?

Greetings, Stephan
sub
MS/Extra Newbie
Posts: 7
Joined: Tue Oct 27, 2009 11:44 pm

Re: Differences between MC9S12 CPUs

Post by sub »

ok, i think i found the differences ...

CFAEs maximum operation temperature is 85°C
MFAEs is 125°C

feel free to correct me if i'm wrong.

i wonder why original bg-boards use the 85°C version...
acab
Experienced MS/Extra'er
Posts: 243
Joined: Tue Aug 21, 2012 5:52 am

Re: Differences between MC9S12 CPUs

Post by acab »

Is it real to use MC9S12XS128 instead MC9S12C64?
SymTech Laboratories
Super MS/Extra'er
Posts: 2188
Joined: Sun Aug 31, 2008 4:02 pm
Location: South Florida, USA
Contact:

Re: Differences between MC9S12 CPUs

Post by SymTech Laboratories »

sub wrote:ok, i think i found the differences ...

CFAEs maximum operation temperature is 85°C
MFAEs is 125°C

feel free to correct me if i'm wrong.

i wonder why original bg-boards use the 85°C version...
This is an old post, but that's correct, "C" signifies -40°C to 85°C operation and "M" signifies -40°C to 125°C operation. Keep in mind that most MegaSquirt products aren't designed for under hood installation, so the increased operating temperature range isn't necessary.
SymTech Laboratories, LLC ----- MSQ File Repository: megasquirt.symtechlabs.com
Image
SymTech Laboratories
Super MS/Extra'er
Posts: 2188
Joined: Sun Aug 31, 2008 4:02 pm
Location: South Florida, USA
Contact:

Re: Differences between MC9S12 CPUs

Post by SymTech Laboratories »

acab wrote:Is it real to use MC9S12XS128 instead MC9S12C64?
That won't work. The S12XS is a completely different device than the S12C.
SymTech Laboratories, LLC ----- MSQ File Repository: megasquirt.symtechlabs.com
Image
acab
Experienced MS/Extra'er
Posts: 243
Joined: Tue Aug 21, 2012 5:52 am

Re: Differences between MC9S12 CPUs

Post by acab »

What about MC9S12C96 and MC9S12C12 instead of MC9S12C64 for future programming?
SymTech Laboratories
Super MS/Extra'er
Posts: 2188
Joined: Sun Aug 31, 2008 4:02 pm
Location: South Florida, USA
Contact:

Re: Differences between MC9S12 CPUs

Post by SymTech Laboratories »

acab wrote:What about MC9S12C96 and MC9S12C12 instead of MC9S12C64 for future programming?
Assuming you mean MC9S12C128, in our experience there's no problem substituting a chip with more Flash for one with less, but there's no advantage -- they cost more and the code isn't written to take advantage of the extra memory. Considering how many MS2 systems are out there using the C64 chip, it's unlikely the code will ever be rewritten to support the C96 or C128 chips.
SymTech Laboratories, LLC ----- MSQ File Repository: megasquirt.symtechlabs.com
Image
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: Differences between MC9S12 CPUs

Post by racingmini_mtl »

SymTech Laboratories wrote:
acab wrote:What about MC9S12C96 and MC9S12C12 instead of MC9S12C64 for future programming?
Assuming you mean MC9S12C128, in our experience there's no problem substituting a chip with more Flash for one with less, but there's no advantage -- they cost more and the code isn't written to take advantage of the extra memory. Considering how many MS2 systems are out there using the C64 chip, it's unlikely the code will ever be rewritten to support the C96 or C128 chips.
While it's true that it costs more, it's not true that the code doesn't use the memory. The C64 is actually a C128 with a different label. The MS2/Extra takes advantage of this and uses the additional flash space.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
SymTech Laboratories
Super MS/Extra'er
Posts: 2188
Joined: Sun Aug 31, 2008 4:02 pm
Location: South Florida, USA
Contact:

Re: Differences between MC9S12 CPUs

Post by SymTech Laboratories »

racingmini_mtl wrote:While it's true that it costs more, it's not true that the code doesn't use the memory. The C64 is actually a C128 with a different label. The MS2/Extra takes advantage of this and uses the additional flash space.
That's right, we forgot about the additional 64k in the C64. In general, the dies are the same from one chip to another in the same family, but the higher memory addresses are permanently inaccessible. For instance, 32k is the limit in the very first MS2 cards with C32 chips.
SymTech Laboratories, LLC ----- MSQ File Repository: megasquirt.symtechlabs.com
Image
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: Differences between MC9S12 CPUs

Post by racingmini_mtl »

The C32 is probably a different die because it also has 2K RAM instead of 4K.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
SymTech Laboratories
Super MS/Extra'er
Posts: 2188
Joined: Sun Aug 31, 2008 4:02 pm
Location: South Florida, USA
Contact:

Re: Differences between MC9S12 CPUs

Post by SymTech Laboratories »

racingmini_mtl wrote:The C32 is probably a different die because it also has 2K RAM instead of 4K.
That's possible -- but we're digressing.

acab, to answer your question, you can use the MC9S12C128, but there's no benefit as it has the same amount of accessible memory as the C64 and it costs significantly more in single unit quantities.
Last edited by SymTech Laboratories on Mon Feb 25, 2013 10:26 am, edited 2 times in total.
SymTech Laboratories, LLC ----- MSQ File Repository: megasquirt.symtechlabs.com
Image
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Differences between MC9S12 CPUs

Post by jsmcortina »

The C32 IS a different die, do not try to use it for Megasquirt.

C64, 96, 128 are the same die and work interchangeably.

See page 679 of the MC9S12C128 datasheet v 01.20

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
SymTech Laboratories
Super MS/Extra'er
Posts: 2188
Joined: Sun Aug 31, 2008 4:02 pm
Location: South Florida, USA
Contact:

Re: Differences between MC9S12 CPUs

Post by SymTech Laboratories »

jsmcortina wrote:The C32 IS a different die, do not try to use it for Megasquirt.

C64, 96, 128 are the same die and work interchangeably.
We edited that last post. "C32" was a typo, we meant that the C128 has the same amount of accessible memory as the C64.
SymTech Laboratories, LLC ----- MSQ File Repository: megasquirt.symtechlabs.com
Image
Post Reply