AS/400 :: Robots :: Microcontroller :: Electronic :: Downloads :: Links :: Site History

feedback :: home



Nitron LCD Terminal

MON08 Programming and Debugging circuits

Nitron Oszillator trimming

AB32 Board

HC08 Flash programming

HCS08 Controller

HCS12 Controller

HC12 Welcome Kit


Zwobots Display






Having a HCS12 Design Kit from Softecmicro I will now enter the world of the Motorola HCS12 microcontrollers. The kit contains an inDART-HCS12 BDM pod, which is interfaced to an USB port and a demoboard with a MC9S12DP256 microcontroller. The BDM board is supported by Metrowerks Software, that is contained in the package. The HCS12 Special Edition of the Metrowerks Compiler supports up to 32 KB Code from C-programs . The is a GCC port that supports the HC12/HCS12 controllers too, so the full memory ca be used. I dont think that the BDM Pod will work together with GDB.

The Controllerboard can be powered by the BDM Pod via USB, but that might be not a good option if you got some more peripherals on the controller. You should use an external powersource for the MCU board in this case. The board is split in different sections and has a big prototyping area on it. All MCU pins are accessible on headers. For experimental purposes there are some switches an LEDŽs on the board, which can be disconnectwed by jumpers.

The MC9S12DP256 MCU used on this board belongs to the new generation of Motorolas 68HC12 microcontrollers. The HCS12 CPU is a 16 Bit processor. It can adress 64 KB of memory, but it is supportet by an integrated bankswitching logic. The MCU has an external memory interface, that can be used in 8 or 16 Bit wide operation. The MCU has the following features.
256 KB Flash
12 KB Ram
Clock frequency up to 25 MHz
2 asynchronous serial interfaces ( SCI or RS232 )
3 synchronous serial interfaces ( SPI )
8 Timer Channels ( Input Capture / Output Compare )
8 PWM Channels separated from the timer channels
2 8 channel 10 Bit A/D converter
5 CAN interfaces
BDLC and IIC interfaces
A total of 89 I/O Pins

Programming and debugging is done via BDM12. Unfortunally it is very hard for a hobbyist to hand solder a 112 Pin QFP chip. Fortunately there are smaller HCS12 devices. Having my first experiences in SMD soldering, I soldered a MC9S12C32 in a 52 pin QFP package on an adapterboard. Now I have to solder the board for the chip. IŽll use the TBDML BDM Pod that IŽve build for debugging and programming.






   © 2005 by Eckhard Gosch •