yj hung

NMI interrupt trigger issue for STM32GXX

Preface The customer is using the STM32G491MCT6 part number, but during the trial production phase, some components are getting stuck while reading Flash. This issue hasn’t been encountered in regular testing, so we had to rely on experience to troubleshoot. Using PC counter, we eventually discovered that the reported positions were all in the NMI […]

NMI interrupt trigger issue for STM32GXX Read More »

ST7735 TFT LCD Module with 4 IO 128*160

Preface There are many options when it comes to choosing an LCD, with various sizes available. However, if you need to display colorful images, we recommend the ST7735 display. It offers excellent value for money and delivers good performance. This example will introduce the usage of the 1.8-inch ST7735 color display screen with STM32 microcontrollers.

ST7735 TFT LCD Module with 4 IO 128*160 Read More »

How to use “attribute” in STM32CubeIDE

Preface The purpose of ‘attribute__’ is to store variables or arrays at a specified address. In practical applications, program version information is usually fixed at a specific flash address. Here, I needed to assist in modifying the Hex burning file to recognize version information. However, after attempting to use STM32CubeIDE, I found it didn’t work,

How to use “attribute” in STM32CubeIDE Read More »

ST Motor Control Adjust Method-2

Preface This section will address common issues encountered with MCSDK and provide explanations and adjustments. Relevant information locations will also be organized to facilitate a quicker start for everyone in motor control. MCSDK Program Main Structure After generating code using MCSDK, the main program section and mathematical equations are as shown in the following figure:

ST Motor Control Adjust Method-2 Read More »

MERIDIAN Thermal Imager Sensor(STM32)

Preface Meridian offers advanced CMOS thermal imaging solutions, enabling the production of thermal image sensors that can receive infrared wavelengths ranging from 8 to 14 μm. These sensors are primarily applied in consumer and commercial products. What sets them apart from conventional imaging is their affordability, as they require only a low-cost MCU to handle

MERIDIAN Thermal Imager Sensor(STM32) Read More »

STM32 Cryptographic Software Package

Preface The customer requires encryption protection for certain devices. ST offers two options: Directory Structure of V4 vs. Directory Structure of V3 The directory structure of the V3 software package corresponds to a separate directory for each STM32 series. The directory structure of V4 is fully compatible with the Cube/X-Cube software package (STM32CubeXX / X-Cube-XXX)

STM32 Cryptographic Software Package Read More »

STM32 FDCAN Introduction difference CAN lib

Preface FDCAN (Flexible Data-Rate CAN) is an upgraded version of CAN. Its features include: FDCAN Format Frame architecture comparison between CAN-FD and CAN 2.0 After identifier, CAN 2.0 and CAN-FD have a different action: Main differences between CAN-FD and CAN 2.0 STM32CubeMX Setting You can refer to the H7 configuration options available online. When using

STM32 FDCAN Introduction difference CAN lib Read More »

VL53L5CX coding structure on STM32

Preface Unlike traditional IR sensors, the VL53L5CX utilizes ST’s latest generation of direct Time-of-Flight (ToF) technology, allowing for absolute distance measurement regardless of target color or reflectivity. It provides accurate ranging up to 400 cm and operates at high speed (60 Hz), making it the fastest multi-zone miniature ToF sensor available on the market. Hardware

VL53L5CX coding structure on STM32 Read More »

Shopping Cart