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'm working with the STM32U575VGT6 as my primary MCU and need a USB-C DRP PD IC. I'm considering the TCPP03-M20 or STUSB1600AQTR. My question is, when the PD operates in sink mode (during charging), we intend to turn off all power supplies, including the MCU. Is it possible to use these ICs in sink mode without the MCU? Additionally, we need the PD to act as a source when external peripherals are connected to this board through USB-C.
I am working with Zephyr RTOS on the Nucleo-H7S3L8 board and have successfully flashed and run the blinky example on internal flash. However, I noticed that Zephyr does not provide official documentation for flashing applications into external flash. My question: Does Zephyr offer any official method or west command to flash applications directly into external flash, similar to how west flash works for internal flash?
i am getting the below error when running fresh install of stmcubeide 2.0.0 in windows 10. how can i fix this?"!SESSION 2025-11-27 23:17:13.722 ----------------------------------------------- eclipse.buildId=Version 2.0.0 java.version=21.0.8 java.vendor=Eclipse Adoptium BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86_64 !ENTRY org.eclipse.osgi 4 0 2025-11-27 23:17:16.137 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: C:\ST\STM32CubeIDE_2.0.0\STM32CubeIDE\configuration\org.eclipse.osgi\366\0\.cp\swt-win32-4966r5.dll: The specified procedure could not be found no swt-win32 in java.library.path: C:\ST\STM32CubeIDE_2.0.0\STM32CubeIDE;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility
So i was failing to properly flash my STM32N6 because in version STM32_SigningTool_CLI 2.21. I think it's because it doesn't align the payload. So when i flashed the board made with 2.21 it didn't recognize it and didn't load. In version 2.20 this doesn't happen. I don't know if this is a bug or a failed configuration. But i used the same command for both of them and it worked in version 2.20.
Lost links and routes, errors after migrating; etc... I reverted to 1.19.0 and 6.14 respectively
Hello! I saw in the release notes for MCSDK 6.4.0 that there is an "Added new Maximum Modulation Index (MMI) computation compatible for all sensor-less or sensor algorithms." How should I use overmodulation on the HSO?
I'm using STM32H723ZG I want to know if a Timer's update event can trigger SPI transfer without any software interrupts.This is the problem
Good day Folks, Firstly, is it possible to put NN weights on the external Flash, but not use it in memory mapped mode? BSP_XSPI_NOR_Init_t NOR_Init; NOR_Init.InterfaceMode = BSP_XSPI_NOR_OPI_MODE; NOR_Init.TransferRate = BSP_XSPI_NOR_DTR_TRANSFER; BSP_XSPI_NOR_Init(0, &NOR_Init); BSP_XSPI_NOR_EnableMemoryMappedMode(0); Secondly is it possible to run an AI model with NO flash access at all, i.e. to only use internal RAM for the case of a small model? I have an application that is already using the flash for storing data such as Logs & settings, via a XSPI Read/Write interface. However that interface is broken when configuring the flash to use the memory map. The image classification STM32N6570-DK example code runs fine and can use the external flash, however it then appears I can't use the Flash for anything else but the NN tables & weights. I then tried updating the .mpool to exclude using the Flash, but the model is then not working or giving the same inf
I'm currently developing an application with custom hardware using the STM32N657I0H3Q and MX25UM256, I can't seem to find the source files for the existing STM32N6 external loaders which use the MX25UM512. Any links to this or resources to point me in the right direction to get started would be appreciated!
I am using the STM32F469 development board to output MIPI video to a custom screen (GC9503CV), and the screen shows tearing.The left side of the screen displays normally, while the right side shows a jagged appearance. How should I locate and resolve the issue?
Hello,I am trying to erase flash bank 2 and then re-write with an incoming application. This appears to work that when I read back some of this sector it's changed to 0xFFFFFFFF, however when I restart or connect with STLINK it reads out as 0x00000000.I only get errors if I try to write too fast after erasing flash and on POR the flash is read back as 0x00000000I have tried unlocking flash and relocking after withHAL_FLASHEx_Unlock_Bank2(); // erase HAL_FLASHEx_Lock_Bank2(); // and or HAL_FLASH_Unlock(); // erase here HAL_FLASH_Lock();voltage range is correct. FLASH_EraseInitTypeDef erase_init; erase_init.TypeErase = FLASH_TYPEERASE_SECTORS; erase_init.Sector = 0; erase_init.NbSectors = 1; erase_init.Banks = FLASH_BANK_2; erase_init.VoltageRange = FLASH_VOLTAGE_RANGE_3; HAL_FLASHEx_Erase(&erase_init, &sector_error); any suggestions or help would be appreciated
Hello, I am trying to configure my STM32H723ZG to be able to read the value of a few current sensors. My main concern at the moment is the speed at which I need to read these. I'm hoping to be reading upwards of rate of 20kHz. My questions are about which method might be best, the standard way of reading the ADCs seems insufficient, I've seen online some methods are DMA and injected conversions. If anyone could provide some insight into what might be best and how to go about implementing them that would be great.Additionally, I wanted to ask how to determine an appropriate sampling time of the ADC. Thank you in advance for your help!
Hello,In one of our new PCBs we use a STM32L476VET6. For the RTC we use an external Oscillator (shown in the Picture)The drive power is set to the highest level.In our setup, the RTC only works at room temperature and with no probe connected. As soon as the oscillator is heated up to 65°C, it stops working. Same behaviour with the freezer spray. When a Probe for the oscilloscope is connectet to OSC_32_IN, the Oscillator also stops.We measured the frequency of the oscillator using the MCO-Output on PA8. This way we found out, that the frequency is within the specified range of the oscillator. When using a slightly higher load capacity the frequency drops out of the specified range. When the load capacitence is lowered (we tried 15pF) , the frequency rises higher than the specifiaction of the oscillator. This makes us certain, that the right load-capacitence is used.We also tested the oscillation-safety-factor by adding a resistor, three times the ESR of the oscillator in series to it. T
Device : STWIN.Box (steval stwbxcs1a) with DATALOG2 3.1.0 firmware. WIFI : Updated the MXCHIP firmware Objective: Running WiFi connection with APP and/or PnPL messages, Data retrieving with FTP. Currently this is my application as viewed in ST BLE Sensor app (iOS) I have first tried with the iOS app, it doesn't let me to use the Wifi connect button or disconnect. Then, I tried using PnPL messages with PythonSDK ( Board is connected by USB): message = PnPLCMDManager.create_set_property_cmd("wifi_config", "ssid", "Nothing")print(message)print(hsd_link.send_command(hsd_link_instance, device_id, message))message = PnPLCMDManager.create_command_cmd("wifi_config", "wifi_connect" , "password", "11223344")print(message)print(hsd_link.send_command(hsd_link_instance, device_id, message))message = PnPLCMDManager.create_set_property_cmd("wifi_config", "ip", "0.0.0.0")print(message)print(hsd_link.send_command(hsd_link_instance, device_id, message))time.slee
Hello everyone. I am using an F411 and I cannot figure out how this is supposed to work. I enabled USB_Device in middleware, enabled USB_OTG_FS, and set up line encodings based on the default STM32 example, but when I flash STM (or step through with the debugger) I run into an error during the initialization that says "The last USB device you connected to this computer malfunctioned, and Windows does not recognize it." Apparently this means I am not enumerating.I went through other posts on this forum. I made sure interrupts were enabled, that the clock is exactly 48 Hz, and I allocated extra space on the heap and the stack. Here is a picture of my clock.Here is my USB schematic. What does this mean? How can I even go about fixing this?Thanks
I have noticed that in my Application project there is no SystemClock_Config() generated by CubeIDE so my guess is that these settings should be inherited from Boot stage. If that is the case, should I also not initialize XSPI interfaces, memories and memory mapped modes if they are also initialized in Boot stage?
Hello everyone,I’m working on an electronic design using the STM32WB55RGV6, and the final product cost is very constrained.I have a question regarding the SMPS components, specifically the capacitor C29 and the inductor L1 shown in the reference designs.Are these components strictly required for proper operation, or is it possible to omit them when trying to reduce the BOM cost?If they can be omitted, what is the recommended way to handle the corresponding SMPS pins on the MCU? Should they be left NC, tied to a specific level, or handled in another way?Any guidance or official recommendation would be greatly appreciated.Thank you very much!
Hi,We're encountering an issue with the L6982CDR buck converter in our application. Here's the detailed scenario: Configuation: We're using it to convert a 24V input to a 5V output to power the board. Load: The 5V output supplies a load current of approximately 200mA. System Context: The same 24V input is also used to drive a stepper motor. Problem:Following mass production, some units have experienced a loss of the 5V output. The occurrence rate of this failure is low. Key Observations: This fault occurs during operation, not at power-up. The fault clears if the 24V power is restarted. When the failure happens, we measured a normal 24V input voltage and a normal voltage at the VCC pin of the IC. However, the SW pin output remains low. Notably, we have used this chip reliably for a long time, and this is a recent issue.Here is the schematic of our product: Here is the PCB of our product: Please let me know if anything is unclear or if you need any tests pe
I am trying to develop I2S master using the NUCLEO-L433RC-P, but struggling to achieve a master clock speed for 48kHz playback.The I2S audio is working (using a MAX98357A I2S amplifier) and the master clock speed needs to be 12.88MHz (i.e. 48kHz x 256). But with my current clock configuration it is 18.285MHz, so the playback speed is too fast. I tried entering 12.888MHz as the SAI clock speed to resolve the configuration and it came up with the configuration below, but with this configuration my code does not run.... Is it possible to achieve 48kHz playback using the internal RC oscillators, or do I have to use the HSE ?
I need Threadx CMSIS RTOS V2 support. Does the H5 V 1.5. (the latest) support CMSIS RTOS V2?
Hello, I'm currently building an application with TouchGFX that has many screens. We don't have a touchscreen, and only use hardware buttons. My application requires that if a trouble code is detected on the vehicle bus, relevant information should popup on the screen. The popup takes over the screen, and button presses that the user enters are handled by the popup instead of the previously open screen. The user can acknowledge the trouble code by pressing a hardware button which will make the popup go away and return to the screen that had been previously open. If multiple trouble codes are active simultaneously the highest priority trouble code will show up first. Pressing the acknowledge button will cause the next highest priority trouble code to show up until all active codes have been acknowledged, at which point the popup will go away and return to the screen that had been previously open. I've thought through two possible implementations for this problem and neither works p
Hello,Will support be added to MEMS Studio for the B-U585I-IOT02A demo board?Thanks.Bruce
Hello,I am using a NUCLEO-STM32H753ZI-$AT3 development board.When I configure the MCU to use the internal clock (HSI), everything works correctly and my UART debug logs are printed normally.However, when I switch to using the external 25 MHz clock (HSE), no UART logs are printed. The code runs,but the UART prints garbage characters, for example:<0x1c><0xe0><0xfc><0x1c><0xeWhat I have already checked:25 MHz external clock is selected in CubeMX (HSE ON, Crystal/Ceramic Resonator).PLL settings are unchanged except switching HSI → HSE.UART baud rate is the same (115200).If I go back to internal HSI, UART prints again.External clock ioc and logIternal clock ioc and log
I enabled the RTC wakeup interrupt in STM32cubeIDE graphical configer. The IDE added code to the MX_RTC_Init(void) which enables the interrupt and starts the timer. It’s the call to HAL_RTCEx_SetWakeUpTimer_IT(…) , and it’s not in the USER CODE block. /** Enable the WakeUp */ if (HAL_RTCEx_SetWakeUpTimer_IT(&hrtc, 0x1000, RTC_WAKEUPCLOCK_RTCCLK_DIV16) != HAL_OK) { Error_Handler(); } /* USER CODE BEGIN RTC_Init 2 */ /* USER CODE END RTC_Init 2 */I’m concerned that RTC interrupt may interfere with my own initialization, so I’d start the timer from my main() at a much later stage. I can call HAL_RTCEx_DeactivateWakeUpTimer(…) in the USER CODE to disable the timer. But is there graphical config – is there the Cube way – to tell the IDE not to add the HAL_RTCEx_SetWakeUpTimer_IT(…) call to MX_RTC_Init(void) ?[I’m using the graphical configer in the IDE and the MX interchangeably. But if the standalone MX has better options, please let me know. ]
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.