Developer support experience survey - We value your feedback
Join discussions in the Product Forums. Ask questions, learn from your peers, and share insights on ST solutions to accelerate your design journey.
Most recent activity
Hi everyone,I’m currently working with the CR95HF and looking into using the provided DLL (CR95HF.dll) for PC-side communication.From the documentation and software packages I understand that a DLL is provided to interface with the CR95HF demonstration board (). However, it seems this DLL was originally built for older environments and is typically installed in x32 systems, which suggests it may be a 32-bit library.I searched the community and found a previous discussion where someone asked about x64 compatibility ( Solved: CR95HF DLL for x64 - STMicroelectronics Community ) and was provided with source code instead of a precompiled DLL.So my questions are:Is there now an official x64-compatible version of the CR95HF DLL available?Or is the recommended approach still to request/use the source code and rebuild the DLL for x64 systems?If rebuilding is required:Is there any official guidance or updated project for generating a 64-bit version?Thanks in advance for your help!
Hello , i would like to know how can we set the pwm channels in stm32cubemx as well as the serial wire debug , because i want to set up a project with STM32C5A3RGT6 but under the debug we have no 2 wire serial wire debug option. Edit: Moved from Introducing STM32CubeMX2, a new flavor of STM32CubeMX tool
Hello,I have two technical questions regarding the lis3dh accelerometer behavior and interrupt configuration.1) Are the values I read from the LIS3dh in m/s²???? Exemple :::Accel [LIS3dh] 28807220458ns (-7.300384, -1.942303, -5.712095)2) Interrupt logic (INT1_CFG :: XLIE / YLIE / ZLIE)When I configure an interrupt threshold, for example 5 m/s², and enable the axis event bits in INT1_CFG XLIE / YLIE / ZLIEDo the Low events correspond to the following type of comparison?X < threshold, Y < threshold, Z < thresholdOr do they correspond to:|X| < threshold, |Y| < threshold, |Z| < thresholdFor instance, if I have the following measured values and the interrupt threshold is set to 5 m/s²:Would this condition trigger an interrupt or not, according to the configured AOI ,XLIE / YLIE / ZLIE (i put 1 for this register)???Accel [LIS3DH] 29380340576ns (-18.442175, -19.566559, -19.461311)Thanks for your response
I have an old project developed with the STM32CubeIDE, which I would like to import into VSCode. I attempted to run "Convert Eclipse STM32CubeIDE Project", and the converter created some files in the destination folder.Yet, the conversion fails with this error message:2026-04-22 10:23:09.874 [Info] [ide-project-convert] Starting project conversion... 2026-04-22 10:23:10.173 [Info] [ide-project-convert] cube wrapper version: 0.10.2 2026-04-22 10:23:10.193 [Info] [ide-project-convert] Invoking STM32CubeIDE Eclipse exporter... 2026-04-22 10:23:18.988 [Info] [ide-project-convert] Generating project... 2026-04-22 10:23:19.054 [Error] [ide-project-convert] [ { instancePath: '', schemaPath: '#/required', keyword: 'required', params: { missingProperty: 'configurations' }, message: 'must have required property 'configurations'' } ] 2026-04-22 10:23:19.055 [Error] [ide-project-convert] /Users/me/projects/private/flipper/firmware-vscode/stm32cubeide-export.json does not conform to the schema
Hi,I am using IIS2ICLX MEMS accelerometer in an IOT device.The IIS2ICLX is soldered on a PCB that sends data to internet every 10min.To measure the zero-g level of both x and y axis, I suspend the device from the ceiling so that the PCB (and the accelerometer) is perfectly horizontal and and vibration-free.I noticed that the zero-g level changes if I briefly touch the device, and wait for the device to return to its horizontal position (the temperature of the device does not change).Does anyone has an explanation ? I there a way to minimize this effect by using two redondant accelerometers, with a 90 degre rotation between them ?Thanks for your help.
Hi. I have been looking at the internal operation of MEMS devices and am looking for information on how this sensor takes the reading from the mechanical parts. I am trying to find out if this sensor uses capacitive sensing or frequency drift and time period for one sample to be acquired from the MEMS structure. The available documentation does not list much information of this and any additional information would be great. Thanks.
After updating from TouchGFX 4.24.x to 4.26.0, the code generated cannot be compiled w/o manual correction - there are commas missing: const touchgfx::AbstractShape::ShapePoint<float> downArrowDisplayPoints[4] = { { 0.0f, 0.0f }, { 80.0f, 0.0f }, { 40.0f, 10.0f }{ 40.0f, 10.0f } };downArrowDisplay.setShape(downArrowDisplayPoints);downArrowDisplay.setVisible(false);add(downArrowDisplay); upArrowDisplay.setPosition(80, 61, 80, 10);upArrowDisplay.setOrigin(0.0f, 0.0f);upArrowDisplay.setScale(1.0f, 1.0f);upArrowDisplay.setAngle(0.0f);upArrowDisplayPainter.setColor(touchgfx::Color::getColorFromRGB(217, 141, 0));upArrowDisplay.setPainter(upArrowDisplayPainter);const touchgfx::AbstractShape::ShapePoint<float> upArrowDisplayPoints[4] = { { 40.0f, 0.0f }{ 80.0f, 10.0f }, { 0.0f, 10.0f }, { 40.0f, 0.0f } };upArrowDisplay.setShape(upArrowDisplayPoints);upArrowDisplay.setVisible(false);add(upArrowDisplay); upArrowLed.setPosition(80, 191, 80, 10);upArrowLed.setOrigin(0.0f
Hello everyone. I would really appreciate if someone could help me sort out a really annoying issue i have with a new STM32WB5MMGH6 based board i made.On this board i have two sensors connected to the same SPI interface (hspi2) with different CS pins to address the sensors. Here's the schematic sections of the two sensors : MS5607 : LSM6DSV320XTR with an auxiliary IIS2MDCTR tied directly to it (for the test board, the magnetometer is not soldered yet):I'm currently on test phase, and the MS5607 is responding correctly. But the LSM6DSV320XTR does not respond at all. i'm not even getting the whoami ID (i get a 0).For the SPI configuration i have this : For the 2 Chip Select pins i have this config : I don't understand where the problem comes from. Could someone help me asap ? I'm losing hope :(
Question split from this thread. Hi , Can you also provide some info on how to set pwm through timer channels ?
See attachment, field gets erased every time I re-generate code using STM32 CubeMX.problem seen on versionsSTM32CubeMX version 6.16.1uVuion/Keil version 5.43This has been ongoing for a while so problem does exist on older versions of both.
Hello , I was planning on using the new STM32C5A3RGT6 for my new project but after reading the comments regarding the stm32cubemx2 , i am reconsidering this decision. I also saw that zephyr is providing support for stm32c5. My question would be then what would be a good source for learning stm32cubemx2 because coming from stm32cubeide 1.17 it is a big change.
Hi,I've been experimenting with the High Sensitive Observer using the B-G473E-ZEST1S and STEVAL-LVLP01 boards to control a BLDC motor. So far we have good results, however sometimes the HSO loses control, especially at very low speeds (<10 electrical rpm). To overcome this a restart is required so the pol pulse is triggered and the rotator angle can be found. I was wondering if there are strategies to fuse the HSO feedback with the Hall sensor to overcome these problems? I known the ZeST solutions solves this as well but this is not publicly available yet and for safety reasons we are required to have an physical sensor to read the motor position.Thanks,Tom de Winter
Hello,STM32CubeIDE.Is it possible to show hints (description of the function, description of the parameters of the function, description of the return value) when calling function?I made this function (see Figure 1) and made documenting comment. When I calling this function or I hover the cursor over the function name a tooltip with the function code pops up, but I want to see description of the function (@brief parameter from documenting comment, see Figure 1).Figure 1
hello ST Community, I'm trying to send commands as indicated in the AN3155 manual via UART with Teraterm on the NUCLEO-H755ZI-Q for CM7. system bootloader application note (AN3155) First, I tried establishing UART communication with the STM32CubeProgrammer, and it worked while Boot0 = 1 on the USART3 pins. But I'd like to establish the same communication via UART using Teraterm serial. As soon as I set the bootloader state to Boot0 = 1, I send the command 0x7F, and I get no response on the terminal. What did I do wrong? Thanks for supports
Hello, maybe someone can check this,it seems to be incorrectly generated code. In my application for STM32H5xx I want to use ADC3. void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) { GPIO_InitTypeDef GPIO_InitStruct = {0}; RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; if(hadc->Instance==ADC3) { ... .../* Peripheral clock enable */ __HAL_RCC_ADC_CLK_ENABLE(); This macro does not enable ADC3. #define __HAL_RCC_ADC_CLK_ENABLE() do { \ __IO uint32_t tmpreg; \ SET_BIT(RCC->AHB2ENR, RCC_AHB2ENR_ADCEN); \ /* Delay after an RCC peripheral clock enabling */ \ tmpreg = READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_ADCEN); \ UNUSED(tmpreg); \ } while(0) I think something like this is required: #define __HAL_RCC_ADC3_CLK_ENABLE() do { \ __IO uint32_t tmpreg; \ SET_BIT(RCC->AHB2ENR, RCC_AHB2ENR_ADC3EN); \ /* Delay after an RCC peripheral clock enabling */ \ tmpreg = READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_ADC3EN); \ UNUSED(tmpreg); \ } while(0)
TouchGFX 4.26.1 is now out. Please follow this link to download it.This version is a patch release and includes bugfixes of issues seen on TouchGFX Designer 4.26.1 version, as well as adding support of the new STM32H5F5 and Chrom-ART 2.Please visit our dedicated website for STM32H5 graphics to know more about high performance graphics on our most powerful Cortex-M33 MCU. Release details: Release date: March 2nd, 2026 New TouchGFX Designer Features Allow selecting a CMakeLists.txt file as the project file without requiring a STM32CubeMX .ioc file. Bugfixes in TouchGFX Designer Fix caching issue when changing text configurations and re-generating code. Fix outdated timestamp on files when importing a GUI. Fix faulty code generation when a Shape widget has two identical end points. Fix faulty code generation when a Shape widget uses an "interaction ended" callback. New TouchGFX Generator Features Support for STM32H5F5/E5 and STM32H5F4/E4 series with the
Hello everyone,I am a research scholar in High Energy Physics and currently working on a scintillation-based muon detector using SiPMs.My setup:- Board: STM32 NUCLEO-F446RE- Sensors: 2 SiPMs- Signal conditioning: Op-amp amplification + peak detection- Output: Analog pulses to STM32 ADCObjective:I want to acquire signals from two SiPM channels using ADC and implement coincidence detection (i.e., detect events when both signals occur within a very short time window).My questions:1. What is the best approach for precise coincidence detection on STM32?- ADC polling vs interrupt vs DMA vs timer-based sampling?2. Since SiPM pulses are very fast (ns scale), how can I reliably detect coincidence using ADC (which is slower)?3. Would it be better to:- Use analog comparators + GPIO interrupts?- Or external coincidence logic (hardware)?- Or timer input capture method?4. What timing resolution can realistically be achieved using STM32F446RE?I am looking for a robust and research-grade solution suit
STM32C092CCT6 : TCAN1463-Q1: TXD Dominant but No CAN Output — Bit0 Errors, nFAULT OK, Normal Mode Confirmed Hello everyone,I am facing an issue where the CAN transceiver (TCAN1463-Q1) does not drive the CAN bus even though the STM32 FDCAN peripheral is transmitting correctly and the transceiver is confirmed to be in Normal mode. Hardware SetupNode 1 — STM32 Daughter Board (Transmitter)MCU: STM32C092CCT6 (Cortex-M0+, 12 MHz SYSCLK)Transceiver: TCAN1463-Q1Connections:TXD → PB1 (FDCAN1_TX, AF3, Very High Speed)RXD → PB0 (FDCAN1_RX, AF3)EN → PC6 (HIGH = enabled)nSTB → PB12 via hardware inverterPB12 HIGH → nSTB HIGH → Normal modenFAULT → PC7 (active-low, pull-up to 3.3V)Power:VSUP = 5VVIO = 3.3VNode 2 — ReceiverRaspberry Pi CM4 + MCP2518FD (SPI, 40 MHz crystal)TCAN1463-Q1SocketCAN interfaceBoth nodes are connected with proper 120Ω termination.FDCAN ConfigurationClassic CAN (1 Mbps)FrameFormat = Classic CANClock = 12 MHz (PCLK1)Prescaler = 1TSEG1 = 8TSEG2 = 3Sample Point = 75%Proto
Hello,I purchased the Zest development board kit. I have personally tried HSO and found it quite good. I heard that the Zest algorithm can achieve full torque output at zero speed. I am very interested in this. Could I apply for it personally?
Dear community members,STM32H7S78-DK: USBX standalone (CDC ACM + PIMA) works in HS now but PIMA / MTP is not supported in standalone mode in USBXCurrently, it is not possible to use the PIMA/MTP class in USBX in standalone mode (without an RTOS). The MTP implementation depends on Azure RTOS ThreadX, and there is no official support for running it in bare-metal configurations.When attempting to use it in standalone mode, the stack returns:#define UX_FUNCTION_NOT_SUPPORTED 0x54This is also reflected in the official documentation:USBX Getting Started – Bare-metal support matrices
When we provision the Secure Manager on the STM32H5 and there is no non-secure application available (yet), then the Secure-Manager-Demo-Application currently starts flashing all LEDs on the STM32H573I-DK.Now we wonder how this would affect our project-specific hardware if the provisioned Secure Manager configures some ports and starts toggling PF1, PF4, PI8 and PI9.So, what peripheral does the Secure Manager configure/use? And how are they configured?Is it possible to suppress/remove this Secure-Manager-Demo-App (SMAK_Appli)? => no port configuration, no LED togglingbr, Oliver
Hello i'm new to STM32, i'm doing school project on in. Basically the plan is to read oil temperature from CAN bus in car, and display the temperature on analog clock using servo. I have the H755ZI-Q board for this. I know it's bit overkill for what i'm doing but i'm fine with it.I've did a test code for inter core communication test. Since i want to receive the CAN info on M4. Calculate the PWM signal on M7 and then the M4 will update the PWM signal. Now it just send some numbers and displays it via uart on pc console for checking the data. But as soon as i wanted to implement the servo i started to have some issues. Basically i enabled the TIM2 with PWM generation on M4, and then the board didn't want to communicate via the STLINK. I've got error: failed to start GDB server (No device found on target). So I've erased the flash memory by bridging the BOOT0 and VDD and erasing it in CubeProgrammer. And then i have to run different project first, before mine for it to event progra
Hi, i'm missing something in the configuration of alternate function on STM32C092. I can't get working alternare function on shared pin, interested physical pin are PIN 1, 15, 20. Example1: PIN15 only the function on PA8 are working properly, neither (PB0,PB1 or PB2) are working at all with any function even a simple toggle. I'm pretty sure that the Alternate Function property are being generated correctly. Example2: PIN20 Generating a PWM with TIM3_CH1 only works on PB6, if the same timer is passed to PB4 i can't get any output. Same on PIN1 i can get output only on PB7. There is the HAL_TIM_MspPostInit where PB6 is working as expected but PB1 isn't: void HAL_TIM_MspPostInit(TIM_HandleTypeDef* htim) { GPIO_InitTypeDef GPIO_InitStruct = {0}; if(htim->Instance==TIM3) { /* USER CODE BEGIN TIM3_MspPostInit 0 */ /* USER CODE END TIM3_MspPostInit 0 */ __HAL_RCC_GPIOB_CLK_ENABLE(); /**TIM3 GPIO Configuration PB1 ------> TIM3_CH4 PB6
Hello, I configured TIM5 to generate a signal out to a pin using STM32CubeMX2 for a Nucleo-C562RE board. I enabled the EXTI interrupt for the pin in the timer configuration to get EXTI6 interrupts on the falling edge. I also enabled the use of register callbacks for EXTI. The problem that I am having is that I cannot find the function to retrieve hEXTI6 to register the EXTI callback. I looked in the mx_tim5.h/c and in mx_gpio_default.h/c. I had no problem getting the EXTI handles for GPIO EXTI (for example mx_gpio_default_exti7_gethandle()) and getting TIM handles (mx_tim5_gethandle()). To make the code work I had to add mx_gpio_default_exti6_gethandle() prototype to mx_tim5.h and the implementation below to mx_tim5.c: hal_exti_handle_t *mx_gpio_default_exti6_gethandle(void) { return (&hEXTI6); } Maybe the definition/function is there but I cannot find it or maybe there is some additional configuration to be done in STM32CubeMX2. I attached my ioc2
I'm designing a custom board that's based on the STM32WL55CCU6 microcontroler. It's very simple and is required to transmit data continuously in vectors of 12 uint8_t elements, using the LoRa protocol configured to the standard values: 915MHz, CR 4/5 and 500kHz bandwidth. Prior to that I had tested some code in a pair of NUCLEO WL boards, which worked just as expected, so I based my circuit on the NUCLEO, simplified to remove unused features. A capture of the schematic is provided below.The code used was based on an example by ST's package STM32Cube_FW_WL_V1.3.1, specifically the SubGHzPhy Ping Pong for STM32WL55JC. After making sure that the basic parts of the circuit were working right (stable supply, uart, etc.), I used the code below, adapted from the one I tested with the NUCLEOs, but after many attempts I still couldn't get it to work. The interrupts are never triggered, transmission and reception of data won't work even with the other device close to the board. What are the
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.