« Return to Thread: comparing 9S12 and S12X to Microchip PIC18

RE: comparing 9S12 and S12X to Microchip PIC18

by jpdi :: Rate this Message:

Reply to Author | View in Thread

Hi,

I use 9s12XDP512CAL (112 pins), with Imagecraft ICC12 compiler, and NoIce
debugger with USB BDM.
Very nice configuration.
Very easy to write very big programs with it in C or assembly (I prefer C
!!!).
Very easy to download program into flash with NoIce, then debug in C or
assembly language, put breakpoint, looking at datas, arrays, structs, ...

Very nice processor :
- XGate co-processor, very interesting for background routines (I use it for
real time clock, transmit/receive on serial SCI). Funny to write an XGate
thread and to see that thread running even in step-by-step debugging !
- 512 K Flash, with page system
- 12 K RAM directly used by the main CPU, 32 K by using Ram page system (32
K full used by XGate)
- PLL
- 6 serial communication interface (asynchronous interface). I use one of
them at 375 KBauds with XGate receiving at that rate
- 16 analog inputs
- timers, PWM
- serial peripheral interface
- some CAN bus, but I don't use them
- 2 I2C bus
- and I'm afraid I forgot some things...

Imagecraft and NoIce is a very good configuration, not expensive.
I use this processor with a 12 Mhz quartz, and, using PLL, at 24 Mhz without
problem.

Hope this help.

Joel



-----Message d'origine-----
De : 68HC12@... [mailto:68HC12@...] De la part de
Carl Ungvarsky
Envoyé : jeudi 16 avril 2009 17:40
À : 68hc12@...
Objet : [68HC12] comparing 9S12 and S12X to Microchip PIC18


Hi,

I have a design that currently uses a Microchip PIC18 MCU. I need to do a
major revision of the design and I have the choice to go to the next larger
PIC series, the PIC24, or another chip. I want to consider Freescale again.

 

I'll look at Freescale's parts selection matrix... but if someone is
familiar with how the latest 9S12 or S12X chips stack up against these
features, please comment.

 

PIC18

Vcc as low as 2V

low power modes, sleep current < 10uA

single chip system available

  up to 96K internal flash

  a few K of RAM

  some EEPROM

CAN controller available

in-circuit program and debug using ICSP port and debugger such as ICD2

(ICSD requires 2 signal pins and a Vpp pin)

Internal 10-bit ADC

up to 40 MHz ext osc, 10 MIPS max

 

 

The best devices in this family for my application are the PIC18F4680 -
PIC18F4685.

These have

  64K program flash (4680) or

  96K program flash (4685)

  3328 bytes RAM --->  rather small, would prefer say 8K

  CAN engine (works well)

  single USART (like SCI port) ---> would prefer two

  single SPI

  single I2C

  about 36 I/O ---> I need 8 or 16 more

  44 pin TQFP package

  $6.50 (4680, qty 1), or $9.00 (4685, qty 1)

 

 

The PIC24 has enough differences that the transition from PIC18 to PIC24 is
non-trivial. That's why I'm willing to consider another chip maker.

Thanks for your comments

Carl

_________________________________________________________________
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1b_explore_042009

[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links





 « Return to Thread: comparing 9S12 and S12X to Microchip PIC18