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
I am writing this to help.I have just received my EVB STM32MP257F-DK.When I have connected my USB cable in "USB PWR STLNK".LD5 and LD6 were RED, LD11 was flashing GREEN once.Installed the SD card and nothing, no boot ?Win11 was claiming that the driver is fine and the latest.The USB port were displayed as regular: USB PORT COM9 and COM10.Pressing the RESET button B1 nothing: No BOOT, no bad character on both ports ???Disconnecting the USB cable was well detected by Tera Term but nothing else.I have decided to install STM32CubeProgrammer Winn64 to check ithe ST-LINK by trying to connect.During the installation of the tool, the installer has advised that it is installing a driver.With no intervention, my EVB started to work, booting LINUX and all the LEDS have started flashing like a chritmasResetting the EVB, we can see Linux booting on port COM10 115200,8,N1See the image attached when the driver work fine and how it is displayed in Win11 device manager.Have fun.Best regards,SuperGDx
I need to perform lot of mathematical calculations and within a fixed time interval, the micro is STM32G474 my question is even if floating point calculator is available, do you recommend to use fixed point calcuations Q15 format etc. or I can go ahead with floating point calculations, will i get same performance? Please clarify.
Evaluating the STM32G081B-EVAL board, and I’m struggling to find the sizes of the two DC barrel jacks on the board and UCPD daughter board (5V CN16 and 19V CN3). As I understand it, it would be sufficient to power CN3 and let that power the mainboard, but I can’t find either of these sizes.Checking the BOM shows CN3 as Qiaod DC-094, but I can’t find any information about this either.Does anyone know what size of power supply barrel jack we will need for either (preferably CN3)?
Hi,I am working on a custom board using STM32H745XI MCU.I am facing an issue on one particular board.The same source code works correctly on our other boards with the same MCU and hardware. On the problematic board: The firmware can be programmed successfully using STM32CubeProgrammer. After programming, the firmware runs normally. But when I debug the same firmware from STM32CubeIDE using ST-LINK, execution reaches Reset_Handler and then main(). HAL_Init() is entered, but it does not return. After debugging HAL_Init(), I found that execution is actually hanging at: HAL_Delay(1000);inside HAL_Init().The relevant flow is:Reset_Handler ↓ main() ↓ HAL_Init() ↓ HAL_InitTick() ↓ HAL_MspInit() ↓ HAL_Delay(1000) ↓ HANG ↓SystemClock_Config() ← never reachedMy understanding of the problemHAL_Delay() depends on the HAL tick counter (uwTick) being incremented periodically by the SysTick interrupt.Normally the flow should be:SysTick interrupt
Hi ST Community,I’m working with an STM32N6 project and I am facing a build issue after generating a project with STM32CubeMX.The project generates successfully and the driver folder is present, but when I open it in STM32CubeIDE and build, I get many linker errors related to missing HAL functions.I checked the STM32N6xx HAL driver folder, and I do not see the HAL source files It looks like the generated CubeIDE project is not adding the HAL driver files into the build.My setup:STM32CubeIDE: 2.2.0 STM32CubeMx: 6.18.0Can you please advise if there is any additional setting required to avoid this issue ? or if this is a CubeMX generation issue?
I am having an issue with .ioc file association on macOS when using STM32CubeIDE 2.2 together with the standalone STM32CubeMX.The .ioc file does not seem to be properly registered with macOS.For example, in Finder, .ioc files are shown as unknown files rather than as STM32CubeMX project files.More importantly, when I open an .ioc file from STM32CubeIDE, STM32CubeMX is launched, but it stays on the welcome screen instead of opening the selected .ioc project.The behavior is roughly:STM32CubeIDE ↓STM32CubeMX launches ↓CubeMX stays on the welcome screen ↓project.ioc is not opened I've made some checks. macOS does not appear to assign a normal, application-specific UTI to the .ioc file.For example:mdls -name kMDItemContentType -name kMDItemContentTypeTree project.iocreturns:kMDItemContentType = "dyn.ah62d4rv4ge80w55d"kMDItemContentTypeTree = ( "public.item", "dyn.ah62d4rv4ge80w55d", "public.data")I also checked the application bundle:plutil -p /Applications/STM32
I’m running into a ‘Heisenbug’ crash (just adding or moving a bit of general code between builds makes it either crash or work), and when it crashes, the STLINK-V3MINI can’t attach, or if already attached, it fails to halt the processor.Any tips or advice about catching it in the act or theories as to the cause?
Hi Team,I am using the STM32C542RC on the STM32C5 Nucleo-64 board (MB2213),What is the max. supported baud rate for the USART baud rate?We have checked that, with STM32CubeMX, the DIV1 prescaler, and oversampling by 16, the maximum supported USART baud rate is 9 Mbit/s, assuming the peripheral clock is configured appropriately.However, in our setup, we are receiving garbage/corrupted data at 1.5 Mbit/s. Communication works correctly at 1 Mbit/s (TX and RX both working at this baud rate), but increasing the baud rate to 1.5 Mbit/s or higher in that case results in receiving garbage/invalid data. The STM32 receiver and the sender are configured with the same UART settings:Baud rate: 1.5 Mbit/sStop bits: 1 (also tested with 2)Parity: NoneWord length: 8 bitsHardware flow control: None Please check the above configuration and let us know how to achieve reliable data on the receiving end at a 1.5 Mbps or higher baud rate. If any additional configuration is required, then please let us know.
Greetings,We have a new HW design based on the STM32H573ZI. We are using the USB port and have itgoing to a 4-pin micro-USB connector with VBUS, D-, D+, and GND. I would like to run an H5 Example application to verify that the HW is functional, something like the Ux_Device_HID example.However the Ux_Device_HID examples I see seem to only support USB-C with USBPD (Power Delivery). Are there any simple Device Only examples which natively support micro-USB, or USB-A? ThanksKen CarlsonDraeger Medical Systems
Hello ST team.I am working on the boot chain from qspi NAND flash memory. The board is based on the STM32MP135F SOC and the w25n01gvzeig winbond 128MB IC. The IC is sitting on qspi bank 1 on the default BOOTROM pins (AN5474 p49).I have already succeeded the bootchain for EMMC and USB uboot successfully locates and flashes the nand with the partitions I have specified. But as set the boot pins to 111 I get 0 logs from the serial.By reading in the forum I suspect that the OTP should be programmed with the NAND layout configuration but I would like to be sure. Note the I have build tf-a with the STM32_SPI_NAND=1 on the extra flags and I get a boot log from NAND boot if i perform software reset from uboot usb.With softreset and tfa hardcoded the otp value for nand block nb[7:0]:STM32MP> resetresetting ...▒NOTICE: CPU: STM32MP135F Rev.YNOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11INFO: Reset reason (0x74):INFO: System
ProblemI am working on an STM32H743 and I have implemented a custom bootloader that should be able to jump to the STM32 internal system memory USB DFU bootloader.The application can request a firmware update by setting a flag (in the BKPRAM) and performing a system reset. After the reset, my custom bootloader detects the flag and tries to jump directly to the STM32 system memory DFU bootloader.The relevant part of my bootloader is:int main(void){ if (Bootloader_IsUpdateRequested()) //check if update is requested { Bootloader_ClearUpdateRequest(); EnterUpdateMode(); //go dfu mode } HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_USART3_UART_Init(); HAL_Delay(100); int err = Bootloader_is_app_valid(&crc); //check if app is valid if (err != 0) { // ... Bootloader_SetUpdateRequest(); NVIC_SystemReset(); } JumpToApplication(); //start application while (1) { }}The function used to ju
Hi,We are using STM32L496RGT6, VDD voltage is 1.8V, our device is low power device, max current available on 1.8V is 13mA. We are using Segger flasher for flashing .hex file to MCU by SWD and Speed 4000kHz. Now while flashing MCU, it takes around 36mA current. Setting as follows, can we reduce programming power by changing any setting in flasher tool.
Hi. I built the PCB myself at home. While working, I noticed strange anomalies in the image. The anomalies are in different places and on different photos. I asked AI but didn't get a satisfactory answer. I tried reducing the frequency without any positive effect. I suspect ESD or power supply issues. The traces are very thin, 0.4 mm for power and 0.35 mm for data. Has anyone experienced this?
The GT911 configuration (as far as I know registers 0x8047 - 0x8100, but maybe there is more?) on my module got overwritten by my experiments, and touch now has large dead zones, where no touch is registered at all. The driver/sensor channel map is specific to this panel and isn’t in any BSP, so I have no factory copy to restore from, and I also don’t have a 2nd board.Could anyone with a working DK dump their GT911 config and paste the values? (Or does ST have the default config for this module, I sadly couldn’t find it anywhere?) From my understanding it should be as simple as: uint8_t reg[2] = {0x80, 0x47};uint8_t cfg[186];i2c_write(0x5D, reg, 2);i2c_read (0x5D, cfg, 186);
Hi, I’m having trouble getting valid ciphertext and tag from the AES peripheral in AES GCM mode using the HAL. I know that some HALs for other chips have resolved the tag mismatch issue (e.g., STM32H7xx - AES GCM Invalid Tag Generation after Decryption). It appears that issue was resolved by accounting for the data swapping when zero padding a final block inferior to 128 bits. I applied a version of the fix to my code (based on both reference manuals the interface to the AES is nearly identical) but I’m still having tag issues. I noticed that before and after this fix zero padded words were being written to the AES input register last. Figure 73 on p369 in the RM0511 Reference Manual seems to imply that zero padded words should be written BEFORE the valid words of the block. Am I misinterpreting the figure?Tag and padding aside, I’m not even able to produce valid ciphertext compared to another implementation of AES GCM (python cryptography library). I use the same 128-bit key, the same
I’m trying to build the LED example for the P-NUCLEO-WB55.USBDongle.I have included all the necessary include & source paths yet when I try to build it exits with the following, This file does actual exist though, and its location is in the paths list, What am I missing here?
Hello, When you start STM32CubeIDE with this settings removed : Run/Debug → Launching → General Options → Build (if required) before launching, the debugger couldn’t start, nothing happens, no error in logs.You have to set again this settings, launch debug, then remove again this settings, and now debug can work.Laurent.
I hope you are doing well.We are currently working on a Driver Monitoring System (DMS) project at Rapidise Technologies Pvt. Ltd.Could you please let us know if STMicroelectronics has any DMS reference design, application board, or evaluation board based on an STM32 microcontroller?If available, could you kindly share the following:Schematic files PCB/Board design files Bill of Materials (BOM) Hardware design documentation Design guidelines Reference software or demo projects (if available)These reference materials will help us evaluate the platform and accelerate our hardware development.
i started working on the B-G431B-ESC1 board with a 2836 motor but it would not start. so i started looking at the setup and tried different configurations but no luck. the profiler would not run the motor either. after i disconnect the motor and removed the bus voltage, the Iq in the motor pilot still shows significant numbers.. i wonder if this is a sign of damaged board?
Includes support for hardware interrupts and custom config options for the sensor. Code is in fashion of similar drivers already on github but with additional support. It has been tested but I am very new to this so Im sure there are things I missed. Criticism welcome.Repo:https://github.com/mihalamot/STM32-MPU6050-HAL-DriverI am 21yo CS student with a recently found passion for embedded/low level programming. Job market is not the best right now so I am trying to distinguish myself with hobby projects like this one. It would help me a lot if anyone could take the time to check this out and potentially star it. If someone actually used my code I know that it would help my employment chances.Thanks
Hi ,We observed the timing details for each state during card detection. These measurements were captured while running the demo cycle continuously in a while loop for card detection on bare metal. We are using the NFC Reader stack on an AUTOSAR platform and executing the NFC task every 1 ms. During testing with NFC-A and Proprietary technologies, we observed that the card detection and validation process takes approximately 300 ms.Could you help us understand how these timing values are expected to be observed and interpreted?We observed that the PollTechDetectCnt reached 1162 during testing. Could you please confirm the expected number of iterations for each state in the polling and card detection sequence? Initialization for discovery parameters - discParam.compMode = RFAL_COMPLIANCE_MODE_NFC; discParam.devLimit = 1U; discParam.nfcfBR = RFAL_BR_212; discParam.maxBR = RFAL_BR_KEEP; discParam.p2pNfcaPrio = false; discParam.wakeupEnabled = false; discParam.wakeupConfigDefault =
Hello, we have obtained some VL53L4CX sensors and are having a hard time calibrating them. We have created a 3D printed test jig which positions the sensor exactly 100mm away from a 17% greycard as instructed by the datasheet. We’re running the ULD driver. It all appears to work correctly, but now we would like to calibrate the offset and xtalk. The methods run correctly but the returned values appear to shift over time and between runs. We modified the ULD driver to inject debugging statements to see the measured values. Attached are 4 different runs showing how the values have some trend/wave pattern to them, which biases the averaging and results in a wrong computed offset, and one that changes over time. This calibration is done inside a box which is in near absolute darkness so it’s not ambient light that’s affecting it. Advise would be highly appreciated, as this is a major blocker to our product thus far. Best regards
Dear all, I have designed a custom board using the STM32H563ZIT6 as the host MCU and the ST67W611M1 as the NCP. As part of the initial bring-up, I am attempting to flash the ST67W611M1 using the QConn_Flash_Cmd-ubuntu tool in standalone mode. For this, I have connected a USB-to-TTL converter directly to the NCP UART interface. The BOOT and CHIP_EN pins of the ST67 are controlled by the host MCU, which toggles them in the required sequence to place the NCP into UART (flash) mode (see below code). I use the same sequence given in the NCP_Loader Example. if (flash) { LL_GPIO_SetOutputPin(BOOT_GPIO_Port, BOOT_Pin); } else { LL_GPIO_ResetOutputPin(BOOT_GPIO_Port, BOOT_Pin); } /* RESET NCP CHIP */ LL_GPIO_ResetOutputPin(CHIP_EN_GPIO_Port, CHIP_EN_Pin); HAL_Delay(100); LL_GPIO_SetOutputPin(CHIP_EN_GPIO_Port, CHIP_EN_Pin); if (flash) { /* CLEAR BOOT */ HAL_Delay(100); LL_GPIO_ResetOutputPin(BOOT_GPIO_Port, BOOT_Pin); } I verified the BOOT and CHIP_EN signals on an oscillosco
Hello, I’m working on STM32H533 project with trust zone and secure and non-secure firmware.The project has an OCTOSPI external flash w25q64jvssiq memory, configuring the OCTOSPI in the non-secure side. I have configured the SAU unit for memory mapped mode, gice access to the OCTOSPI from the secure side with HAL function: HAL_GTZC_TZSC_ConfigPeriphAttributes(GTZC_PERIPH_OCTOSPI1,GTZC_TZSC_PERIPH_NSEC | GTZC_TZSC_PERIPH_NPRIV); At the non-secure side I can write/read the memory using QSPI instruction. Also I can change to memory mapped mode and have access with debugging tool (uVision).When I change to memory mapped mode and use any instruction to acces directly to memory an interruption occurs and give back to secure side on SecureFault_Handler showing AUVIOL violation. Attached you can find the SAU configuration file, made by myself because STM32CubeMX does not make any change in the file, like this post: So, obviously I missed something or I’m doing some mistake, I need help ASAP t
Hello everyone,I am experiencing an issue with MotorPilot on a new laptop.Problem descriptionWhen I start MotorPilot, the application window opens but:I can only see a black screen whit a white arrow the content is flickering no GUI elements are visible or usableThe issue only affects the application window, not the whole system.System informationOS: Windows 11 Laptop: New system (Intel Core Ultra 7 255HX + RTX PRO 2000)Additional observationsThe program seems to be running, but the UI is not rendered correctly This looks like a graphics / rendering compatibility issue Problem occurs only on the new laptop (older systems worked fine)What I already triedRunning as Administrator Disabling fullscreen optimizations(no improvement so far)Has anyone experienced the same issue with MotorPilot?Is there a known workaround? Can hardware acceleration be disabled? Are there recommended settings for modern GPUs?Any help would be appreciated.Thanks!
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.