yj hung

STM32 OneWire for Charger

Preface The current customer requirement involves touching the codebase, requiring assistance in developing 1-wire sensing for the battery, etc. We will go through UART OneWire to verify if it can function properly. There will also be some differences in the next version planning. Here, I’ll integrate and detail the OneWire information for verification methods. Overview […]

STM32 OneWire for Charger Read More »

Adding ADC channels and PINs in MCSDK 5.X

Preface When using MCSDK for motor control, adding additional channels to the existing ADC poses challenges due to considerations such as sampling rates. Attempting to add ADC channels directly using STM32CubeMX may result in system failure. This information is provided to address how to add channels for sampling shunt resistors in a motor control project.

Adding ADC channels and PINs in MCSDK 5.X Read More »

ECDSA_SignVerify(SHA256) STM32F4 series

Preface For the signature verification part, due to recent customer requirements, the MCU is bound and cannot be incorporated into SBSFU for updates. Additionally, the SBSFU update example currently only provides UART, and coding for other interfaces is required. After discussing with the customer, it was decided to use signature verification to ensure that the

ECDSA_SignVerify(SHA256) STM32F4 series 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 »

Shopping Cart