In this post, I propose a CMake script for NXP MCXN326 controller. Not dependent on MCUXpresso's IDE or VS Code extension. Also independent of dev board definitions and SDK example code files.
Prerequisites: What do you need:
working CMake...
warning: C++ heavy post
A few days ago, I created a PID controller implementation, for a TI MSPM0 device. Without using floating point arithmetic. It used the TI IQMath lib to perform PID algorithm. All calculations are done using ARM intege...
Render of 3D single-crystalline nanomembranes integrated on silicon photonics. (Image Credit: Wenbo Mao, Yuan Meng, Zhihao Xu, Di Jia
Photonic chips use light for information transmission and processing. Silicon and silicon nitride can guide light, ...
Stepper Motors are controlled by a driver IC. This blog shows how to use a Texas Instruments DRV8711 stepper motor IC with the MSPM0 controller family.
It's a port of a Raspberry Pico driver I designed for that IC:Raspberry Pico step...
ESP32 Bit Pirate is an open-source firmware inspired by the original Bus Pirate, designed to turn inexpensive ESP32-S3 development boards into versatile hardware debugging and experimentation tools.
The project started as a way to interact with comm...
PID controller implementation without using integer arithmetic. Uses TI IQMath lib to replace floating point instructions.
Some of the content is created with AI support. I've marked the parts where AI was used.All narrative i...
In this blog series, I build a Texas Instruments MSPM0 example with VS Code as IDE, and CMake as build infrastructure. In the next series of posts, I try to create a stepper motor project. It will be based on TI's stepper motor middlew...
Table of Contents
Introduction
MCX Overview
MCXN236
Circuit Diagram
Supply Decoupling
USB and Boot
Audio Interfaces
SPI, TFT, LEDs and Buttons: User Interface
I2C and more SPI: microSD Card
ADC and Spare GPIO Pins
Board Layout and Parts ...
In this blog series, I build a Texas Instruments MSPM0 example with VS Code as IDE, and CMake as build infrastructure. In the next series of posts, I try to create a stepper motor project. It will be based on TI's stepper motor middlew...
Table of Contents
Introduction
MCP Explained
Working with MCP
Using a Simple MCP Server Library
Building and Running the Code
Connecting the Agent
Summary
Introduction
AI agents can be extremely useful, but it would often be helpful if they coul...
In this blog series, I build a Texas Instruments MSPM0 example with VS Code as IDE, and CMake as build infrastructure. In the next series of posts, I try to create a stepper motor project. It will be based on TI's stepper motor middlew...
You can handle MSPM0 interrupts via the traditional service request handler. But it also has a messaging system. With message handlers, you can route notifications from one peripheral to another.
In this example: react on a button click and togg...
In this blog series, I build a Texas Instruments MSPM0 example with VS Code as IDE, and CMake as build infrastructure.In the previous posts, I created an end to end flow, from install over build to debug, tested on LaunchPad and EasyL1105 kit.In...
In this blog series, I build a Texas Instruments MSPM0 example with VS Code as IDE, and CMake as build infrastructure.In posts 1 - 4, I created an end to end flow, from install over build to debug, tested on LaunchPad and EasyL1105 kit.In post 5...
You can use C++ for MSPM0 designs. There's one watch-out: if you have your event handlers in a .cpp file, you have to wrap those functions in an extern "C" {} wrapper.
The SysConfig mechanism expect that the handlers have a particular name. ...
In this blog series, I build a Texas Instruments MSPM0 example with VS Code as IDE, and CMake as build infrastructure.In posts 1 - 3, I created an end to end flow, from install over build to debug.In post 4: testing it out on the EasyL1105: A De...
In this blog series, I build a Texas Instruments MSPM0 example with VS Code as IDE, and CMake as build infrastructure.Post 2 covered the software build. In this post: debugging the firmware.
If not done yet, open the TI Embedded Debugger plugi...
In this blog series, I build a Texas Instruments MSPM0 example with VS Code as IDE, and CMake as build infrastructure.Post 1 covered the software setup. In this post: build firmware,
Configure Environment Variables
SDK_ROOT and SYSCONFIG_...
In this blog series, I plan to build a Texas Instruments MSPM0 example with VS Code as IDE, and CMake as build infrastructure.I'm trying to use the guidelines from TI's Using CMake with TI Clang Compilers and SysConfig. But then with GCC (version 15 ...
Table of Contents
Blog List
Introduction to Components in ESP-IDF
Creating components in ESP-IDF
Adding source files inside the component
Using Components in existing project
References
Blog List
ESP32 UART tutorialESP32 ADC tutorialESP32 I2C t...
The FUTUR-IC program is intended to address resource efficiency, such as integrating photonics with electronics. (Image Credit: MIT)
AI systems, high-performance data centers, and cloud computing continue to expand. And those have led to higher dema...
Table of Contents
Introduction
Recap
New App: Introducing AnyOperate!
Screens and their Classes
Protocol Overview
Block Diagram
Main Function
Let’s Study a Screen
Future<> Objects and Asynchronous Functions
Exception Handling: Try..Cat...
Table of Contents
Introduction
Software Installation
Android Studio and Flutter Setup
Phone Setup
Creating a Project
Running the App
Project Folder Explained
Demo Code Explained
Creating an App Icon
Summary
Introduction
Ever wanted to control...
The PlayStation one console. (Image Credit: Vance A./Unsplash)
This caught my eye recently looking at ways people have modified old consoles. It's quite an achievement, despite the end results.
Over 30 years ago, the PlayStation one console offi...
Schematic and false-colored electron microscopy of monolithic 3D SRAM cell. (Image Credit: University of Illinois Urbana-Champaign)
Researchers at the University of Illinois Urbana-Champaign created a new technique to produce 3D chips. They did this...