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
Currently, I am using the STM32F412RGT6 64-pin package to drive an 8-bit MCU interface screen. However, I am unsure if this MCU supports FSMC.
What are the sizes and configurations of the FIFOs (foreground, background, and out) on the STM32F427 DMA2D (Chrom-Art)?
Dear original factory support team,Hello. Recently, we have purchased your eSIM chip ST4SI2M0020TPIFW(ST4SIM‑200M series) twice through the distributor Mouser Electronics, and found that there are doubts about the working mode and activation ability of the eSIM in the two batches. We hereby ask your company for confirmation:1. Purchase batch information:First order: 550 piecesSecond order: 1010 pieces2. Mode confirmation request:According to your product specifications, ST4SI2M0020TPIFW supports two eSIM configuration modes: GSMA SGP.02(M2M mode) and SGP.22(Consumer mode).All the chips of the same model we used many times in the past are SGP.22 mode and run normally. However, this time, two batches of chips were suspected to be preset in SGP.02(M2M) mode after customer test feedback, which caused the customer to be unable to confirm the "preset" carrier profile (ICC ID/ISDP) when the chips were shipped from the factory, so the activation and subscription service could not be completed.
My STM32F303VCT6 discovery board is not connecting with my STM32CUbeIDESTM32CubeProgrammer gives a "Error: No STM32 target found!" I'd appreciate any suggestions about how to fix this issue before I try rolling back the firmware on the debugger.Here's the error I get in the CubeIDE Console windowSTMicroelectronics ST-LINK GDB server. Version 7.5.0Copyright (c) 2023, STMicroelectronics. All rights reserved. STMicroelectronics ST-LINK GDB server. Version 7.11.0Copyright (c) 2025, STMicroelectronics. All rights reserved. Starting server with the following options:Persistent Mode : DisabledLogging Level : 1Listen Port Number : 61234Status Refresh Delay : 15sVerbose Mode : DisabledSWD Debug : EnabledInitWhile : Enabled Target no device found Error in initializing ST-LINK device.Reason: No device found on target. Here's the error that pops up the CubeIDE "Problem Occurred" windowError in final launch sequence:Failed to execute MI command:target remote localhost:61234Error message from debugg
High Packet Loss in IN865 Field Deployment (30–40%) with STM32WLE5CCU6 – Looking for Root Cause Analysis and Scalability Guidance Hello Community,We are currently facing a packet loss issue in our LoRaWAN deployment and would appreciate guidance from members who have experience with large-scale deployments, particularly in the IN865 region.System ConfigurationEnd Device MCU: STM32WLE5CCU6 LoRaWAN Version: 1.0.4 Device Class: Class A Message Type: Unconfirmed Uplinks ADR: Enabled Initial Data Rate: SF10 (ADR manages the final data rate) TX Power: TX_POWER_0 (ADR controlled) Payload Size: 1 Byte Uplink Interval: Every 30 Minutes Network Infrastructure Gateway: Milesight UG67 Network Server: ChirpStack Region: IN865 Channel ConfigurationThe following 8 uplink channels are configured: 865.2 MHz 865.6 MHz 865.8 MHz 866.1 MHz 866.3 MHz 866.5 MHz 866.7 MHz 866.9 MHz Deployment ScenarioWe currently have approximately 150 end devices deployed.Office TestingWhen
When I was developing the stm32u575, I needed to set the threshold for the bor (power-on reset). I wanted the device to reset when the voltage was below a certain level. While configuring the bor threshold for the stm32u575, I followed the configuration process of the stm32f405, but it didn't work. The program got stuck at HAL_FLASH_OB_Unlock(). Why did this happen? What was the problem? FLASH_OBProgramInitTypeDef OBInit; HAL_FLASHEx_OBGetConfig(&OBInit); OBInit.USERType = OB_USER_BOR_LEV; OBInit.USERConfig = OB_BOR_LEVEL_1; HAL_FLASH_OB_Unlock(); HAL_FLASHEx_OBProgram(&OBInit); HAL_FLASH_OB_Launch(); HAL_FLASH_OB_Lock();
I’m reading the getting started manual of STM32MP257 (AN5489) and it displays that there are internal pull-ups on CMD and D0, but not CK.Also there is a confusion if the dashed lines means they have internal pull-ups as well.My question is:If CMD, D0, D1, D2 and D3 have internal pull-ups. Why does the STM32MP257F-DK board have external pull-ups?Can I skip these external pull-ups? According to the datasheet of STM32MP257C/F (DS14284 - Rev 5), the CK, CMD and D0 MUST be high at initialisation of the BootROM.
what is edge ai
In this documentation, I can find a detailed description of the torque/flux (current) PI controller implementation, but there is no clear explanation of the speed PI controller design or tuning. Could you please explain how the speed PI (KP, KI) is derived, and what criterion ST MC Workbench uses to compute these parameters automatically?
Hi all,I'm having trouble connecting to an STM32F373C on a custom PCB via STM32CubeProgrammer, using an STM32F072B-Discovery board as a standalone ST-Link/V2. The custom PCB is an open source synthesiser module and was manufactured by JLCPCB - many others have built this PCB with no issues. I've followed the correct procedure for using the Discovery board as an external ST-Link (removed CN5 jumpers, opened SB10), and wired CN4 to my PCB's dedicated SWD header which has RESET, SWCLK, SWDIO and GND pins.**Setup:**- Programmer: STM32F072B-Discovery (ST-Link/V2), CN5 jumpers removed, SB10 opened- Target: STM32F373C on custom PCB- Connection: Via dedicated SWD header (RESET, SWCLK, SWDIO, GND). Discovery board connected to Macbook using Mini USB to USB C cable.- Software: STM32CubeProgrammer, SWD mode, various frequencies tried down to 480 kHz- Reset modes tried: Software reset, Hardware reset, Connect under reset**Error in CubeProgrammer:**ST-LINK SN: 38FF68063050453420251743ST-LINK FW: V
Hi, i have NUCLEO-L073RZ with shield I-NUCLEO-LRWAN1 SX1272.I want to activate it with ping pong code and it’s stuck and I don’t understand why.I can see that LD2 is blinking but PuTTY is empty, I also get this after running:
Hi,I’m setting up a bash script (under Ubuntu Linux) to automate STM32H563 provisioning for my application using the command-line version of STM32 Cube Programmer. As part of this script, I’m setting it up to automatically perform Full Regression prior to new provisioning if the board is already provisioned. (This is being used for testing and software development, so I am likely to need to do this.)The help text tells me that I can use the “key”, “cert” and “per” arguments on the command line, along with debugauth=1, to specify paths to the key, certificate and requested permission to request debug authentication. However, the application seems to ignore these arguments completely and always asks for them to be entered in the console, so I can’t perform a scripted Full Regression as should be possible.I tried working around this by piping the output of a bash printf command into the application instead. Oddly, this seems to work for passing in the key and certificate but the selection
Hi,I am developing software for a GPS tracker based on the TESEO VIC6A module. Our goal is to achieve the highest possible fix rate.I was able to establish communication with the module via UART0 using the ST/NMEA protocol. After that, I started modifying the firmware configuration to improve performance. I sent several PSTMSETPAR commands and received PSTMSETPAROK responses for all of them.However, I did not observe any changes in the module's behavior. I then attempted to save the modified parameters to non-volatile memory using the PSTMSAVEPAR command and received what appeared to be a successful response. Despite that, the module still behaved exactly the same.The last command I sent was PSTMSRR. Since then, I have been unable to communicate with the module. I have tried all available combinations of baud rates and flow control settings without success.The parameters I attempted to modify included:increasing the UART baud rate,enabling a higher fix rate,customizing NMEA output list
My autoomplete shows "no default proposals" when plrssing CRTL+Space and do nothin when typing "." or "->" or any other trigger...Some people solved this enabling "Parsing-based Proposals" in the "Content Assis -> Advanced" tab but mine is enabled and not working... I've tested a lot of things and the ContentAssis still not worling... Any help???Thanks
I m quite negatively surprised that suddenly (Ctrl+Space) stoped proposing any functions, as it is shown below:orI didn't change any settings, and suddenly it stopped working. That is why I ve searched for any similar issues like mine on the forum and I ve found:https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-auto-complete-ctrl-space-is-not-working/td-p/342759orhttps://community.st.com/t5/stm32cubeide-mcus/why-does-the-index-not-work-and-how-to-make-it-work/td-p/269134and none of these solutions worked for me..I ve also tried to revuild the C/C++ indexer or just simply to create a new project but still no changes...
Hello ST team,I'm facing the issue with STM32N6 DCMI DMA configurations, I could see the data flowing down from the cmos & clocking at 50MHZ. I could spot the first 4 pixels data (2 words) on live watch window. the next word data is intermittent & getting into DMA error 0x41,The cube MX (6.17.0) unable to generate the DMA init functions appropriately for DCMI, however i’ve added the Config explicitly, Any suggestions on the below configurations? /*** @brief DCMI Initialization Function* @param None* @retval None*/static void MX_DCMI_Init(void){/* USER CODE BEGIN DCMI_Init 0 *//* USER CODE END DCMI_Init 0 *//* USER CODE BEGIN DCMI_Init 1 *//* USER CODE END DCMI_Init 1 */hdcmi.Instance = DCMI;hdcmi.Init.SynchroMode = DCMI_SYNCHRO_HARDWARE;hdcmi.Init.PCKPolarity = DCMI_PCKPOLARITY_FALLING;hdcmi.Init.VSPolarity = DCMI_VSPOLARITY_LOW;hdcmi.Init.HSPolarity = DCMI_HSPOLARITY_LOW;hdcmi.Init.CaptureRate = DCMI_CR_ALL_FRAME;hdcmi.Init.ExtendedDataMode = DCMI_EXTEND_DATA_12B;hdcmi.Init.J
STM32F030R8T - as on the Nucleo-F030R8PD2 should be present: Therefore GPIODEN should be present at RCC_AHBENR[20]: But it’s not present in the CubeIDE SFRs view:
Dear Team,I am currently working on an application based on the STM32H563ZITx microcontroller using the NUCLEO-H563ZI development board.The application is designed as a gateway that communicates with another controller through a UART interface. The same UART interface is also used to program the target controller with firmware updates.For the software implementation, I am using STM32CubeH5 v1.6.0 and have adopted the Nx_Iperf reference project for the NUCLEO-H563ZI board to develop a web-based user interface.The following functionalities have been successfully implemented and tested:Reading data from the target controller via UART Writing data to the target controller via UART Firmware download and programming through the same UART interfaceHowever, I am encountering an issue when transferring firmware (.bin) files. The system appears to accept only about 54 KB of data, after which the transmission stops. As a result, I am unable to transfer larger firmware images.My application requi
I’m using stm32f103 timer cc event to trigger adc injected conv. But I failed. I can trigger it with timer trgo. This means my adc configuration is correct. LL_TIM_InitTypeDef TIM_InitStruct = {0}; LL_TIM_OC_InitTypeDef TIM_OC_InitStruct = {0}; LL_TIM_BDTR_InitTypeDef TIM_BDTRInitStruct = {0}; LL_GPIO_InitTypeDef GPIO_InitStruct = {0}; LL_APB2_GRP1_EnableClock(LL_APB2_GRP1_PERIPH_TIM1); TIM_InitStruct.Prescaler = 0; TIM_InitStruct.CounterMode = LL_TIM_COUNTERMODE_CENTER_UP_DOWN; TIM_InitStruct.Autoreload = 2249; TIM_InitStruct.ClockDivision = LL_TIM_CLOCKDIVISION_DIV1; TIM_InitStruct.RepetitionCounter = 0; LL_TIM_Init(TIM1, &TIM_InitStruct); LL_TIM_EnableARRPreload(TIM1); LL_TIM_SetClockSource(TIM1, LL_TIM_CLOCKSOURCE_INTERNAL); TIM_OC_InitStruct.OCMode = LL_TIM_OCMODE_PWM2; TIM_OC_InitStruct.OCState = LL_TIM_OCSTATE_ENABLE; TIM_OC_InitStruct.OCNState = LL_TIM_OCSTATE_ENABLE; TIM_OC_InitStruct.CompareValue = 0; TIM_OC_InitStruct.OCPolarity = LL_TIM_OCPOLARITY_HIGH;
Hello,Because there is no active handle in DMA list for DCMI DMA initialization (bug!?) I searching for the ways to enable and use DMA, I can't find examples for parallel mode except for CSI serial, if I switch to use DCMIPP in parallel mode then the cubeMX do not generate msp initialization code function HAL_DCMIPP_MspInit for DCMIPP interface (no pinout, RCC, IRQ...), and in DMA list DCMI_PSSI handle stays inactive,all my attempts to setup DCMI DMA do not work and DMA throws error 0x40, DCMI and camera working well, I getting hsync and vsync callbacks firing and counters show correct values, I tryed various settings but still cant start DMA transfer, there is my test and msp initialization code, please check: uint32 err0 = HAL_DCMI_Start_DMA(&hdcmi, DCMI_MODE_CONTINUOUS, (uint32)frame_buff_DCMI, 320 * 240 / 2); uint32 err1 = HAL_DCMI_GetError(&hdcmi); HAL_Delay(5000); uint32 err = HAL_DCMI_GetError(&hdcmi); printf("DCMI %u %u, %u %u %u, %u %u\n", hdcmi.St
Hi,I am trying to establish CAN communication between a NUCLEO-G474RE and a YMMOTOR MS72450 motor controller using the FDCAN1 peripheral.HARDWARE SETUP:- STM32 NUCLEO-G474RE (STM32G474RETx)- Transceiver: WCMCU-230 (SN65HVD230), 3.3V, connected to PA11 (FDCAN1_RX) and PA12 (FDCAN1_TX) via AF9- Motor controller: YMMOTOR MS72450 (CAN 2.0B, 500kbps, standard frame, Motorola byte order)- Termination: 120 ohm on motor controller side (factory default built-in). 120 ohm on transceiver side.- Common GND connected between STM32 and motor controller- Motor controller ACC pin (pin 10, 48-85V) is poweredCLOCK CONFIGURATION:- HSI 16MHz -> PLL -> 170MHz system clock- FDCAN kernel clock = PLLQ = 170MHz- NominalPrescaler=17, TimeSeg1=15, TimeSeg2=4, SJW=1- Calculated bitrate = 170MHz / (17 x 20TQ) = 500kbpsSYMPTOM:- Green LED blinks initially = TX frames being queued successfully (HAL_FDCAN_AddMessageToTxFifoQ returns HAL_OK)- Oscilloscope on CANH/CANL shows clear CAN signals from the
Hello everyone,I am currently working on an STM32-based project and have encountered an issue with UART communication. The UART works correctly after startup, and data is transmitted and received as expected. However, after running for several minutes, the communication suddenly stops and no further data is received.I have checked the wiring, baud rate configuration, and power supply stability. I also monitored the application for hard faults but could not identify the root cause. The issue occurs consistently after prolonged operation.Development Environment:MCU: STM32 Series IDE: STM32CubeIDE Communication: UARTHas anyone experienced a similar issue or can suggest possible causes and troubleshooting steps? Any guidance would be greatly appreciated.Thank you.
Hello,I am ready to use STM32C531 in project. Right now, I am using Keil MDK V5.29 and it does not support this micro. Can anybody help to tell me which Keil version support this micro? If I do not use Keil, does any other IDE/Compiler support this micro develop? Thanks,
Hi all! Thank you for taking time to assist me. I am attempting to make a composite USB Device on the NUCLEO-C562RE. I found the Middleware USBX examples and the core drivers exist in my toolchain at: STM32CubeC5/middleware/usbx However, I cannot seem to find the middleware configuration for USBX in STM32CubeMX2. My pack manager in the STM32CubeMX2 is set to this default value: "cube.packManager.cmsisPackRepositories": ["https://developer.st.com/st-pack-server/api/v1/pidx/STMicroelectronics.pidx"] Please let me know if I have missed anything or if you need further information from me to figure out the root issue. The examples, linked above, clearly auto generated the USBX files using the MX2 software, but I could not find the documentation that allowed me to generate those files. I would greatly appreciate it if someone could assist me with this. EDIT: I saw this forum that says support isn't out until Q3. Does that mean I have to write the generated cod
I’m seeing that there’s the same file OSWrappers.cpp in both target\generated and touchgfx\osThe one in touchgfx\os is slightly different as it contains static portBASE_TYPE IdleTaskHook(void* p){ if ((int)p) // Idle task sched out { touchgfx::HAL::getInstance()->setMCUActive(true); } else // Idle task sched in { touchgfx::HAL::getInstance()->setMCUActive(false); } return pdTRUE;}// FreeRTOS specific handlersextern "C"{ void vApplicationStackOverflowHook(xTaskHandle xTask, signed portCHAR* pcTaskName) { while (1); } void vApplicationMallocFailedHook(xTaskHandle xTask, signed portCHAR* pcTaskName) { while (1); } void vApplicationIdleHook(void) { // Set task tag in order to have the "IdleTaskHook" function called when the idle task is // switched in/out. Used solely for measuring MCU load, and can be removed if MCU load
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.