Freescale HCS12 Microcontroller

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
I'm going to be using the HCS12 in an upcoming design and for a class and I haven't had much experience with microcontrollers in general. I noticed that there is a lot more material out on the web for PICs and AVRs and haven't been able to find any great resources for the HCS12 series. Has anyone used them and can you provide any good advice about them?
 

RaynorWolfcastle

Diamond Member
Feb 8, 2001
8,968
16
81
as long as there is a C compiler available, they're all pretty much the same. Just look through the spec sheets to find the macro names for the registers and the functions you need and you're good to go.
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
One of the problems I've noticed is that I can't find a free C compiler for it. The compiler most be use is Codewarrior and the eval kit comes with a code-size limited version of it.
 

MAW1082

Senior member
Jun 17, 2003
510
7
81
welcome to learning assembly. if its a decent design class, im sure youre gonna have to learn program the controller with it. have fun
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
Actually the instructor isn't going to cover assembly. We've done some assembly in a previous class, but his philosophy is that 80% of microcontrollers are coded in C anyway. He said we should write the code in C, then profile it, and then go back and rewrite the parts where it spends most of its time in ASM.