Understanding the Relationship Between STM32, Cortex-M3, and ARMv8-M

Understanding the Relationship Between STM32, Cortex-M3, and ARMv8-M

Follow our official account, and never miss exciting content. Compiled by: Engineer Huang Reference: Wikipedia Reference link: https://en.wikipedia.org/wiki/ARM_architecture Everyone should know that STM32, Cortex-M3, and ARMv8-M are related to ARM, but may not be clear about their relationships or what they specifically are. 1. Overview ARMv8-M: is an ARM architecture. ARM architectures are divided into: … Read more

Understanding Cortex-M3 Concepts

Understanding Cortex-M3 Concepts

Work Mode Thread mode: This mode is active when the processor is reset or exits from an exception. Code in this mode can be either privileged or user code, controlled by CONTROL[0]. Handler mode: This mode is entered when an exception (including interrupts) occurs, with all code having privileged access. Code Privileges Privileged access: Full … Read more

Understanding Fault Types and Causes in Cortex-M3

Understanding Fault Types and Causes in Cortex-M3

Follow+Star Public Account Number, don’t miss exciting content Author | strongerHuang Public Account | Embedded Column In our usual projects, we may encounter situations of freezing, and through online debugging or printing messages, we may find out how we entered the HardFault_Handler interrupt. This “hard fault” is a common type of fault, and there are … Read more

Implementing Neural Networks on a 10-Cent RISC-V MCU Without a Multiplier

Implementing Neural Networks on a 10-Cent RISC-V MCU Without a Multiplier

For some time now, I have been contemplating setting up an environment to implement algorithms based on neural networks on a smaller (8-pin) microcontroller. After reviewing existing solutions, I found that none truly satisfied me. An obvious problem is that flexibility often comes at the cost of overhead. As usual, for a truly optimized solution, … Read more

Design and Control of a Quadruped Spider Robot Using ESP32

Design and Control of a Quadruped Spider Robot Using ESP32

This article is a continuation of “Design and Control of a Quadruped Spider Robot Using ESP32 (Part 1)” ESP32 Quadruped Spider Robot Circuit Diagram (8 Servos) This circuit diagram illustrates the integration of 12 servos, allowing the robot to move in various directions. The robot consists of four legs, with each leg connected to two … Read more

Getting Started with CPU Circuit Design in Embedded Development

Getting Started with CPU Circuit Design in Embedded Development

▼Click the card below to follow our public account ▼ Hello everyone, welcome back to the Electronic Engineering Learning Circle. Today we will continue discussing this book, the Hardware System Engineer’s Bible. In the last article, we analyzed the Boost circuit and theoretically calculated the critical inductance value that ensures the Boost circuit operates in … Read more

Why C++ is Not Recommended for Microcontroller Programming

Why C++ is Not Recommended for Microcontroller Programming

Follow+Star Public Account, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | Embedded Column Generally speaking, when programming on microcontrollers, either assembly or C language is used, and it is rare to develop with C++. So why is it not recommended to use C++ for microcontroller development? Below, I will discuss … Read more

Getting Started with Arduino: Overview and Simple Examples

Getting Started with Arduino: Overview and Simple Examples

Arduino is an open-source electronics platform based on easy-to-use software and hardware development. When it comes to Arduino, some people may have heard of Arduino microcontrollers or Arduino circuit boards, as well as the Arduino IDE that can be used to program these boards. Arduino boards can read external signals, such as detecting light sources … Read more

Getting Started with ChatGPT in Embedded Systems: Implementing Lighting Programs for 51, STM32, Arduino, Raspberry Pi, and Linux

Getting Started with ChatGPT in Embedded Systems: Implementing Lighting Programs for 51, STM32, Arduino, Raspberry Pi, and Linux

What is trending recently? I think ChatGPT must be one of them. How popular can this be? I always thought it was only popular in the internet and technology fields, until recently when our local government’s official account and even the community were posting content related to ChatGPT… I then realized that the extent of … Read more

Controlling Servo Motors with Arduino: A Simple Guide

Controlling Servo Motors with Arduino: A Simple Guide

Today, we will use the Arduino development board to control a servo motor, creating a simple 2-degree-of-freedom gimbal. Based on its rotation characteristics, the gimbal can be divided into a horizontal gimbal that can only rotate left and right, and an omnidirectional gimbal that can rotate both left and right as well as up and … Read more