• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microcontroller Tips

Microcontroller engineering resources, new microcontroller products and electronics engineering news

  • Products
    • 8-bit
    • 16-bit
    • 32-bit
    • 64-bit
  • Applications
    • 5G
    • Automotive
    • Connectivity
    • Consumer Electronics
    • EV Engineering
    • Industrial
    • IoT
    • Medical
    • Security
    • Telecommunications
    • Wearables
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • EE Training Days
    • FAQs
    • Learning Center
    • Tech Toolboxes
    • Webinars/Digital Events
  • Resources
    • Design Guide Library
    • DesignFast
    • LEAP Awards
    • Podcasts
    • White Papers
  • Videos
    • EE Videos & Interviews
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

AI inference on MCUs? Yes, with development kits

March 25, 2020 By Majeed Ahmad Leave a Comment

The microcontroller, the most widely deployed computing platform, is ready to welcome the artificial intelligence (AI) revolution. Really? For a start, MCUs don’t have enough storage space needed to hold the neural network-based trained models, and they don’t have enough RAM to carry out inference operations based on these models.

Microcontrollers are known for limited compute and memory resources compared to traditional processors such as CPUs, GPUs, and NPUs. That’s why the implementation of AI workloads in edge and other embedded systems is considered far more challenging than computing-rich data center environments.

So, how can embedded system designers perform AI inference on MCUs and further empower the reach of the Internet of Things (IoT) use cases in areas such as machine learning, object detection, language processing, facial recognition, and more? The answer has arrived, and it involves AI development kits that bypass the tedious and time-consuming task of optimizing and compressing a trained model to fit into an MCU footprint.

AI development kits
Figure 1: AI toolkits help deploy pre-trained models on MCUs while using the data from sensors and other sources. (Image: Renesas)

The neural network models can be trained on powerful CPUs, GPUs, and FPGAs and then deployed on an MCU with enough flash storage to hold the models. A neural network model can run on as little 2 KB RAM while flash or ROM storage can start from 128 KB, scaling upward according to specific AI application requirements.

The AI development kits employ software tools to craft AI models that can efficiently run on MCUs. Below is one example of how this works.

How AI dev kits work

What the AI kits generally do is take the pre-trained neural networks that classify data signals and convert them into c-code and then run on MCUs. In other words, AI development kits import AI neural networks trained by some of the most popular libraries such as Keras, TensorFlow, Caffe, Lasagne, and ConvnetJS and then map these neural networks for use on MCUs.

While optimizing AI frameworks like Caffe and TensorFlow, these AI kits fold some of the model layers to reduce the memory footprint. Besides AI frameworks, the dev kits feature neural network compilers such as Glow and XLA. So, embedded developers don’t have to be experts in data mining or neural net topologies, and they no longer have to code the time-consuming libraries.

Figure 2: A view of neural networks being converted into object files before deployment in MCUs. (Image: NXP)

That’s how development kits allow embedded system designers to move quickly from a development environment to AI application implementations. And, perhaps more importantly, how these kits demystify the otherwise highly sophisticated AI technology and significantly lower the barriers to entry.

The leading MCU suppliers, as well as embedded system design houses, are starting to launch AI development kits that enable MCUs to perform inference on resource-constrained embedded designs. In some cases, MCU vendors are adding AI function packs to their existing design ecosystems.

You may also like:

  • pi-top [4]
    Starter kit features latest Raspberry Pi 4 Model B computer

  • The AI-enabled MCUs: Basic design venues
  • NVIDIA Jetson Nano Developer Kit
    Developer kit hosts complete AI software stack
  • AI system starter kit
    Starter kit simplifies AI system development tasks
  • MXM development kit
    Development kit speeds embedded AI, vision computing tasks

Filed Under: FAQ, Featured Tagged With: FAQ

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Featured Contributions

Five challenges for developing next-generation ADAS and autonomous vehicles

Securing IoT devices against quantum computing risks

RISC-V implementation strategies for certification of safety-critical systems

What’s new with Matter: how Matter 1.4 is reshaping interoperability and energy management

Edge AI: Revolutionizing real-time data processing and automation

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE Learning Center

EE Learning Center

EE ENGINEERING TRAINING DAYS

engineering
“bills
“microcontroller
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

DesignFast

Design Fast Logo
Component Selection Made Simple.

Try it Today
design fast globle

Footer

Microcontroller Tips

EE World Online Network

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

Microcontroller Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy