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
I’m attempting to learn BLE and IoT and have purchased the following boards to get started.NUCLEO-F401RE MCU brdX-NUCLEO-IDB05A2 BLE Expansion brdDownloaded:STM32CubeIDE Version: 2.0.0 Build: 26820_20251114_1348 (UTC)STM32CubeMX Version: 6.16.1x-cube-ble1 BLE DemoThe main program calls HAL-Init() which goes directly to the HardFault_Handler()My preliminary conclusion is that Version 20.0.0 is not compatible with the demo program based on help I sought on ChatGPT. It recommends Version 1.19.0. Is this correct?May need to back up and start from scratch and would appreciate a point in the right direction to avoid going down any unnecessary rabbit holes.Thank you, BareMetaler
Hi,I'm trying to figure out what to expect for current consumption for the SR5E1E570C30F01X. The datasheet DS13808 - Rev 8 - November 2025 notes under "3.7 Device consumption" that "The following table [table 10] reports each single contributor factor to the device consumption. Refer to Figure 3. Device consumption measurement to see where each contributor is measured.". However, upon inspecting figure 3, it does not contain the required information. Notably, I_DD_HV and I_DD_HV_SMPS_LKG are not shown in the figure despite their grave importance. In fact, only two of the currents listed in table 10 are depicted in figure 3.Is there a corrected figure or information on calculating the approximate total current draw of the MCU - does the I_TOT calculation under 3.7 truly represent the total current draw, including both the HV and LV side? This is presented in a very unclear way.Thank you
Hi Team, It appears that the varistor turned on at a voltage lower than the value specified in the datasheet.・Detailed V-I characteristics of the varistor・How significant is the variation between individual varistors?・Once a varistor turns on, does it remain on even after the power is turned off?・What is the tolerance of VBO?・Does the failure mode of this varistor result in a short circuit?Thanks
As mentioned in the AN2606 document for STM32F412VGTx MCU(Custom chip), I am using USART2 (PD6/PD5) for UART bootloader using STM32CubeProgrammer. But I am getting an error message as attached. Help me to resolve this issue.
Greetings,I'm trying to run an application using X-CUBE-ST67W61, but I'm encountering a problem at this line in w61_at_common.c: int32_t W61_AT_ModemInit(W61_Object_t *Obj) { (...) xReturned = xSemaphoreTake(mdm->sem_if_ready, pdMS_TO_TICKS(4000)); (...) } everytime, xReturned equals 0, which means that sem_if_ready is not received.My setup consists of STM32N6570-DK with X-NUCLEO-67W61M1, and the code I'm trying to run is mostly ble_p2p_server app from X-CUBE-ST67W61. Some of the SPI communication starts, as seen below: but these are the only signals that are appearing.
Hi ST team,I am using STM32U5G9 MCU. After modifying option bytes, HAL_FLASH_OB_Launch() would be called to apply the changes.But in the launch function, it states that "Option byte launch generates Option byte reset". I have other tasks need to be done after calling HAL_FLASH_OB_Launch(). I don't want device to be reset after calling HAL_FLASH_OB_Launch() immedately.Is there a way to trigger reset manually after modifying option bytes?1. Modify option bytes2. Call HAL_FLASH_OB_Launch()3. Reset device manually Thank you.
I am using ST25R3916B with differential antenna without varicaps.The antenna is configured to receive maximum signal from the smartphone on the RFI1.There is a TFT display between the antenna and the smartphone. The smartphone reads the tag with great difficulty even when pressed against the display.The ST25R3916B reads cards in card reader mode at a distance of about 2 cm from the display (when setting up the antenna to get the maximum signal from smartphone).Question: How can I increase the tag's reading range with my smartphone? ST25R3916B has sensitivity control registers, but there is no method for setting these parameters.Best regards.
Hi, I run ADC1 with DMA on my STM32F303RE with 72MHz clock. I take the number of samples flowing into the circular buffer per timeunit. I calculate a sample freq. of 1.305 Megasamples per second Ms/s. When I look at the sampled known signal I calculate a sample frequency of 1.518Ms/s. I'm losing samples somewhere !? Where? Is it due to ADC or DMA? ADC setup: Independent mode,Synchronous clock mode divided by 4, 12Bit, scan disable, continuous enable, enable regular conversions enable, DMA setup: ADC1 DMA1 CHANNEL1, circular buffer 15*1024*uint16_t, increment address memory, half word THX Cheers Detlef
I have a STEVAL-MKBOXPROm and I flashed "STM32CubeFunctionPack_DATALOG2_V3.1.0" (DATALOG2_Release.bin) to it. In the ST BLE App, I can start and stop an acquisition, edit which sensors are logged, and edit the fillenames. However, the acquistion_info.json file does not show my updates Acquisition Name, Description, or any of the Tag Names. I tried rebooting my phone and the device. Anyone have any suggestions?
Hello,Is the STM32CubeProg + STlink (v3) supposed to work with STM32MP257 ?I can't get any connection.Thank you
Hi!I’m working on a motor controller design that utilizes an stm32f4 and a magnetic angular position sensor which communicates via spi.My design currently performs current sensing; I use channel4 of timer1 to trigger ADC reads near the center of my center-aligned UVW PWM period.This works great so far, but now I’m trying to think through how/when to schedule SPI reads of my angular sensor. I can straightforwardly perform an spi read when the ADC conversion completes, as part of my inner torque control loop. Is this reasonable to do? Is there a better way? It seems like the best time to touch off such a read is at the same time as when I trigger my ADCs. But I can’t quite figure out how I might do this.Thanks!
Hello,I'm wondering if Cube's generated code for is thread safe. In particular, whether malloc can be safely used in a multi-threaded FreeRTOS setup.The broken malloc behavior was first described by Dave Nadler in 2019 here. He has also written about it on his webpage.In 2021, ST seems to have introduced some "fixes" to this problem, by adding a thread-safe code generation option in CubeMX and implementing the various __retarget_lock* newlib functions to make sure that newlib can behave correctly in a multi-threaded environment.However, it seems like that these implementations are buggy. One such issue is reported here, where the lock's nesting level is (incorrectly) modified before entering the critical section. I've just reproduced this exact issue today, with Cube version 6.11.1.I'm quite confused about the current state of this issue. Are the things described by Dave Nadler still relevant or applicable? Is ST going to fix the bugs in the __retarget_lock* implementations? For people
Hello. I am currently working on a NUCLEO-L152RE project in the latest version of the CubeIDE. I am running into an error where I can not install break points due to an "unmatched quote". I have tried the common fixes (New work space) for this that I could find online and it hasn't resolved it. I also ran fresh installs of the programs and encountered the same issue. Has anyone else encountered this problem? I have included a screenshot below for reference.
Hi,I am new on TouchGFX and UI making, i have make many screens with transition in between i want to add a qr Code,But when I just add a default qrcode no edit, but it dont show any thing, on that screen but when i change screen to different one and come back again the previous screen content print on qr code area.First screen:Qr screen: in the qr area the previous screen pixel shownQr next screen: when we go to next screen and again come back it again shows same issue. or if we set the qr screen as startup it shows black completely in the qr region. Kindly tell which issue causing this, as i does following troubleshoot from my sie;1- use the invalidate in constructor, setup screen of view, and with screen coding in view file.2- try to look every possible options like change qr versions, scale, ECC. mostly every option3- try https://www.qrcode.com/en/about/version.html qr version table combitions to correctly check4- change screens and try on different projects.screen 1:
Hi, I am using the NUCLEO-WL55JC1 board and referring to the PWR_STOP2_RTC example to measure current consumption. I have isolated the ST-LINK section and am powering the board with an external 3.6 V supply for accurate measurement. However, in sleep (STOP2) mode, the measured current consumption is about 1.64 mA, which seems higher than expected. Please let me know if this is normal for this configuration or if any additional steps are required to further reduce the current consumption.
I'm using STM32N6 with stm32-mw-camera to communicate to CAM-66GY sensor. I also have CAM-16GZ sensor, but looks like this sensor is not supported (because of VD6G_BAYER_NONE when I use vd6g driver). What are my options to integrate CAM-16GZ into the same project?Thank you
Hi all!I am using the IHM08M1 power board for a BLDC/PMSM motor application, and I have a doubt regarding the L6398 gate driver input logic.My question is:If I use PWM to control the high-side MOSFET and a GPIO to control the low-side MOSFET, is this approach correct when working with the L6398 gate driver?I am asking because I am currently using complementary PWM mode on my microcontroller. In complementary mode, the signals are inverted (PWM and its opposite), so HIN and LIN cannot receive the same logic level. Because of this, the L6398 truth table does not match, since the driver expects:HIN = HIGH, LIN = HIGH → High-side ONHIN = LOW, LIN = LOW → Low-side ONWith complementary PWM, this is impossible because the two signals are always opposite.So I am considering using:PWM → HIN (high-side)GPIO → LIN (low-side)I would like to know whether this method is valid, or if there is a better recommended way to drive the L6398 when only complementary PWM outputs are available.Please let me k
Hi,I made a custom bootloader to upload my application using the virtual com port by the USB interface.This works nicely, but my application also has a part in flash to store its configuration. When I flash my user program, I do not want to overwrite the configuration. Therefore, this is a special part in the flash memory.Is it possible in the STM32CubeIDE to generate a bin-file for this configuration to have a default configuration?Is it also possible to generate a bin-file using my bootloader, by reading the flash memory where the configuration starts? Because it would be great to backup a configuration.Greetings,ErX
P-NUCLEO-WB55Just a sanity check really.I'm using the DWT unit to time a chunk of code, am I right that each tick is at 1/32MHz?
I am entering the world of NFC with a somewhat complex project, but I took the initiative to start it. The goal was to create a sensor that would work only with Energy Harvesting from the reader.For this, I chose the ST25R300 chip to be the chip for my reader board and sensor power supply, mainly due to its high transmission power.I am having difficulty getting it to work properly. Basically, I ran several tests with some DEBUG codes on the reader board. In these tests, I found some inconsistencies. The first is the VDD_A voltages, which come from a reading of the chip itself, which is registering almost 6V, and the other inconsistency is the RSSI giving 0.I believe the error is in my antenna and matching circuit. I would like someone to help me improve this system by pointing out where I may have made a mistake in their design.I made the antenna using the ST website (eDesignSuite antenna design tool). I also made the maching circuit using ST's eDesignSuite.In addition, my circuit was
Hello STI would like to ask about is it possible to change the STUSB4500 FTP_KEY default values through SMBUS interface? If its possible, could you suggest the appropriate step to do so?
Hi. I'm new to STM32, and I'm using STM32F103C8T6. I want to run Loopback mode to test CAN BUS without another board first. When I go to debug, I find it stuck at HAL_CAN_START. It returns error code 131072. Can you guys please help me find out the problem? I also give the main.c below. Thanks for reading./* USER CODE BEGIN Header *//********************************************************************************* @file : main.c* @brief : Main program body******************************************************************************* @attention** Copyright (c) 2026 STMicroelectronics.* All rights reserved.** This software is licensed under terms that can be found in the LICENSE file* in the root directory of this software component.* If no LICENSE file comes with this software, it is provided AS-IS.********************************************************************************//* USER CODE END Header *//* Includes -------------------------------------------------------------
Hallo,i try to run an B-G473E-ZEST1S with STEVAL-LVLP01A. I generate code with the default setting from MCSDK 6.4.1., STM32CubeMX 6.16.1, STM32 FW V1.6.1 (Recommended)I changed nothing on the board hardware or MCSDK settings, i choose the 2 boards and generate code, but after startup I end always in an "<signal handler called at 0xffffffe9>".The error occours after MX_NVIC_Init(); without MX_NVIC_Init(); the code is running, so it has something to do with the interrupts, but I don't get it.Does anyone know what could be the cause of this error? Has anyone successfully used this board with the MCSDK 6.4.1?Thank you!
"I am generating code using STM32CubeMX for the STM32WB09, aiming to implement BLE with CMSIS-OS.I am facing an issue where, even after explicitly disabling the Sequencer when enabling CMSIS-OS, CubeMX still generates code that relies on the Sequencer. This results in an application with multiple errors.Upon checking the official examples at https://github.com/STMicroelectronics/STM32CubeWB0, I noticed that the projects utilizing RTOS do not seem to rely on CubeMX (the .ioc files are missing).Is there a known limitation or bug regarding this behavior in CubeMX?"
Hello ST team,I am developing a camera application on STM32N6570-DK + IMX335.The entire capture/display pipeline follows the official DCMIPP_ContinuousMode example: IMX335 RAW10 → CSI → ISP → PixelPacker RGB565 → LTDC However, the LCD output shows a corrupted pattern like in the attached video:The image reacts to hand movement (so the sensor is streaming), but the content becomes color-shifted, diagonal, and distorted. The pattern matches the behavior when:RAW10 is fed directly into the PixelPacker interpreted as RGB565,meaning the ISP output is never routed to Pipe1. What currently works1. IMX335 is clearly streaming (image brightness changes when covering the lens).2. CSI + Pipe1 receive real frames.3. LTDC and framebuffer work correctly (solid-color test OK).4. All registers after DCMIPP init match the official demo.5. ISP_Init() and ISP_Start() both return OK (0).6. ISP_BackgroundProcess() also returns OK. What is incorrectAfter ISP_Start()
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.