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
Hi! I'm trying to muddle my way through a project in which I'd like to use an stm32u5 MCU. I would like to extend the RAM/FLASH of the MCU by using PSRAM and eMMC; it seems that higher densities of PSRAM require being run at 1.8V, so I am imagining powering at least the digital side of the MCU with a 1.8V rail. My application also involves motor control; I'll be using the STSPIN233, which can also be powered by a 1.8V rail. I would like to perform current sensing, and here's where my question comes in. I'd like to use a current sense amplifier, e.g. TI's INA181 (or similar). These devices need a 3.3V rail for power. I am curious whether it is better to:Power the analog domain of the stm32u5 at 3.3V. The current sense amplifiers + shunt resistors are scaled such that I produce a total rail-to-rail voltage near 3.3V, biased at 1.65V.Power the analog domain of the stm32u5 at 1.8V. The current sense amplifiers + shunt resistors are scaled such that I produce a total rail-to-rail
Im trying to get the reading from distance sensor SICK DT35 through STEVAL-IOM001V1 which uses the L6360 IC via STSW-IOLINKGUI to get the proper reading we need to upload the IODD file of the sensor which I'm not be able to do with the GUI. There's not sufficient information about the GUI which is the cause of the problem so provide the needed documentation otherwise provide us the way to get the value from the sensor. and specify that what is the STSW-IOLINKGUI for is it just to test the connection via running the LED BLINK code.Give me a detail documentation to understand all the functions of the GUI.
Hello Team, One more query is there. We are not using USB. In STM32H7S7L8H6 pin D9-VDD50USB is there. So, can we connect it with 3.3V supply? Thanks & Regards, Jignesh Karena
When creating a new project (for STM32H573) using CubeMX, it generates defaults keys under ROT_Provisioning\SM\Keys:06/19/2025 03:20 PM 232 ITS_key1.pem02/17/2026 09:34 PM 16 SFI_Encryption_Key.bin02/17/2026 09:34 PM 12 SFI_Encryption_Nonce.bin02/18/2026 12:06 PM 136 SFI_Global_License.bin06/19/2025 03:20 PM 246 SM_Authentication.pem06/19/2025 03:20 PM 182 SM_Authentication_pub.pem06/19/2025 03:20 PM 246 SM_Encryption.pem06/19/2025 03:20 PM 182 SM_Encryption_pub.pemUsing TPC, those keys (including the SFI_global_license) can be regenerated, but when provisioning, got the following error:2026-02-18 12:19:23,911 - DEBUG - Processing license...2026-02-18 12:19:24,072 - DEBUG - Error: Execution of RSS CMD failed, returned value = 0xF6F6F6F62026-02-18 12:19:24,072 - DEBUG - Error: Failed to Process License!2026-02-18 12:19:24,073 - DEBUG - Error: .....ROT_Provisioning\SM\Binary\SecureManagerPackage.sfi SFI file Install Operation Failure! Please, try again.2026-02-18 12:19:24,073 - DEBU
Reference Board: Nucleo-H753ZI (MB1364, ST-LINK V3, rev B) Summary We have an external UART sensor (WitMotion HWT9053 IMU) connected to the Arduino D0/D1 header pins on a Nucleo-H753ZI. The sensor is confirmed working on Arduino. We have verified all USART register configurations are correct at the hardware level. A full GPIO scan of every MCU pin (PA0–PG15) shows zero toggling signal from the sensor. We suspect a board-level routing issue (solder bridges) but need ST guidance. Approach History Phase 1: Custom STM32H7 Firmware We wrote custom firmware using STM32H7 HAL to communicate with the sensor at 57600 baud via USART1 on PB6(TX)/PB7(RX). Console output via USART3 PD8/PD9 (ST-Link VCP) works correctly. Phase 2: Porting Vendor F1 Reference Code to H7 We also ported the sensor vendor's official STM32F1 sample code to STM32H7 HAL. This scans all standard baud rates (4800–921600) and attempts to detect the sensor. Same result — zero bytes received. Phase 3:
We found that a specific card type (Mifare Desfire EV1) became unusable with the RFAL after a format. But I was able to "resurrect" it by using a Phone or a reader with a different IC.Since debugging showed that the gIsoDep.state was always getting stuck in ISODEP_S_DSL, I saw that the default retires for deselect are zero. And as the Standard states "When the PCD fails to receive an S(DESELECT) response the PCD may retry the deactivation sequence.", I increased them by manipulating RFAL_ISODEP_MAX_DSL_RETRYS inside the lirbraries headers.As a result the card also worked again on my ST25R3961b based device. But I would very much like to not change the library code and instead use officially provided interfaces. That interface seems to be rfalIsoDepInitializeWithParams(). But it is explicitly called inside rfal_nfc.c with the default parameters, just before starting the RATs. So where do I intervene to get my own settings in? Is that even possible?
Please note that maintenance on the user authentication service is scheduled for 26 February. During this period, some disruptions may occur. The impact is limited to versions earlier than STM32CubeMX V6.16 and STM32CubeIDE V2.0.0. The service returns to normal soon after maintenance is complete. What to do if you encounter a problem If you experience issues during the maintenance window, please use st.com or try again after one hour. If the problem persists after that time, contact us through the Community for further assistance. Update 27 February 2026: The maintenance was successfully completed as scheduled on 26 February. If you encounter any issues, please do not hesitate to contact us.
Please note that maintenance on the user authentication service is scheduled for 26 February. During this period, some disruptions may occur. The impact is limited to versions earlier than STM32CubeMX V6.16 and STM32CubeIDE V2.0.0. The service returns to normal soon after maintenance is complete. What to do if you encounter a problem If you experience issues during the maintenance window, please use st.com or try again after one hour. If the problem persists after that time, contact us through the Community for further assistance. Update 27 February 2026: The maintenance was successfully completed as scheduled on 26 February. If you encounter any issues, please do not hesitate to contact us.
I realized that in my discovery board with STM32F411VE the accelerometer/magntometer is lsm303agr and not lsms303DLHC. I would have an updated schematic.
STM32CubeMX v6.14.1 (Firmware Package is STM32Cube FW_G0 V1.6.2) has removed the option for peripheral I2C2 to select SMBus-two-wire-interface.This prevents me from migrating my project as only SMBus-Alert-mode is available but can't be used as the alert pin is already allocated for GPIO. So the CubeMX migration changes I2C2 to I2C mode.The original project is from STM32CubeMX v6.10.0 and the Firmware Package is STM32Cube FW_G0 V1.6.2I tried creating a project from scratch and the SMBus-two-wire-interface option just isn't available.
Hi, I am working with the STM32MP25 and trying to use the I2C peripheral from the Cortex-M33 coprocessor.The STM32MP25 includes an Arm Cortex-A35 core running Linux and a Cortex-M33 core for real-time applications. I am able to successfully load and run a basic firmware on the Cortex-M33 using remoteproc. However, when I enable and initialize the I2C peripheral in the M33 firmware, the system hangs and eventually restarts. After investigating, I learned that the RIFSC configuration must be updated to grant the Cortex-M33 access to the I2C peripheral. I applied a patch to modify the RIFSC settings accordingly, but the issue persists and the peripheral is still not accessible from the M33.I would like to know:Are there any additional steps required (beyond RIFSC configuration) to allow Cortex-M33 access to I2C?Is there official documentation or reference material explaining how to properly assign peripherals to the coprocessor using RIFSC?Are there any examples or recommended workflows f
Dear, Can you confirm that OCTOSPI P2 is available only on WLCSP208 and TFBGA216 packages of this series? I wanted to use both OCTOSPI interfaces in LQFP144, but noticed that there is missing only OCTOSPIM_P2_IO3 line in it, so my conclusion is that LQFP144 supports only one OCTOSPI. Is that right? Thank you.
Hi,I am implementing DCMIPP configuration in that I am enabling the CSI but when I trying to enable the pin I cannot enable the the camera pins those pins are showing red. And I am unable locate .ioc file for DCMIPP interface is there any .ioc file configuration please provide that.
Question for STM.Could you please advise what to do to make the environment generate audio files?Could anyone of you show me how to generate these files?They are generated for all classes except audio.I guess there should be these too.Alternatively, please show me how to create an AUDIO Device using the STM32H5 processor.Please for the msc class even adds storage_configuration_number = USBD_Get_Configuration_Number(CLASS_TYPE_MSC, 0); storage_interface_number = USBD_Get_Interface_Number(CLASS_TYPE_MSC, 0); if( ux_device_stack_class_register( _ux_system_slave_class_storage_name, ux_device_class_storage_entry, storage_configuration_number, storage_interface_number, &storage_parameter) != UX_SUCCESS) { return UX_ERROR; }Edited to apply source code formatting - please see How to insert source code for future reference.
I am experimenting with STs Fast Transfer Mode using FEIG MR102 Reader. I tried the FTM Demo on the ST25PC NFC. For that I connected the STEVAL-25R3916B reader and used ST25DVC Discovery board for ST25DV tag. Please note that I am using the source code of ST25PC NFC to run the FTM Demo so that I can capture the console. I used the "Send a 100k-byte random buffer" option from FTM Demo and looks like it works fine. You can see one instance from console of the FTM in action: 2026-02-27 11:42:53.286 fastWriteMsg >> 22CA02329411AE665102E0FF08E2961EF89ABC5F493D2D14CB68C4A312312D34C056B52A067D78D7575F4B3280F5D3283699CF4A7ED9069AFB137F8DA1185045C625008F995DDA0057A51E329F00A3DA1044D27B0B9A81E4DC28D1C27683AB2430F758859F3E1BE7D6F16815749EC5C094D1A8414AD0561E5CD6CD552AA78EDAED96CE741C4142C7B8275E7D4A9BE10622D4B373B288E2707358C1DC3819A3C8C7672019D9152C1C79F7CBBA98A2D8EFE000730D45E6AA723BFA3A7DCDF38D0D8E7D556A031631D9D589BA4613EE0196C8437CA6596BCA725255EFBD8781D1
Hi,When is VD66GY expected to be back in stock?
The STM32Cube CMake Support extension blocks the VSCode UI when multi-root VSCode workspace are opened. Specifically, if a multi-root workspace is opened, the STM32Cube CMake Support extension continuously shows the Select hardware window. Even if the user closes the window by pressing Esc, it immediately reappears, preventing the user from doing anything, since that window has the highest priority.This happens because the extension detects the CMakeLists.txt file in the sub-workspace another_generic_cmake_project (see attached project) and, for some reason, attempts to configure the sub-workspace as an STM32Cube project, even though it is not an STM32 project but a generic CMake project.Currently, as a workaround, I have to add the setting: "settings": { "stm32cube-ide-build-cmake.ignoreCubeProjectDiscovery": true, }to the multi_root_project.code-workspace file, which prevents the STM32Cube CMake Support extension from attempting to detect the main workspace and any
Hello everybody, I am new here so please let me know, if there is important information missing. Thank you already for you time! I set up a STM32U575I-EV board for communication with CAN. The STM Board, a PCAN-USB dongle and an Oszilloskope are connected to the bus. The Bus is terminated correctly with two 120 Ohm resistors. I use the HAL libraries to interface with the FDCAN peripherie. The jumpers from the eval board are set to connect PB9 and PB8 with the CAN transceiver and to disconnect PB8 from the USB-C PD-interface. To test the setup I send dummy frames (ID: 0x000, DLC: 1, Data: 0x00). The frame is visible on the Bus and also the ACK from PCAN is visibile. PCAN USB has a 200mV higher voltage on CAN High 0 level. Here is the dummy frame on the Oszi: As you see on the the screenshot, the ACK is there and even though I put only one message in the Tx-Buffer of the FDCAN, it retransmitted. Here is my code: main.cint main(void) { /* MCU Configurati
Hi,programing NBOOT_SEL and WRP in the firmware leads to strange behavior of the MCU. After running the code below and reseting the MCU, I can still debug with CubeIDE to some extent by connecting without downloading the firmware, but I can only see that the MCU is stuck in a hard fault. CubeProgrammer cannot read either flash or option bytes. If I try to reset the option bytes anyway, I lose the connection to the MCU completely and it is no longer recognized by CubeProgrammer.The behavior is not always the same either. On my first attempt, I was able to debug the code several times and see that it works correctly in principle. Resetting the WRP with CubeProgrammer also worked. However, I have now lost my second MCU.I develop a minimal bootstub for STM32C011J6 and therefore do not use the HAL. Is there an error in the code, that can lead to such a behaviour? Thank you in advance for any hints or guidance. typedef struct { volatile uint32_t ACR; uint32_t RESERVED1; vo
In the update to CubeMX version 6.17, the SD card initialization (in my case, SDMMC2) was changed, and the software goes into "Error_Handler()". In my project I use STM32H7B0VBT6, FATFS, not RTOS.Specifically, version 6.17:static void MX_SDMMC2_SD_Init(void) { /* USER CODE BEGIN SDMMC2_Init 0 */ /* USER CODE END SDMMC2_Init 0 */ /* USER CODE BEGIN SDMMC2_Init 1 */ /* USER CODE END SDMMC2_Init 1 */ hsd2.Instance = SDMMC2; hsd2.Init.ClockEdge = SDMMC_CLOCK_EDGE_RISING; hsd2.Init.ClockPowerSave = SDMMC_CLOCK_POWER_SAVE_DISABLE; hsd2.Init.BusWide = SDMMC_BUS_WIDE_4B; hsd2.Init.HardwareFlowControl = SDMMC_HARDWARE_FLOW_CONTROL_DISABLE; hsd2.Init.ClockDiv = 10; if (HAL_SD_Init(&hsd2) != HAL_OK) { Error_Handler(); } /* USER CODE BEGIN SDMMC2_Init 2 */ /* USER CODE END SDMMC2_Init 2 */ } In previous versions:static void MX_SDMMC2_SD_Init(void) { /* USER CODE BEGIN SDMMC2_Init 0 */ /* USER CODE END SDMMC2_Init 0 */ /* USER CODE BEGIN SDMMC2_Init 1 */
Hi all, I’m confirming whether the ST LSM9DS1 provides any on-board sensor fusion output (for example quaternion/Euler), or if fusion must be done on the host MCU. If anyone has definitive guidance from ST docs/support, please share. Thanks.
Version 6.16.1I have identified a number of bugs - collecting them here. Note that these are time wasters, but there are workarounds - so they are not critical but would definitely aid in the usability/productivity of users.-If you use the XCube.AI software package to generate a template application, the template application will not build. To fix it you have to add #include "ai_platform.h" at the top of the file under the other existing includes.-In the configuration for the individual networks for the XCube.AI, if you select the first profile "internal-memories-only--default" it will hang when analyzing and never complete. The workaround is to use the n6-noextmem option which appears to accomplish the same thing-When first starting up CubeMX, when you select the XCube.AI option (the actual selection of the components for inclusion), even if you have "FSBL" selected for the context, many times it will add it with ExtMem context in
quectel bg96 does not reply to messages from stm32l496ag on kit board p-l496g-cell02 but since I bought it. I could not even start blink the led on bg96 so I assume there is something missing to me. I use usb cable to stlink com and debug from the software but never had a response from bg96 after sending at commands. What I can do about? thank you. Marcello
I used CubeMX to generate the "LoRaWAN_AT_Slave" example for the B-WL5M-SUBG1 board.I had some issues with it waking up from sleep and upon a few hours of debugging i found that the LSE Driver Config was set to LOW in the example application, but the datasheet recommends HIGH.Just letting other people with the same issue know and hopefully the ST-Team can fix the example configuration in future releases.
Hi, I am using the STM32L4 B-L475E-IOT01A board with Wi-Fi module Inventek system ISM43362-M3G-L44.I have seen the example WiFi projects but they do not have the .ioc file. So my question is, is there any middleware available in STM32CubeMX which can help me implement WiFi connectivity via USART? The communication interface between the stm32 board and the WiFi module is SPI3 by default but the documentation says that use of USART3 is also possible, and USART3 is what I want to use.So any easy ways to do that? Any available middleware in CubeMX? Or is any example project available online?Thanks!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.