The HCS12 (or HC12) is a 16-bit microcontroller family introduced by Freescale Semiconductor, which is now a part of NXP Semiconductors.
At its heart, the HCS12 features a ๐๐-๐๐๐ ๐ช๐ท๐ผ known as the CPU12, an evolution from the earlier HC11 8-bit CPU. The HCS12 can address up to 16 MB of memory, using a combination of ๐๐-๐๐๐ ๐๐๐๐๐๐๐๐๐ and an additional global addressing byte.
Depending on the specific variant, ๐ฏ๐ช๐บ๐๐ ๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ can have varying amounts of onboard Flash memory, commonly used for program storage. The HCS12 family also includes onboard RAM, which is used for variable storage and runtime operations.
Some HCS12 variants come with EEPROM, which allows for non-volatile data storage that can be written during runtime. The HCS12 microcontrollers typically feature a Phase-Locked Loop (PLL) circuit that allows for internal clock multiplication, enabling the CPU to run at higher frequencies than the
external crystal.
The HCS12 is popular in both educational settings, due to its robust feature set and ease of learning, and in industry, especially in automotive and control systems.
HCS12 microcontroller family offers a robust set of features suitable for a wide range of applications. Its modular design, combined with a 16-bit architecture and a plethora of communication and control modules, makes it a versatile choice for embedded systems development.
In the following , you can find the code for calculating the Fibonacci Series in assembly following the Output.
Well done, now you are much closer to the controller.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
An Article by: Yashwanth Naidu Tikkisetty
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~