As I continue my embedded programming journey, I’ve taken the next leap, from tiny microcontrollers like the ESP32, to embedded Linux devices. For this, I’ve chosen the i.MX 91 development board from NXP.

I was first made aware of NXP when I attended the Connected Home event back in October, in Berlin. I was lucky to meet two very nice people from NXP and saw their kit in action.

10/10 for packaging!

In addition to the board, two USB-C cables were provided as well as some getting started instructions. Setup was as easy as connecting both USB cables to my PC and using Ethernet to get onto the network.

The board itself, powered up and connected

Once connected, I launched a PuTTY session and got the full Linux startup output. Pretty cool to watch!

Make an LED Blink

The classic hardware flex is making an LED blink. The dev kit has an onboard multi-colour LED. To turn it on, in green, this is the command I used.

# 4=1 for green, 13=1 for red and 12=1 for blue
gpioset -c gpiochip0 4=1

To turn the LED off, use =0

gpioset -c gpiochip0 4=0
In brightest day, in blackest night, no evil shall escape my sight

To make the LED blink, we add a timer

gpioset -z -t 500ms -c gpiochip0 13=1

and to stop it blinking

pkill gpioset

Next

A *very* basic start, we every journey and all that!

Ultimately, I want to port my Energy Manager application from an ESP32-S3 over to this board. This application has been working pretty well on the S3, but it’s just not powerful enough to handle everything.

My Energy Manager topology view

Sometimes, when I open some of the views, the app grinds to a halt for a few seconds, which can result in Matter sessions being dropped and other annoying things. I really want to explore machine learning, so having more power is always a good thing.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.