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
Whenever I generate the code for the example, the file hrs_app.c gets truncated to about 5K. This cases some warnings. If I copy the file from the example area to the care generated by CubeMX, it is 8K and the warnings are not issued.Is this a problem with CubeMX or is it operator error?
Does anyone know whether STM32U585 contains a die shield?
Hello everyone,I am experiencing an issue with the FreeRTOS Kernel Awareness view in STM32CubeIDE, specifically regarding the task runtime statistics. The plugin seems to be failing to parse or display the correct runtime percentages, showing almost all tasks permanently stuck at 1% or <1%.My Setup & Recent Changes: MCU: STM32G474 IDE: STM32CubeIDE v2.2.0 Previous RTOS: FreeRTOS V10.3.1 (Generated via STM32CubeMX with the CMSIS-RTOS v2 wrapper) Current RTOS: FreeRTOS V11.3.0 (Added manually via the ARM software pack, bypassing CubeMX generation) The Problem: I recently migrated my project to native FreeRTOS V11.3.0. I removed the old CubeMX-generated middleware and integrated the new version using the ARM pack. I also configured everything required for runtime statistics to function properly (setting configGENERATE_RUN_TIME_STATS, configuring the hardware timer via portCONFIGURE_TIMER_FOR_RUN_TIME_STATS(), and setting up portGET_RUN_TIME_COUNTER_VALUE()).While the project
We are studying the STDES-DABBIDIR 25 kW bidirectional DAB reference design (UM3198 Rev 2, TN1435, schematic and BOM v2.0) for a 30 kW EV charger power module. Two items in the documentation are not publicly available:1. A2H6M12W3-F: UM3198 uses two of these ACEPACK 2 half-bridge modules on the low-voltage side, but st.com has no product page or datasheet for this part. Has it been released? If not, what is the recommended production equivalent?2. Frenetic transformer, design reference 32011-04 (turns ratio 1.78, five stacked E80/38/20 cores), and the 28.6 uH auxiliary inductor: can ST share a specification or drawing, or should we request these directly from Frenetic?Thank you for any pointers.
Dear ST Community,I am currently testing the position control functionality using the following API: MC_ProgramPositionCommandMotor1(target, duration_s);I would like to clarify the behavior of the duration parameter. Does this parameter define only the expected movement duration, or does the position control algorithm also ensure that the motor reaches the specified target position within that duration?I am testing a case where the target position is intentionally very large: float actual = MC_GetCurrentPosition1();float commanded_target = actual + 10000;MC_ProgramPositionCommandMotor1(commanded_target, 2.0f);In this case, completing a 10000-radian movement within 2 seconds is physically unrealistic for my motor.I am monitoring the control status using the following code: uint32_t start = HAL_GetTick();printf("ms (planned %ld ms)\r\n", (long)(MC_GetMoveDuration1() * 1000));while (1){ if (HAL_GetTick() - start < 10000) { printf("Control status : %d state : %d Fault
Hello everyone,I am designing a board using an STM32U5 / STM32H5 microcontroller and I have a question regarding the power supply architecture, specifically concerning the independent voltage domains.My Scenario:Main VDD: 3.3V (required for correct USB functionality/transceiver management via VDDUSB). VDDIO2: 1.8V (supplied independently to interface with low-voltage external peripherals). The Issue:According to the reference manuals and datasheets, there are specific power-up and power-down sequencing requirements, as well as constraints on the voltage levels between different domains (e.g., VDDIOx vs VDD).Is it fully supported to run VDD / VDDUSB at 3.3V while simultaneously running an OCTOSPI/HyperBus at 1.8V?Thanks in advance for your help!
IssueI am working on an iOS application that uses the ST25SDK for NFC operations.The ST25SDK documentation indicates that the iOS SDK is based on J2ObjC 2.4. I downloaded the J2ObjC 2.4 source and attempted to build it locally on an Apple Silicon Mac.However, I am currently unable to complete the J2ObjC 2.4 build. I have also tested J2ObjC 3.1, which builds successfully in the same environment.QuestionCould you please confirm whether J2ObjC 3.1 is supported/compatible with the ST25SDK iOS version I am using, or whether the application must specifically use J2ObjC 2.4?In particular, I would like to clarify: Is J2ObjC 2.4 a strict requirement for the ST25SDK iOS Objective-C sources? Can J2ObjC 3.1 be used as a drop-in replacement if it successfully builds? If J2ObjC 3.1 is not compatible, are there any required patches or source changes that would allow the ST25SDK to work with J2ObjC 3.1? Is there an official/prebuilt J2ObjC 2.4 distribution recommended for the current ST25SDK, so
Hello,I've looked at X-CUBE-PQC (ML-KEM, ML-DSA, LMS/XMSS verification) and the recently announced ST54M with its PQC accelerator. Two things I couldn't find answers to:X-CUBE-PQC currently targets the STM32H563. Are other STM32 families planned? Is the implementation hardened against side-channel attacks, or is it intended for unprotected use? Does ST plan hardware acceleration for ML-KEM/ML-DSA (NTT, Keccak) in future STM32 parts, like the SHA-3 accelerator in Stellar or the ST54M engine? If so, which families, broadly?I understand roadmap details may not be public, so "under consideration" or a pointer to the right contact would already help. Thanks!
Hi everyone,I am working on a three-phase BLDC motor control application using the following components:MOSFET: STL90N6F7 Gate Driver IC: DRV8334 Microcontroller: STM32G431RBT3 DC Bus Voltage: 24 VDC Motor Speed: 60,000–70,000 RPM Measured Peak load Current: Approximately 5 AThe motor is operating normally; however, when running at higher speeds (approximately 60,000–70,000 RPM), the MOSFET package surface temperature rises to around 60°C.Considering that the DC bus voltage is 24 V and the measured peak input current is approximately 5 A, I would like to understand why the MOSFETs are experiencing this level of heating at high RPM.Could the heating be caused by switching losses, gate-drive voltage, dead-time settings, PWM frequency, reverse-recovery losses, PCB layout, or other factors associated with high-speed motor operation?I would appreciate any suggestions on how to identify the root cause and reduce the MOSFET temperature. If anyone has encountered a similar issue with the DRV83
Hi ST expert,I am developing a 3P4W Smart power meter C&I class, we are planning to design a multi-rate data sampling! S1 for power metrology by dedicated metering IC ADE9000, S2 for feature-stream acquisition NILM inference at 4 kHz continues sampling rate by internal ADC of STM32H755 and S3 for transient capture at 20kHz triggered capture by ADS131M08. Communication that STM32H775 would handle including Wi-Fi, RS485, 100Mbit ETH, SD card 32GB(eMMC optional) status LED x3 and USB-C for programming and debugging. We also have AI model to build into the MCU for edge inference, time series model! I not sure if STM32H755 series can handle all this tasks or not. Could you please help me evaluate this platform for my design? Additional info, please let me know. Thank you.
Hello Team,We have manufactured 500 boards using STM32WBA52CGU6. During testing, we tested 50 boards, out of which 5 boards are not advertising BLE, while the remaining 45 boards are working normally.We have attached the schematic and PCB layout screenshots for your reference.Our PCB is a 2-layer board, and we have not followed a controlled 50 Ω impedance for the RF trace. Could this be contributing to the BLE advertising issue on these 5 boards?Could you please review the attached schematic and layout and help us debug this issue? We would also appreciate your guidance on the key parameters or measurements we should checkon the failed boards compared with the working boards.
Hi ST Community,I am designing a custom board with STM32WLE5CCU6 (UFQFPN48 package) for a LoRa application in the 470–510 MHz band.I will use RFO_LP only, with +14 dBm output power and VDD_MCU = 3.3 V.Could you please provide the ZOPT (optimal impedance) for the PA output matching network at 475 MHz for this configuration?AN5457 Appendix A only covers 868/900/915/923 MHz, so I cannot find the data for 475 MHz. If there is any reference design or application note for this frequency, please point me to it.Thank you very much.
The name of the variable in the Live Expression in dark mode is wrong It should be white instead it’s blackVersion: 2.2.0Build: 29186_20260626_0934 (UTC)
I'm working on an STM32H743-based project driving a parallel LCD through LTDC, with the framebuffer sitting in external SDRAM via FMC. I keep running into intermittent display corruption that I suspect is cache-related, since the M7 core has D-Cache enabled by default.What's the recommended approach for setting up the MPU region for the framebuffer — mark the whole SDRAM region as non-cacheable, or is it better to keep caching enabled and handle cache maintenance manually (SCB_CleanDCache_by_Addr) around framebuffer writes? Curious what's worked best for people running LTDC + SDRAM at higher resolutions/refresh rates without a performance hit.
I would like to report a possible formatting issue in the STM32G491xC/xE datasheet, DS13122 Rev. 4, under the "Embedded SRAM" section. The datasheet currently states:"16 Kbytes mapped at address 0x20001 4000 (SRAM2)." I believe the intended address is:0x2001 4000or0x20014000 This appears to be consistent with the documented SRAM1 configuration:SRAM1: 80 Kbytes starting at 0x20000000 80 Kbytes = 0x14000 bytes 0x20000000 + 0x14000 = 0x20014000 Therefore, SRAM2 would begin at 0x20014000.Could you guys please confirm whether this is a formatting/documentation error and consider correcting it in a future revision of the datasheet?I have attached a screenshot showing the relevant section.
Hi all:I have an STM32F407 as main platform, as well as other types like STM32G0B1 and STM32F072, and I am trying to implement a robust SPI master for all of them.I want to reliably detect the end of frame in order to toggle the Chip Select line, but it is well known that the BSY flag is unusable for that purpose:STM32 gotchas68. SPI_SR.BSY is unusablehttp://www.efton.sk/STM32/gotcha/g68.htmlThe hardware NSS output, if available on the particular SPI, would fix the problem, but I have several SPI slaves, so that wouldn't work, would it? Or is there a way to check what the NSS output would be without sacrificing a pin?The recommendation is to use RXNE instead ob BSY, even if you are only transmitting and do not care about the received data.The idea is that, as soon as RXNE is set, the SPI frame has ended, as the last clock edge is what allows the master to finish reading the data from the slave, right?After RXNE is set, I can disable the Chip Select straight away. I could do that even b
Hi, I find the startup file generated by CubeMX2 for my STM32C551xx MCU doing something weird that I couldn’t understand. /** * @brief This function is the Reset Handler called on controller reset. * @param None * @retval None */__WEAK __NO_RETURN void Reset_Handler(void){ __set_PSP((uint32_t)(&__INITIAL_SP)); __set_MSPLIM((uint32_t)(&__STACK_LIMIT)); __set_PSPLIM((uint32_t)(&__STACK_LIMIT)); SystemInit(); /* CMSIS System Initialization */ __PROGRAM_START(); /* Enter PreMain (C library entry point) */}The code shown above reset the PSP pointer rather than MSP. I’m not sure if I do some misunderstanding about the stack pointer, as PM0264 indicated that MSP should be the one reset to the value retrieved by the reset handler.
In the STM32CubeIDE project generated by STM32CubeMX for the default configuration on STM32F429I-DISC1 board, I can not find any reference to TIM1 except in the init function, i.e. ITM1 is initialized but not start. What TIM1 is used for?
Hi all,I'd appreciate some help with a BLE range and stability issue. SetupMCU: STM32WB5MMG module on a custom board Firmware package: STM32Cube FW_WB V1.23.0 BLE wireless stack: v1.16.0, full stack TX power: +1 dBm Connection interval: 10 ms min / 15 ms max. Peripheral latency is 0 and the supervision timeout is 6 s. ATT MTU: 180 Role: peripheral only. The central is a Windows 10/11 PC. PHY: Windows defaults to 2M PHYApplicationThe peripheral sends data to the Windows central over GATT notifications at about 5400 bytes/s (~30 packets/s). ProblemAt short range, the data notifications work correctly. As the distance grows to about 30–40 ft, data notifications start to struggle. At that distance, if the Windows central reads or writes any characteristic, the device goes into an unknown state. For a few seconds it continuously sends unexpected data: the values 0x0839 and 0x08FD repeat every 64 bytes.Often the device recovers within a few seconds and then completes the read/write. Sometime
Greetings,I have finished the schematics of my custom STM32MP13X based PCB, My aim with this PCB is to learn high speed digital circuit design & how the board bring up is done & various other things like loading RAM's timing information from an EEPROM to initialize RAM, etc.I would appreciate if my schematics could be reviewed & any potential issues could be pointed out before I start my PCB design (or worse, produce the PCBs) because I’m a student who’s funding this project from my part time job & I really don’t want to make an expensive mistake.The schematics are majorly based on STM32MP135-DK's reference schematics (MB1635) & I have attached the schematics (PDF) along with BoM file for package size information, etc.I would also like to mention that the schematics have been designed to keep costs low, This is also why most of the components will be sourced via LCSC & This is also why there’s no eMMC on-board. I also omitted the termination resistors on DDR bec
Dear Team,I am using the STM32F746IGT7 microcontroller in our design. As per the datasheet, the specified maximum junction temperature is 125°C.We would like to understand the implications of operating the IC at approximately 145°C, which is above the specified maximum junction temperature. Specifically:Will the IC sustain permanent damage if operated at 145°C? Could its functionality or performance be affected at this temperature? What kind of degradation or long-term effects can be expected? Is there any possibility of immediate failure, or could the IC continue to operate with reduced reliability?The requirement for operation at this elevated temperature was identified after the board had already been populated with this IC. Therefore, we would like to assess the practicality and reliability of operating the existing design at approximately 145°C.Kindly provide your recommendations and any relevant application notes or reliability data for operation beyond the specified junction tem
I am following this link for OEMiROT example with STM32C5 : https://wiki.st.com/stm32mcu/wiki/Security:How_to_start_with_OEMiRoT_on_STM32C5 But this example and steps are with IAR embedded workbench and Open-CMSIS.I need example and configuration with STM32Cube IDE to achieve OEMiROT with STM32C5 series. Let me know if any hint or example already provided
The text is contradictory on whether it’s 3 & 1, or 4 & 2: Also, the table is unhelpful in not identifying which are the “General Purpose” timers, and which are the “Basic” timers.
Hi all, i have very simple gpio pushbutton debounce code, but 50% of the time it still gets a double-bounce (led toggles twice), i.e. the debounceCount is double incremented as the interrupt service routine is mysteriously called twice. How can this be if the interrupt is immediately disabled?. Is the switch bounce sometimes so quick that two presses are queued up before the interrupt is disabled?Within main() , if the button is pressed, there is a while(1) if(butIsPressed) {butIsPressed=FALSE; HAL_Delay(1000); and then HAL_NVIC_EnableIRQ(EXTI4_15_IRQn);}void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin){HAL_NVIC_DisableIRQ(EXTI4_15_IRQn);debounceCount++;HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_3); // Toggle The Output (LED) PinbutIsPressed = TRUE;}
In the RM0090 manual, for the OTG_HS, the MPSIZ field definition is the same for all enpoints: Note: this is not the case for OTG_FS where endpoint 0 has a specific format for field MPSIZ. However, the code in file stm32f4xx_ll_usb.c sets this field to 0 in order to set the maximum packet size to 64 byte.See lines 1355 and 1356: /* Set the MPS of the IN EP0 to 64 bytes */ USBx_INEP(0U)->DIEPCTL &= ~USB_OTG_DIEPCTL_MPSIZ;It is OK with the OFG_FS definition on DIEPCTL0_MPSIZ but not with the OTG_HS definition.My question is: what should be done here:setting 0 in MPSIZ, like the code does or setting 64 in MPSIZ as specified in the RM0090 documentation?
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.