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
Hello.I’ve noticed a discrepancy in the documentation. The electrical schematics for the NUCLEO32 board show that D8 is connected to PF0/PC14 and that D7 is connected to PF1/PC15. However UM1956 User manual for STM32 Nucleo-32 boards (MB1180) says throughout the manual that D8 is connected to PF1/PC15 and that D7 is connected to PF0/PC14.
So I have installed STMCubeMX2 but when creating a project, I cannot choose any MCU other than STM32C I am using MacOS
Is there any way to prevent the Cube Programmer from opening all these message pop-ups when programming? I can read the Log to see what it has done, and closing them every time is a pain.I did try to find an answer already, but couldn’t find anyone else asking. Also looked in the preferences, but there there is only one user setting for data collection!
Hello,I am using STM32CubeIDE Version 2.1.1 and I am experiencing a debugging issue.After flashing new code and starting the debugger, the variable values displayed in the IDE are sometimes completely incorrect. However, I am also transmitting these values via CAN, and the values received there are correct. Because of this, I suspect that the issue might be related to the IDE or the debugger rather than the firmware itself.This behavior only occurs when the board has just been connected to power or has been without power for some time. After the first debug session, if I flash the firmware again and start another debugging session, all values are displayed correctly.In other words, the problem consistently appears during the first debugging session after a power-up, while subsequent debug sessions work as expected.I have attached a screenshot showing the incorrect values displayed in the IDE.Has anyone experienced a similar issue or knows what might be causing this behavior?Thank you i
I have started a project in stm32g484. I have understood the concept of the HRTIM.i have reviewd the example projects also.I have a question regarding the Configuration of the HRTIM.I am not able to understand on what basis the Compare Unit1,Compare Unit 2,Compare Unit 3,Compare Unit 4 is being filled up.Can anyone please tell me.How to configure and on what basis we should fill the values? Is there any pdf related to the HRTIM configuration.
It seems odd that this semaphore doesn’t apply across the entire STM32WB family. Is this really the case, and if so, why?
In the STEVAL-MKI183V1’s data brief sheet it’s saying that it uses LPS33HW product family barometer sensors. But when you click on the linked web site of the LPS33HW product it takes you to LPS28DFW’s ST web site. So is the board got update and it now uses LPS28DFW or is it a mistake? If it’s a mistake; where is the LPS33HW’s web site? Because i can’t find it on web. There is no website for LPS33HW on ST that i can find datasheet of it.If there is someone knows that answer please let me know.
Hello,I have two issues with the octospi controllers of the STM32L4P5.First issue.I can’t get both controller to work simultaneously.My target was to use one controller with a QSPI flash (W25Q512JVEIQ) and the second one with an APMemory QSPI PSRAM (APS6404L).I started the project by getting the code to work (it was a port from an STM32L496 project) for the flash.After some adjustments, the code works properly in quad spi mode.Then I added the second controller and doing that brokes the project.The second controller works, but the first one stopped working.I run some checks with a logic analyzer and found that ther is no signals on the I/O lines.CS# is HIGH and never goes low and there is no clock.CS# and clock are properly generated for the second controller.Second issueI can’t get the memory mapped mode to work.The mode is p^roperly enabled, I can read data from 0x90000000 without throwing a hard fault, but data is always 0.I’m wondering if this could be related to the flash model.It
I want to design my own UART and JTAG programming interface for the STM32C562RE controller, as well as for an external programming setup. However, I have not been able to find any relevant application notes or reference designs. Could you please help me with the required documentation or guidance?
I have an older v1.0.0 installation that works fine, but the newer v1.1.1 freezes up on launch and does not respond to mouse or keyboard input. 2026-08-14T09:04:40.380Z [Error] Could not initialize contribution TypeError: Cannot read properties of undefined (reading 'onChanged') at g.initializeEventWatchers (file:///home/user/.local/share/STMicroelectronics/STM32CubeMX2_1.1.1/resources/stm32cubemx-application/1.1.1/dist/resources/app/lib/frontend/bundle.js:92134:94886) at g.initialize (file:///home/user/.local/share/STMicroelectronics/STM32CubeMX2_1.1.1/resources/stm32cubemx-application/1.1.1/dist/resources/app/lib/frontend/bundle.js:92134:94735) at file:///home/user/.local/share/STMicroelectronics/STM32CubeMX2_1.1.1/resources/stm32cubemx-application/1.1.1/dist/resources/app/lib/frontend/bundle.js:92524:49789 at r.startAsync (file:///home/user/.local/share/STMicroelectronics/STM32CubeMX2_1.1.1/resources/stm32cubemx-application/1.1.1/dist/resources/app/lib/frontend/bundle.js
Hello all, Im Currently working with my own Hardware with the L072CZTx on it.I want to use a Terminal over the 2 USB Pins.(USB_DP and USB_DM)I activated the Clocks with 48MHzActivated USBActivated USB_ Device as a Communication Device Class(Virtual Port COM) I got told i should see it in the Device Manager as a Com Port or a unidentified Device.Sadly i can only see my V3set im using to Programm the Controller with (SWD). If very new to Programming with STM32 and if you have any ideas that could fix it i would really appreciate it. Thank you in Advance
I am using Azure RTOS NetX Secure / NetX Duo on an STM32U585 for TLS client communication and would like clarification regarding certificate chain verification.I have the following scenario:The TLS server sends a valid server certificate. The server also sends an expired intermediate CA certificate as part of the certificate chain. The client has a valid copy of the same intermediate CA certificate stored locally and added using nx_secure_tls_local_certificate_add(). The trusted root CA is also configured in the TLS trusted certificate store.During debugging, I observed the following:_nx_secure_tls_process_remote_certificate() correctly parses the certificates received from the server. Wireshark also confirms that the server is sending the expired intermediate certificate. _nx_secure_x509_remote_endpoint_certificate_get() correctly identifies the remote endpoint certificate. During _nx_secure_x509_certificate_chain_verify(), NetX calls:_nx_secure_x509_store_certificate_find() to locate
Hey,I have some questions. First, why does the installer install the app below ~/Library/Application Support?This location is for the support files of an app, not the app itself. The installer, however, puts everything there, including the .app BundleImprovement: Please move the .app Bundle install location to /Applications or ~/Applications. Supporting files then belong in the aforementioned path. Second, why can the .app Bundle not be started on it’s own? When I open it, it loads a splash screen with a progress bar, but when the app windows comes up all it shows is a loading circle. To really start CubeMX2 you HAVE TO use the startup binary which the installer also provides, but there is currently no way to just start the app from the launcher.This is very bad as it goes completely against the way 99% of how Mac users launch apps. CubeMX1 does this correctly, why is that such a step backwards with CubeMX2 ? Because currently, after installing the app there is no way to start it from
Hello everyone,I am currently working on a project on STM32F756 with SAI1A as asynchronous master and SAI2B as synchronous slave.Config :TDM Mode frame length 256, data size 32, slots 8 Freq 96k Fifo threshold full Master ext sync out enable Slave sync with SAI1Then in my code I call HAL_SAI_Transmit_DMA for Slave then for Master but the Slave sends its data 5 us before the master because BCLK and FS clocks are always active.So the Slave does not wait for the master to have its buffer ready. They should be synchro with this config right ? Is there a way to have perfect sync between both SAIs ? Thanks
Hello ST Support Team,We are working with the STM32MP257F-EV1 evaluation board and have identified a hardware/firmware-level restriction preventing us from using the SPI8 peripheral from the Linux (Cortex-A35) side, despite correct device tree configuration.Board: STM32MP257F-EV1OpenSTLinux version: 5.0.15-openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18Kernel: Linux 6.6.116-stm32mp-r3The issue:When we enable the &spi8 node in our device tree (with correct pin configuration, matching the same pattern that successfully works for other SPI peripherals like SPI3), the driver never initializes at all. There is no error message, no warning, and no output anywhere in dmesg — the peripheral simply remains completely silent and unclaimed, as if the device tree node doesn't exist.What we've already investigated and ruled out:Device tree correctness — confirmed the node, pinctrl, and pin assignments are syntactically and semantically correct, following the identical working pattern used success
Hi everyone,I am working on a project using the STM32WB55RG and would appreciate some guidance on integrating the STM32WB BLE stack into an existing FreeRTOS-based application.Current SetupMy project currently uses:MCU: STM32WB55RG RTOS: FreeRTOS with the CMSIS-RTOS2 API Configuration/code generation: STM32CubeMX An existing firmware application that is already functional and uses multiple FreeRTOS tasks, semaphores, flags, etc.At this stage of the project, changing to another RTOS or converting the application to bare-metal is unfortunately not an option, so I need to integrate BLE into the existing FreeRTOS/CMSIS-RTOS2 architecture.BLE RequirementsI would like the STM32WB55 to support:BLE advertising Another BLE device should be able to connect to the STM32WB55 and retrieve data from it, most likely through a custom GATT service/characteristic.ProblemI enabled BLE using STM32CubeMX and generated the required BLE code.However, I am having problems when initializing the BLE application
Hi,I’m trying to run a simple FSBL application from NOR flash on a custom STM32N657L0 board. The application runs without any issues in Dev-Mode from RAM. However, when I sign and flash the same application, it does not run.I’m using a custom external flash loader for the W25Q64JV NOR flash, based on the template provided in the STM32Cube repository. I’ve attached it for your reference.I also have a question regarding VDDCORE. It is currently set to 0.89 V, while we are operating in normal-speed mode. Should we reduce the voltage to 0.8 V? Could the current VDDCORE setting be a potential cause of the problem?General info:Board is working with 3v3 domain XSPI2 is used. HSE with no PLL is used (48MHz).I have used the following the guides provided by ST for the tests:
Greetings for the day,I am working on STMC5 microcontroller and with that since we need to use the STMCubeMX2 for code generation, I end up generating a code that doesn’t have all the peripherals initialised in mx_system.c and not included in mx_hal_def.h. Any idea why that is happening ? Am I missing some configuration in the tool ? It can be seen that mx_hal_def.h doesn’t contain all the peripheral headers. This is the issue.
I have been chasing a very intermitant issue with some STM32L100 based products.The problem shows itself with the MCU being reset by the WDT part way through the initialisation sequence.This issue only displays itself when the MCU has reset itself using NVIC_SystemReset();E.G. the program flow is as followsRunning programNVIC_SystemReset(); is calledMCU resets and goes through the init section in main.cpart way through the init section, it locks up and the wdt resets the mcu. Once it has started to do this, it can stay in this reboot loop until you re-power the MCU OR it can recover after only one reboot. There is no pattern to how it recovers without a power cycleThis does not happen when you power up the mcu, it only happens when the mcu has been reset using NVIC_SystemReset();Plugging in a USB cable into the board and a pc stops the reboot cycle. (no app on the pc needs to be using the usb com port) We have several thousand products in the field and we come across this issue once e
Are there any more resources to understand how to use STEVAL-HARVEST1, how does the energy flow from super capacitors to the MCU and also the back up capacitors. I feel few things are missing the schematic and the user guide. I want to first implement a small UART program with energy harvesting. Can anyone guide through steps in achieving it. How to connect this to board, does it mean I need to add any external wire from harvester solar panel and short it here?I have read https://www.st.com/resource/en/user_manual/um3539-getting-started-with-stevalharvest1-energy-harvesting-board-for-nucleowl55-stmicroelectronics.pdfhttps://www.st.com/resource/en/schematic_pack/steval-harvest1-schematic.pdfhttps://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=11369460Thanks in advance.
Hello,I am currently working on a drone project based on the STEVAL-FCU001V2 board. My hardware setup consists of:Motors: 4x 8520 Coreless DC motors (3.7V).Battery: 1S LiPo 600mAh (30C).Frame: Custom micro-drone frame (~60g AUW).I am looking for a reliable and fully functional firmware (source code or .bin) that is compatible with the latest mobile application for flight control of STM.I’ve noticed that the original ST Drone (or ST BLE Drone) application sometimes has connectivity or stability issues with recent Android/iOS versions.My questions are:Is there a specific version of the STSW-FCU001 firmware that you recommend for best stability in 2026?Is the "ST Drone" app still the official way to fly this board via BLE, or is there a community fork or a newer ST app recommended for this specific FCU?Are there any known patches for the PID values or PWM frequency (specifically for 8520 motors) to improve the hover stability?Any advice, GitHub links, or updated STSW packages would be gre
Built a minimal on-device training stack for STM32 — fits in 608 bytes RAM total.The problem: Adam optimizer needs exp_avg + exp_avg_sq — 2× parameter RAM. On STM32F103 (20KB SRAM) with a 5K parameter model that's 40KB just for optimizer state. Doesn't fit.What I built:GravOptMini — momentum optimizer with quantile-based gradient freeze. Only exp_avg (1× param RAM). Freezes low-gradient parameters to reduce compute.W-Twin Lite — power-law baseline fitted on early steps, tracks deviation. Pure float32, no scipy, no numpy. Rolling window of 20 values. ~240 bytes.Benchmark (Python simulation, STM32 memory constraints):- Model: 46 params, 184 bytes- GravOptMini state: 368 bytes (exp_avg only)- W-Twin Lite: 240 bytes- Total: 608 bytes- MNIST accuracy: 93.2% vs Adam 97.4%- W-Twin overhead: 3.9% per step- Detection: anomaly caught 96 steps before visible loss divergence, 0 false alarms on clean runNext step is a real STM32 test with physical hardware. C port of both components is the plan.Has
Hi, I have a custom product/board that has an embedded STM32L433. The STM32 is powered with an external battery. It is also connect through USB to a COM board that runs Windows. The COM controls the boot0 and reset pins of the STM32 which allows me to update the chip using CubeProgrammer API. I created a custom application in C# that worked fine until I tried to activate RDP level 1. Since I cannot do a POR, I implemented the activation of RDP in the STM32 software using the enter standby mode method. When I try to update with the RDP already active, I use the connectDfuBootloader2 method with rdu = true. This properly downgrade RDP from level 1 to level 0 and I am able to update the STM32 using the downloadFile method afterward. The issue is that after downloading the new software, the STM32 gets stuck in bootloader. The only way to get it unstuck is to call another time the connectDfuBootloader2 with rdu = true. This does not downgrade the RDP level, it only restarts the STM32 which
Hello everyone , I was reading in the power controller section 5 in RM0368 , I had some difficulties understanding some terms and distinctions and I would like your support please . The main goal ifor me is to categorize each group of functionalities by their power source as as being Digital VDD , Analog VDDA , VBAT powered . According to figure 7 page 71 : The analog domain is ADC , RCs and PLLs and .. etc , I would like to know a complete list of the rest of functionalities associated with the analog Domain , Even in DS9716 Page 18 section 3.13 third Bullet it specify a partial list of blocks but it includes “Reset Blocks” , what does reset block refer to exactly can i conclude safely its the POR , PDR , BOR , PVD blocks exactly or that is not correct or partial .Regarding digital domain the word “digital” does it mean “Digital peripherals” ? Why “IO Logic” different from “GPIO peripheral” being a part of digital peripherals ?For VBAT , what is the functionality of “wakeup logic
Title: Hello,I am investigating BootROM behavior on an STM32N6570-DK.My expectation is based on the STM32N6 BootROM documentation and errata:- PG10 is used as BootFailedn in blocking failure conditions.<sup class="chatgpt-doc-sup"><span title="ES0620-STM32N6_Rev4.pdf, page 7" /></sup>- There is a known erratum: “PG10 (BootFailedn) signal not maintained at 1 during blocking failure”, with no workaround listed.<sup class="chatgpt-doc-sup"><span title="ES0620-STM32N6_Rev4.pdf, page 7" /></sup>Observed behavior on my board:- If the content of the OctaFlash is erased, I do not receive the expected serial BootFail-related output on PG10 / USART5_TX.- Measuring PG10 with an oscilloscope, I see a ~4.3 MHz square wave instead.- I observe the same square wave again after setting BOOT1=1 and BOOT0=0 and then resetting the board.Additional context:- I found guidance that Development Boot mode can be relevant for programming/erasing external flash on STM32N6570-D
ST Community highlights – April to June 2026
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.