Get ready for the STM32 Summit 2026 | Online, November 3
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
ST moderator: post split from this thread. Hello mƎALLEm, Thank you for your confirmation on this issue. I would like to provide some additional information. I have also encountered the same problem on the STM32F405RGT6. In STM32CubeMX, when I configure both HSE or LSE to "Bypass Clock Source" mode, the tool insists on reserving PH1 (OSC_OUT) or PC15 (OSC32_OUT) as RCC pins. It blocks me from configuring them as regular GPIOs, even though the hardware (as you've confirmed) supports it. Furthermore, I tested this on the STM32F446RE and STM32F446RC using the latest CubeMX, the problem still exists on those devices as well. Regarding the internal tickets you mentioned (220390 for documentation, 222721 for CubeMX), may I kindly ask: Has the CubeMX fix (ticket 222721) been implemented in any release yet? If not, is there an estimated timeline for when we can expect this fix? I understand if you cannot share internal details, but any update would be very helpful fo
Hi there, im using Nucleo-F446RE , ST HAL and CubeMX, and im learning to configure the clockI use HSE Bypass mode (MCO from the st-link in the nucleo), everything perfect hereIn the RM i found out that, when using HSE BYPASS mode, PH1 (OSC_OU) should be left in HI-Z state What does HI-Z means in STM32 MCUs? does it mean configuring the pin as digital input? or it means configuring the pin as analog input?Or it depends? When selecting HSE BYPASS MODE the chip image in the .ioc file gets set like this: But if i try to set PH1 (OSC_OUT) as GPIO a conflict is generated, so, how can i set the state of PH1 as HI-Z? Also, why does PH1 gets reserved and configured in the chip as OSC_OUT? is this to avoid configuring it as another thing?And finally, what it seems very weird to me, why the clock por GPIOH is enabled when CubeMX generates the code if i cant use PH1 as a normal GPIO? (im not using any other PHx PIN) Thanks in advance and sorry for the english, not a n
Here are the logs and waveforms. The slave device of IIC is unable to raise the SCL response. The data cannot be sent out either. The code is provided in the attachment.HAL_I2C_AddrCallback: 开始接收数据接收到字节[0]: 0x40接收到字节[1]: 0x03接收到字节[2]: 0x22接收到字节[3]: 0xFE接收到字节[4]: 0xBEHAL_I2C_ListenCpltCallback: 开始接收数据接收到字节[0]: 0x41HAL_I2C_ListenCpltCallback: 开始发送数据发送字节[0]: 0x05发送字节[1]: 0x62发送字节[2]: 0xFE发送字节[3]: 0xBE发送字节[4]: 0x30发送字节[5]: 0x31
Module / setup- Module: ST87M01-1301- Host: STM32-class MCU over UART, 115200 8N1, no flow control- Carrier: 1NCE NB-IoT (auto-PDP on CID 5)- AT manual reference: v3.1, 2025-10-06Current sleep-related configuration16:34:39.720 -> === AT readbacks ===16:34:39.720 -> >>> AT+CGMR16:34:39.720 -> <<< A:2.7.0-M:2.7.0-S:2.7.016:34:39.720 -> <<< OK16:34:39.720 -> >>> AT#SLEEPMODE?16:34:39.720 -> <<< #SLEEPMODE: 1,5,016:34:39.720 -> <<< OK16:34:39.720 -> >>> AT#WAKEUPEVENT?16:34:39.720 -> <<< #WAKEUPEVENT: 15,316:34:39.720 -> <<< OK16:34:39.720 -> >>> AT#SLEEPIND?16:34:39.720 -> <<< #SLEEPIND: 0C16:34:39.720 -> <<< OK16:34:39.720 -> >>> AT#RINGPIN?16:34:39.720 -> <<< #RINGPIN:0,20,1,10016:34:39.720 -> <<< OK16:34:39.720 -> >>> AT+CPSMS?16:34:39.847 -> <<< +CPSMS: 1,,,"10010100","0000111
Dear ST,Now I'm testing my VL53L7CX sensor that is on the package P-NUCLEO-53L7A1 in Autonomous Mode with integration time = 2ms, ranging freq. = 4Hz and 4X4 Resolution, the attached screen-shot represents the output current related to my integration time and it's typically 2ms.My question is about the added peaks after the integration time peak, Why could this happen?and, How can I eliminate or reduce it?Knowing that the duration of these peaks illustrated in the other screen-shot attached.Thank you.
Hello,I’m working on an STM32H757 (Cortex-M7 core, dual-core system) using SDMMC1 + FATFS (CubeMX-generated stack) and I consistently hit a blocking issue: Core issuef_mount() always returns:FR_NOT_READYor the execution breaks inside Error_Handler() depending on build/debug timing. Hardware / system contextMCU: STM32H757 (Cortex-M7, DCache enabled)SD interface: SDMMC1, 4-bit modeDMA: enabled (CubeMX SDMMC DMA configuration)External subsystem: Riverdi TFT display 12.1 inches (LTDC active)FATFS: CubeMX middleware (generic SD diskio template)No RTOS Software architectureSTM32CubeIDE latestHAL SDMMC driver (CubeMX generated)FATFS with sd_diskio.c DMA templateBSP layer present (mixed HAL/BSP abstraction)Cache enabled (I/D Cache ON, MPU default CubeMX config)Observed behaviorDuring initialization:BSP_SD_Init() returns OKSD card is physically detectedHAL_SD_GetCardState() does NOT consistently reach SD_TRANSFER_OKSD_CheckStatusWithTimeout() frequently times outFATFS layer repor
With the recent split of STM32CubeIDE and STM32CubeMX, I'd like to propose a dark mode option be added to STM32CubeMX.In consideration of the competing priorities for STM's software development team, I have two suggestions for how this proposal could be implemented:The first suggestion is the typical route: STM's in-house software development team add the UI theming and inputs to switch between dark and light mode.The second suggestion is less typical: make STM32CubeMX open source and let the larger software community assist with adding dark mode. Perhaps the source could be placed alongside other repositories in STM's current GitHub account....The benefits of adding such an option would be as follows:Consistency with STM32CubeIDE, from which STM32CubeMX was split from (STM32CubeIDE already has a dark mode)Consistency with the vast majority of other software in the industryConsistency with what has become a common user experience across operating systems, browsers, and setups in g
Follow-on from STM32F030K6T6 microcontroller with Adafruit 2478 display and touchscreen.Hello all, i have a part of code for the touch screen for the 2478 display.I have found an example made with Arduino and i have adapted It for stm32, i would like to know if my code Is fine or It has some issues to fix and what u would suggest me to do. This part Is only for the touch controller of the display but i got several questions, like how many readings i should make from the ADC? rn i do and average basically. #include "main.h" #include <stdint.h> /* ================= CONFIGURAZIONE ================= */ #define LCD_W 320 #define LCD_H 240 // PIN TOUCH (MODIFICA!) #define X1_PORT GPIOA #define X1_PIN GPIO_PIN_0 #define X2_PORT GPIOA #define X2_PIN GPIO_PIN_1 #define Y1_PORT GPIOA #define Y1_PIN GPIO_PIN_2 #define Y2_PORT GPIOA #define Y2_PIN GPIO_PIN_3 // CANALI ADC (MODIFICA!) #define ADC_CH_Y1 ADC_CHANNEL_2 #define ADC_CH_X1 ADC_CHANNEL_0 #define ADC_SAMPLES
Hi, We are planning to use STM32H743ZI for our project. Our requirement is to interface a 7-inch LCD touch display with 1024x600 resolution using a 24-bit RGB interface (RGB888) through LTDC. Can STM32H743ZI reliably support this display resolution? Also, what frame rate can realistically be achieved with this configuration? Are there any important hardware or performance considerations before selecting this MCU? Any suggestions or reference designs would be helpful. Thanks.
Hello There,I am currently trying to use the ST25R200 with the X-CUBE-NFC10 Software package.First thing am not sure about: In the "Software Packs Component Selector" I have to configure the "Board Extension NFC/NFC10A1" even when i don't plan to use this board. Otherwise i get a warning that "NFC10Boardlface" requires "NFC/NFC10A1". If I don't select the board part, I get a simmilar warning from the RFAL component.If i either don't add NFC/NFC10A1 in the component selector or don't select "Board Part NFC10Boardlface" in the Mode selection for the X-CUBE-NFC10 package, CubeMX seems to have problems generating the header "nfc_conf.h", which i have attached to this post.This is how the configuration looks, which generated nfc_conf.h:Am I using this library not correctly? Or rather which components of this library am i supposed to configure if i want to use the library with a custom board based on the ST25R200?Best Regards, Cecil
I am making use of the SWV to plot a 5Hz Sine Wave.The output on the plotter does not resemble a sine wave:Any recommendations to fix this?
I have created a firmware for a STM32L010F4Px microcontroller.I was able to Connect and Download Firmware by using ST-LINK V2.For some reason, I can't connect to the MCU at the moment by using CubeProgrammer + ST-LINK V2.Instead, I can connect/debug my microcontroller by using a SEGGER J-Link Ultra+ + J-Flash tool.The log from CubeProgrammer doesn't give me much details:13:28:34 : UR connection mode is defined with the HWrst reset mode13:28:34 : ST-LINK SN : 37FF71064E573436D2C1144313:28:34 : ST-LINK FW : V2J47S713:28:34 : Board : --13:28:34 : Voltage : 3.28V13:28:34 : Error: Unable to get core ID13:28:34 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication
Hello!I am studying the SPC58NH92E7. My chose of MCU is driven by the need to have two Fast Ethernet transceivers operating simultaneously.I'm looking for baremetal (no OS) example for 100BASE-TX. Has anyone come across examples like this? I couldn't one among the standard examples in SPC5Studio without FreeRTOS.The standard approach in SPC5Studio is to use FreeRTOS. I have tried with FreeRTOS + RMII PHY. It's work correctly. Next step - baremetal application with ethernet promiscuous mode. I need to receive simple IPv4 UDP packets.And another question. Where can I find documentation for components/spc5_network_components_rla? "Generate SPC5 Application" doesn't generate any documentation for this. No "doc" folder inside "spc5_network_components_rla".
Dear Team,Could you please guide us on how to set the Linux terminal and SSH login password for the STM32MP257F series platform?We would appreciate it if you could share the required steps or documentation for configuring the password.
I'm working on STM32mp25f-EV1, i have downloaded FLASH-stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18 package but i'm facing problem while accessing SSH.
Hello, I'm trying to configure my SAI to receive TDM packets from my external ADC. For some reason, no matter what sample rate I choose, the real audio and error between selected is always 0. I've tried changing the clocks to the SAI1 module to 50 and 100 MHz, but it didn't change anything. Is this a visual bug with CubeMX or is it something with how I'm configuring the peripheral? Thanks.
Good evening, I am trying to use a P-NUCLEO-IHM03 pack.I have generated the project using the X-CUBE-MCSDK version 6.4.2 and STM32cubeMX version 6.17.0, built and flashed the project on the board. The problem is that as soon as I try to start the motor in ST motor pilot, I get a driver protection fault instantly, without any movements of the motor:I didn't touch any configuration and jumper of the board, but while I generate the project I get these warnings (I don't know if this coukd be the reason of the fault):Any help would be very much appreciated, Thanks.
Hi,here is a post for wireless community (Sub-1Ghz solutions) to answer many frequently asked questions and good practices using ST S2-LP transceiver.please find attached document to get additional information on this perfect Radio chipset.ThanksPhilippe
Hello!I am studying the SPC58NH92E7.I'd like to clarify some terms and definitions. Below, I’ll explain how I understand these terms. Please correct me if I’m wrong.Project examples in SPC5Studio are divided into two classes: "RLA" and "cut2_RLA".RLA here is Register Level Access, correct?What does it mean "cut2"? Lock-step core (vs "cut1" regular core)?Some of the examples are for FreeRTOS, and some are for OSLess. Does "OSLess" here mean that the example doesn't use an operating system? After all, "OSLess" isn't the name of a specific operating system, is it?
For SPC582B, which development IDE is recommeded for code debug and run? Does PLS JTAG debugger software ok to run some demo when using SPC582B-DIS discovery board?
Hello, I tried developing for the NUCLEO-WBA25CE1 using BLE_HeartRate, but even after selecting it, the Next button is disabled. Could you please suggest a good way to develop for this board?
Excuse me, how can I implement this kind of loadingI'm really at a loss for ideas. Please help me out, thank you
Ciao, [English was established as the common basis so that everyone in the global community can understand each other (see ST Community Terms and Conditions - STMicroelectronics Community, article 10)] I recently purchased a new STEVAL-L99615C evaluation board and, before connecting any battery pack, I checked the resistance between the cell inputs and ground (GND). I measured: C1 → GND: a few ohms C2 → GND: a few ohms C3 → GND: a few ohms C4 → GND: several megaohms C5 → GND: several megaohms C0 → GND: a few kiloohms The board has never been powered with batteries connected and has never been exposed to reverse polarity.Is this behaviour expected because of the input protection/balancing network, or could the board be faulty?Has anyone else encountered the same issue? Thank you. Ho acquistato di recente una nuova scheda di valutazione STEVAL-L99615C e, prima di collegare qualsiasi pacco batterie, ho verificato la resistenza tra gli ingressi delle celle e la massa (GND). Ho misurato:
Hi all, I'm planning to use USB (DFU mode) for production programming of the STM32C071K8U6 — including the very first firmware upload. The board has no external crystal; I intend to rely solely on the internal RC oscillator. A few questions: 1) Is USB DFU feasible on this specific part without an external crystal? I've read that not all STM32 variants support USB boot without an external crystal (due to clock accuracy requirements for USB). Can anyone confirm whether the STM32C071K8U6's internal oscillator is sufficiently accurate for this? 2) Are there any specific hardware or configuration requirements I should be aware of for first-time USB DFU programming on this part? As the moment I just have the two USB traces connected to the USB connector but no 5V (VBUS) connected anywhere to the micro. I also have a pushbutton on the BOOT0 pin. 3) What USB speed does the built-in bootloader use, and is it possible to force a lower speed? The reason I ask is that the USB
https://www.linkedin.com/posts/edwin-amaya-63006b225_next-little-free-project-is-a-segger-rtt-activity-7459971377140469760-ik6Vhttps://github.com/EdwinFairchild/ProbeStream
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.