Site icon Free Online PCB CAD Library

Examining Important Features of Microcontrollers for Embedded Design

The features of microcontrollers provide the brains for smart electronics

Microcontrollers: The brains of smart electronics everywhere

Today, ‘smart’ devices, appliances, systems, and even buildings surround and enhance our lives. However, making smart decisions requires a brain. And the brain of smart electronics can invariably be traced to an embedded system.

Embedded systems refer to electronics, or more specifically, PCBAs, that contain microcontrollers on an onboard computer. Microcontrollers typically differ from your PC, laptop, or tablet computer in that they are designed for specific functionality, as opposed to being structured to run applications. Therefore, to effectively design embedded systems, a good understanding of the features of microcontrollers is required.

How Are Microcontrollers Used?

Interestingly enough, embedded systems design was once commonly referred to as microprocessing. Based on the central processing component, a microprocessor (MPU)—or central processing unit with additional functionality that works with other chips to complete the onboard computer—or a microcontroller (MCU) where all computing components are on the same chip or IC.

The increased usage of circuit boards, electronics, and systems that utilized these ICs warranted a new moniker. And, although microcontroller capability has advanced, the core elements remain very similar to those of a PC computer, which includes memory, clock or timer, a CPU, and I/O.

Microcontrollers often include ROM (EPROM, EEPROMs, etc.) with executables preloaded to perform specific operations. However, flash or erasable memory is being used more often as this allows for off-board (for example, on development boards) and in-circuit—provided bus capabilities include external data and power TX/RX—programming/debugging.

The explosion of smart systems means embedded systems extend beyond commercial devices into the process and manufacturing equipment that produce these products, as evidenced by common microcontroller applications listed below.

Microcontroller Applications

The list above is by no means exhaustive, and how innovative designers can use microcontrollers is almost infinite. Doing so, however, necessitates an understanding of the microcontroller’s features.

Important Features of Microcontrollers

There are many different types of microcontrollers, and solid design makes the most appropriate choice for your specific needs, guided by the features of the components. One of the most popular microcontroller series is the PIC family by Microchip Corporation, including the PIC32MK.

The PIC32MK

64-pin PIC-32 MCU in TQFP package

As shown above, the PIC32MK is a 32-bit microcontroller that comes in a 64-pin QUAD package. In addition to the standard TQFP shown, 64-pin QFN flat pack and 100-pin TQFP are available. Major features of the PIC32MK are:

As the list above illustrates, the PIC32MK is a high-performance general purpose MCU that can be used broadly for a wide range of common embedded system applications. However, it is optimized for motor control, which negates the need for a separate motor control module.

In addition to its basic features, the PIC32MK has the special features listed below.

PIC32MK Special Features

The component’s architecture is shown in the figure below.

PIC32MK block diagram

For additional information, such as pinouts, characteristics, landing patterns, instruction set, and development tool info, please see the PIC32MK datasheet.

Alternative Microcontrollers

Although the PIC32MK is popular and can be widely implemented, there are several alternative 32-bit PIC MCU options from Microchip. These include:

Other PIC Microcontrollers (32-bit)

MIcrochip also offers 8 and 16-bit PIC MCUs, which may effectively serve the needs of your design with reduced instruction sets and simpler programming.

Optimizing Your Embedded PCBA Design

When working with MCUs, you should prioritize trace routing, make the best use of board space and incorporate the programming needs. For example, the PIC32MK has 64 pins, which will likely mean a multilayer stackup with dozens of vias to keep the board size or area within most deployment constraint limits for today’s more compact electronics. And to take advantage of the in-circuit and in-application programming capabilities, external connection access must be provided.

PIC32MK model data from Ultra Librarian

To ensure a smooth transition to your CM and efficient board development, you need to rely upon accurate component model data, as shown above. If you’re looking for CAD models for common components, design tips or information on features of microcontrollers for embedded design, Ultra Librarian helps by compiling all your sourcing and CAD information in one place.

Working with Ultra Librarian sets up your team for success to ensure streamlined and error-free design, production, and sourcing. Register today for free.