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
This account only shares restored community content posted by members between May 22 and June 9, 2026, who did not register for the new community.Hello Team,We are using Qulacomm board QCS8550 Aikri kit with LE r90 release for production, In that there is SSC driver support of LSM6DSV Our setup includes two LSM6DSVTR IMU sensors, and we are attempting to read and write sensor data over SSC using an I2C interface. The I2C bus has been configured in the JSON configuration file for the LSM6DSVTR. Use Case Requirements:Configuring both IMU sensors using the SSC driver with an I2C-based interface Using interrupt pins for data-ready signaling Specifically:INT2 must support an external pulse: Current Status:In the current driver implementation located at:source/adsp_proc/ssc_drivers/lsm6dsv From the driver code analysis, we observed that data is currently being received using a FIFO-based mechanism.Additionally, it appears that the default driver implementation supports only the INT1 interrup
I am debugging my program on a NUCLEO-H533RE and it fails at: { uvalRAM.RAMROM[i] [x] = uvalFla.FlaROM[Page] [x];} which is moving a byte from flash to RAM. The dissembler shows it stopped at 08000d2c: b.n 0x8000d2c Break at address "0x8000d2c" with no debug information available, or outside of program code. Any suggestions on what happened? Compiled and debugged using STM32CubeIDE 2.0.0. I am new to STM32CubeIDE but not new to embedded designs.
This account only shares restored community content posted by members between May 22 and June 9, 2026, who did not register for the new community.[PN]:NUCLEO G071RBX-NUCLEO-IHM08M1Own Motor (4mR, 250uH, 1200rpm, 30Apk, 5pp, inertia known, friction guessed)[VERSION]: Version of MCSDK 6.4.2, STM32 FW 1.6.3[TOOL]: CubeMX 6.17.0, Motor Control Workbench Version: 6.4.2 Build: 260313.082202[DETAILS]:Settings: 20kHz, 100us regulator (2PWM), ADC Sampling 7.5adcclk (234ns), Sensing config see attached.After startup, fails with "Speed Feedback". Plotted graphs show good BEMF response, proper angle and reasonable speed signals (see graphs attached), angle of PLL are somewhat behind OpenLoop. Arround start-up exit speed of 432rpm, the calculated speed of the PLL rises quickly while currents are being reduced, shortly after motor stops.The set target speed in the Motor Pilot is 510 rpm. I tried to switch off UART interface to check if it is linked to MCU load, no success. Debug says "bemfConsistent
Hi, I am using an STM32F767ZI which is connected to a server via Ethernet. It is also connected to other STM32F767ZI devices that are part of the same system, and these devices communicate with each other over CAN. So far, everything is working correctly: the STM32F767ZI with Ethernet communicates with the server using TCP/IP and forwards the information to the other devices connected to the CAN bus. The problem is that I am now being asked to support firmware updates for all the devices connected to the CAN network, including the STM32F767ZI that has the Ethernet connection. I am not sure what the most optimal way to do this would be. I have also never programmed a bootloader before, although I think I should be able to do it. Is there a way to program all the STM32 devices connected to the CAN bus from a server that is connected to the system via an Ethernet cable? Should I change the design so that all devices are connected via Ethernet using TCP/IP and remove the CAN network altoge
Hello, I am working with this guide:How to integrate TouchGFX and camera middleware on an STM32N6570-DK And was wondering if there was an easy way to capture snapshots instead of running the camera continuously. I tried setting the mode to CMW_MODE_SNAPSHOT with no luck. I was able to get snapshot mode to work in the DCMIPP_SnapshotDecimationMode example, but it seems that example interacts with the ISP a little differently from the link above. The end goal is to store snapshots in different locations on PSRAM (multiple cameras muxed to the MCU's CSI port)
Hi everyone, I have a N6 Discovery Kit with a camera. Additionally, I have an N6 Nucleo Board. Now I want to use the CubeMX and CubeIDE to capture a frame on the Nucleo with the camera. I copied most of the things from the `DCMIPP_ContinuousMode` example but I still can't get it working... The I2C communication works (over I2C2) CAM_NRST => GPIO O5 get set to high. CAM_EN => GPIO A0 get set to high. Then I successfully call the IMX335_Probe(..) And finally, it fails here: https://github.com/rphii/NUCLEO_N6_DCMIPP_MB1854B/blob/main/Appli/Core/Src/main.c#L137 (contains the full, minimal, reproducible code) I never get into the `HAL_DCMIPP_PIPE_FrameEventCallback`... If anyone has more experience with the DCMIPP and CSI-2 (which is both new to me) and could help, it'd be greatly appreciated, thanks!
Does anyone know if this part is "Rohs" or "Non-Rohs" compliant? Does anyone have the MDS document (Lead composition)? I wasn't able to find this info on this website.
STM32CubeIDE Version: 2.1.1 Build: 28236_20260312_0043 (UTC) How can I make sense of this ? TMicroelectronics ST-LINK GDB server. Version 7.13.0 Copyright (c) 2026, STMicroelectronics. All rights reserved. Starting server with the following options: Persistent Mode : Disabled Logging Level : 1 Listen Port Number : 61234 Status Refresh Delay : 15s Verbose Mode : Disabled SWD Debug : Enabled Waiting for debugger connection... Debugger connected Waiting for debugger connection... Debugger connected Waiting for debugger connection... ------------------------------------------------------------------- STM32CubeProgrammer v2.22.0 ------------------------------------------------------------------- Log output file: /tmp/STM32CubeProgrammer_Xj0e11.log Error: Unable to connect to the target device, Access port is not valid. Encountered Error when opening /home/soham/st/stm32cubeide_2.1.1/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.linux64_2.2.400.2026010
Hello, We are using STM32F469 and STM32F412 in our design. Regarding the BOOT0 pin, we understand that a pull-down resistor is required to ensure boot from Flash. However, we could not find a clearly specified resistor value in the datasheet or application notes. In many reference designs, a 10k ohm resistor is used. In some cases, lower values such as 510 ohm are used. Could you please clarify the design criteria for selecting the BOOT0 pull-down resistor value? Is there a recommended range? What factors should be considered, for example noise or leakage current? Why are lower values such as 510 ohm sometimes used? We would like to have a clear technical justification for our design. Thank you. Hiroshi Yamada
I just downloaded the installer for 2.22.0 for MacOS on Apple Silicon and the installed program is the Intel version. Thanks
I have a project that builds two different programs with conditional compilation. (I'll call the project Foo and the programs FooA and FooB) I currently have a #define in main.h that I comment/uncomment manually to toggle between them, but I'd like to hoist that into the build system. I could probably manage it with presets, but it looks like I'd have to manually define FooADebug, FooARelease, FooBDebug & FooBRelease, which would be tedious. (If someone does know of a way to make orthogonal sets of presets, I'd be interested) A more promising approach would seem to be something along the lines of:project(Foo) add_executable(FooA) add_executable(FooB) target_compile_definitions(FooB PRIVATE FOO_B) I can see how I would do this if I was writing all the CMakeLists.txt's myself, however while the top CML says# # This file is generated only once, # and is not re-generated if converter is called multiple times. # # User is free to modify the file as much as necessary # cmake/stm32cu
Hi, I want to use my F072's DACs to output a sin and cos signal. to save on memory I want to have only one buffer holding the values of a SIN function, COS values should be taken from the same buffer. Basically, I need the DMA for channel 1 to start from the beginning of the buffer and for channel 2 to start at an offset. Of course, I can't just do something like HAL_DAC_Start_DMA(&hdac1, DAC_CHANNEL_1, lut, no_samples, DAC_ALIGN_12B_R);HAL_DAC_Start_DMA(&hdac1, DAC_CHANNEL_2, lut + no_amples / 4, no_samples, DAC_ALIGN_12B_R);because that would make the dma access elements outside the buffer. in the reference manual I found the register DMA_CNDTRx register, is this the way to go?
HelloI am building Linux on a custom board using the STM32MP255F-AK.The following error occurs during kernel boot:[ 15.371350] stm32-dwmac 482c0000.eth1: Failed to reset the DMA[ 15.386447] stm32-dwmac 482c0000.eth1 end0: stmmac_hw_setup: DMA engine initialization failed[ 15.389570] stm32-dwmac 482c0000.eth1 end0: __stmmac_open: Hw setup failedAfter embedding printk in the kernel source code to investigate,I found that dwmac4_dma_reset() in /drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c was returning ETIMEDOUT(110).[dwmac4_lib.c]int dwmac4_dma_reset(void __iomem *ioaddr) {u32 value = readl(ioaddr + DMA_BUS_MODE);/* DMA SW reset */value |= DMA_BUS_MODE_SFT_RESET;writel(value, ioaddr + DMA_BUS_MODE);return readl_poll_timeout(ioaddr + DMA_BUS_MODE, value,!(value & DMA_BUS_MODE_SFT_RESET),10000, 1000000); }I expect 0x482c0000 to be stored in ioaddr, but different values such as 0x82108000, 0x82128000, and 0x82xxx000 were stored there each time.Ive looked into it from various angles
When I specify a workspace in CubeIDE's File > Switch Workspace, the files appear in the Project Explorer, but they don't match the actual directory. The workspace specified in the IDE is C:WorksSTM32Example_SelectorBLE_HeartRateNUCLEO-WBA25CE1 but it seems to actually be referencing C:WorksSTM32CubeIDEHelloWorld For example, if I modify Srcmain.c in the IDE, it actually updates C:WorksSTM32CubeIDEHelloWorldSrcmain.c Why does this happen? I don't understand what a workspace is.
I am unable to search for and select the official STM32G491RET6b MCU based Nucleo-64 Development board on the latest STM32 CubeMX v6.17.0 software. One online tutorials suggested that only the official STM32-based microcontroller boards from the company are supported in this tool, but since this STM32 Nucleo G491RE is a genuine, official board as is listed. So, why is this board not shown in my latest CubeMX tool installation?
This account only shares restored community content posted by members between May 22 and June 9, 2026, who did not register for the new community.Dear ST Community, I'm trying to integrate my ST Edge AI model C code (generated from ST Edge AI Cloud) to my current application.- Part Number: STM32F411CE6- Environment: STM32CubeMX: 6.17; ST Edge AI Core v4.0.0-20500 359356bb0- Detail of my issue: At line 63 below: huart2.Instance = 0x40004400 After successfully execute stat_network_run() (line 65): huart2.Instance = 0x582cc4de -> This causes Bus Fault to be triggered in line 70. My main function: void print_to_uart(UART_HandleTypeDef *huart, const char *format, ...) {char buffer[256];int cx;va_list args;va_start(args, format);cx = vsnprintf(buffer, sizeof(buffer), format, args);va_end(args);if (cx >= 0 && cx < (int)(sizeof(buffer))) {HAL_UART_Transmit(huart, (uint8_t*) buffer, cx, 1000);} }// ...STAI_ALIGNED(STAI_NETWORK_CONTEXT_ALIGNMENT) static stai_network net
Hello Team, We are developing a custom board based on the STM32N657 MCU. During pin assignment in the CubeMX tool, PB3 is shown with the JTDO_SWO function. However, the datasheet indicates that the SWO functionality is associated with PB5. Could you please confirm which pin actually supports the SWO function?Thanks
Hi all , Im facing a issue in TCP/IP - Ethernet using LWIP on STM32H723ZGT6 [NUCLEO - H723ZG] , that i gave completed ethernet configuration , ping is good , wrote a tcp_echoserver and modified with my desired outputs , everything was a woking upto a certain level, and i cant RX and Tx and fall into hard fault (Added a Video of the output). I'll add the code file as a zip. Kindly help me to resolve ii. Thank You!!!.....
This account only shares restored community content posted by members between May 22 and June 9, 2026, who did not register for the new community.Hi everybody,I have an application, where my device should go every record_interval into the stop2 mode. Then Wakes up then measure some sensor values, then goes into the sleep. Same goes over and over.The issue is, I am using the LSI2 as a clock source for my RTC. I am then using that RTC clock to wake my MCU up from the STOP2 mode. But the issue is: that RTC time (based on the LSI2) is drifting (roughly 10s less than the real time). I am then using the real sleep time to advance the ticks of my freeRTOS, because the ticks are being paused during the STOP2 mode.Advancing the ticks manually then causes my freeRTOS task to run with some delays.Now my questions are:- Is there any way on my PCB, ith the STM32WB55RG on it to make the LSI2 or even the LSI1 more precise? PS: I am planning to buy an LSE oscillator. In the mean time, I try to compens
Hi, I am creating a project CubeMX that uses both Secure and NonSecure. I using USART1 for debugging, and my application only runs on SecureApp and cannot run NonSecureApp. I tried implementing the same as Template Isolation XIP but it still didn't work.
Hi, I have a question regarding the STM32N6 BootROM flash boot process. My understanding is that the BootROM loads the FSBL from an external XSPI flash device. However, it is not clear to me whether the BootROM: Uses a fixed XSPI/XSPIM configuration (for example, a specific XSPIM port), or Automatically probes and detects the flash location across available XSPI/XSPIM ports. For a custom STM32N6 board, the external NOR flash is connected through XSPIM Port1. I would like to understand whether the BootROM is capable of automatically discovering and booting from a flash connected to Port1, or whether Flash Boot is restricted to a specific XSPI/XSPIM port configuration. Could you please clarify: Does the STM32N6 BootROM scan multiple XSPI/XSPIM ports during Flash Boot? Is the boot source port fixed in ROM or configurable through OTP settings? If the flash is connected only to XSPIM Port1, can the BootROM still load the FSBL from it? Is there any documentation describ
This account only shares restored community content posted by members between May 22 and June 9, 2026, who did not register for the new community.Hello,I am using a STM32L431 microcontroller. Bare-metal application in C using STM32CubeIDE and HAL library. I am trying to transmit an 8-byte CAN Message at 1Mbps baud rate every 1ms. The best I can do right now is successfully transmit one CAN message every 3ms (with every 13th or 14th message going out at 4ms interval.). Any transmission rate >3ms I do not have any issues. The system Clock is set to 80Mhz, using external 8Mhz crystal. Every 1ms (based on 500us timer), I add a CAN message to a queue (size 128). I check for any available TxMailbox and try to transmit using HAL_CAN_AddTxMessage. I also have a CANTransmit function that calls HAL_CAN_AddTxMessage in the HAL_CAN_TxMailboxEmptyCallback in case all 3 mailboxes were full. At present, there are no other devices trying to send any CAN messages on the bus expect the STM32 microcon
Hi, Usually I code in a terminal text editor, compile and flash my code in the command line. I used CubeMX to create a makefile, then modified the makefile to include certain commands I can run from the command line. I used OpenOCD and GDB to debug code from the command line. It is becoming a mission to do intense debugging where I can see the values of registers all at the same time. I would like the option to if required switch to STM32CubeIDE only for intense Debugging and do my normal coding with my current setup. I'm on Linux, I imported a Makefile project without being presented with the option of choosing the part. Now My project doesn't know which target I am compiling for. Is there any way to change these settings in CubeIDE ? It seems grayed out for me... Here is the error I'm getting Thanks, DJ
Hello, I want to set LSM6DSV's both accelerometer and gyro's output rate to 960Hz. And I want to use INT1 pin to signal Data-Ready. My question is whether I should set INT1_CTRL register's b1: INT1_DRDY_G or b0: INT1_DRDY_XL. The user manual says: "When both the accelerometer and gyroscope are on, the accelerometer is synchronized with the gyroscope, and the data rates of the two sensors are integer multiples of each other." It sounds like if I set both output rates to 960, I can assume that when accelerometer's data is ready, the gyroscope's data is also ready. So will it be correct to just set INT1_CTRL register's b0 to 1?
Hello, I have just updated STM32CubeAI Studio to version 1.2. In the previous version, the AI Studio generated: Middleware Application code Raw files (e.g., network_atonbuf.xSPI2.raw) My workflow was to add the middleware and application code to my project, then convert the raw file (network_atonbuf.xSPI2.raw) to a hex file. Everything worked fine until I updated the studio. In version 1.2, instead of generating the raw file, it now generates a C source file: network_atonbuf.xSPI2.c. I am unsure what to do with this new .c file. I placed it in my project, but nothing works as expected. Could someone please advise on how to proceed or explain the change in workflow?
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.