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 installed x-cube sdk then i wanted to make project for an example but even tough i installed last version of cube mx program but i am taked that things all the time thanks for your help.
Hello,I’m working with an STM32N6570-DK, and I’m trying to run a very simple LED-blinking application as part of the FSBL.When I debug the project using STM32CubeIDE, everything works correctly and the LED blinks as expected.Next, I want to flash the FSBL application to the external flash, so I generated the header using the following command:STM32_SigningTool_CLI.exe -bin N6test_FSBL.bin -nk -of 0x80000000 -t fsbl -o N6test_FSBL-trusted.bin -hv 2.3 -dump N6test_FSBL-trusted.binI then put the board into DEV mode, connected with STM32CubeProgrammer, and flashed the image at address 0x70000000.After disconnecting, switching to FLASH mode, and resetting the board, nothing happens. The LED does not blink.Does anyone know what I might be missing or misconfiguring?Thanks for your help.
Split from old (apparently abandoned) thread: Riverdi_101 STM32H7: ST-Link can't connect to boardHi I am facing the same error is there any solution for this
Hello community, I am currently considering capturing and analyzing BLE packets by using BLE sniffer, but for that I need the LTK used for decryption.BLE Secure Connection pairing does not directly exchange LTK, so I do not know where to find it exactly in BLE Stack.Could you please tell me how to output an LTK log by modifying the user source code?-------------------------------------------------------------------------------------------------------------------[Srouce]STM32CubeWBA/Projects/NUCLEO-WBA55CG/Applications/BLE/BLE_SerialCom_Peripheral at main · STMicroelectronics/STM32CubeWBA
Dear community,we're using a Makefile Project with STM32H5xx and NetX Duo using the LAN8742When the code is generated, CubeMX is adding the line:.../STM32Cube/Repository/STM32Cube_FW_H5_V1.1.1/Drivers/BSP/Components/lan8742/lan8742.c \twice to the Makefile which leads to multiple definition errors in Compile. The line has to be removed by Hand afterwards. I think this is malicous behaviour here.Best RegardsPascal
I have observed that on the STM32MP25 series running OpenSTLinux, the GPU OpenVX packages are correctly built and the *.so files are present in the rootfs. However, after the do_image step, these libraries are removed and are missing in the resulting ext4 image. Consequently, if I flash the image, the OpenVX shared libraries are absent.Here are the debugging details:The GCNANO_PACKAGECONFIG is correctly set to "egl gbm glesv1 glesv2 vg vx cl vulkan", and this has been verified.Other libraries are installed correctly. For example, in the rootfs: root@stm32mp25:/vendor/lib# ls libCLC.so libGLESv2.so.2.0.0 libSPIRV_viv.so libvulkan_VSI.so.1.3.3 libEGL.so.1.5.0 libGLSLC.so libVSC.so libGAL.so libOpenCL_VSI.so.3.0.0 libgbm.so.1.0.0 libGLESv1_CM.so.1.1.0 libOpenVG.so.1.1.0 libgbm_viv.so During the build, the OpenVX libraries are correctly generated in the rootfs. For example, I confirmed that libArchModelSw.so exists at: tmp-glibc/work/stm32mp25x-ostl-linux/s
Hello! I am a student studying STM32.First of all, thank you very much for your help. First of all, my main concern is that I would like to update the firmware on a board that has the G491RE mounted on it.However, we do not have an external ST-LINK, and only have a Nucleo-F411 board. Is there any way to use the Nucleo-F411 as an ST-LINK? Or is it possible to obtain the ST-LINK firmware?
please give me some advice to fix it. Thank you.
We are currently using the STM32WL5MOC module and are facing a serious issue with LoRa range. The communication range is not going beyond 1 meter, and the RSSI while receiving TX data is in the range of -100 dBm to -115 dBm.The same firmware and configuration work perfectly on the STM32WL55JC1 DK board, where we have tested both TX and RX successfully with good range and signal quality. However, with the STM32WL5MOC, using the exact same code, the range is very poor and the signal is too weak.
Post edited by ST moderator to be inline with the community rules for the code sharing. In next time please use </> button to paste your code. Please read this post: How to insert source code.i am trying to interface stm32f411ceu6 with sdcard using spi ,and i have successfully interfaced it but when i try to run this code using freertos by using another timer as timebase source it not works below code is in interrupt .c file . i wanted to use freertos just to make task but i dont know why my code not works when i enable freertos from stmcubemx void SysTick_Handler(void) { /* USER CODE BEGIN SysTick_IRQn 0 */ if(Timer1 > 0) Timer1--; if(Timer2 > 0) Timer2--; /* USER CODE END SysTick_IRQn 0 */ HAL_IncTick(); /* USER CODE BEGIN SysTick_IRQn 1 */ /* USER CODE END SysTick_IRQn 1 */ }
Post edited by ST moderator to be inline with the community rules especially with the code sharing. In next time please use </> button to paste your code. Please read this post: How to insert source code Hello We would like to inquire whether the STM32N6570-DK board and the NUCLEO-N657X0-Q board support Ethernet TSN (Time-Sensitive Networking). Additionally, we would like to know if there are any STM-provided drivers or libraries for Ethernet TSN for these boards. If such resources are available, we would appreciate it if you could share them with us. Currently, we are working on Ethernet transmit and receive functionality on the NUCLEO-N657X0-Q board using the driver generated from STM32CubeMX. However, we are encountering a HardFault when attempting to transmit in interrupt mode. The code execution jumps to the HardFault handler at the following segment in ETH_Prepare_Tx_Descriptors: if
I have a project which can pass the flash test while starting address is at 0x08000000. After changing the starting address to 0x08008000, the flash test failed. I have made the following changes: 1. main.c // #define TEST_ROM_START_ADDR 0x08000000U #define TEST_ROM_START_ADDR 0x08008000U 2. system_stm32f4xx.c #define USER_VECT_TAB_ADDRESS #if defined(USER_VECT_TAB_ADDRESS) /*!< Uncomment the following line if you need to relocate your vector Table in Sram else user remap will be done in Flash. */ /* #define VECT_TAB_SRAM */ #if defined(VECT_TAB_SRAM) #define VECT_TAB_BASE_ADDRESS SRAM_BASE /*!< Vector Table base address field. This value must be a multiple of 0x200. */ #define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field. This value must be a multiple of 0x200. */ #else #define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field. This value must be a multiple of 0x200. */ //#define VECT_TAB_OFFSET 0x00000000U /*!< Vector T
Hello ST experts,I’m working with an STM32WLE5CC using the LoRaWAN stack in STM32CubeIDE. Even though AU915 is selected as the active region, the device always transmits on the default sub-band AU915_CH0_7, while my gateway is configured for AU915_CH8_15.UART log example:###### AppKey: F1:11:B1:A0:A5:CE:4A:4C:1E:3B:E3:46:94:ED:8F:56###### NwkKey: F1:11:B1:A0:A5:CE:4A:4C:1E:3B:E3:46:94:ED:8F:56###### AppSKey: 2B:7E:15:16:28:AE:D2:A6:AB:F7:15:88:09:CF:4F:3C###### NwkSKey: 2B:7E:15:16:28:AE:D2:A6:AB:F7:15:88:09:CF:4F:3C###### DevEUI: CB:59:4B:0E:2D:2F:9D:D5###### AppEUI: 40:20:93:67:C4:C4:5F:AF###### DevAddr: 06:6A:AA:FE0s029:TX on freq 916600000 Hz at DR 20s401:MAC txDone5s384:RX_1 on freq 927500000 Hz at DR 105s433:IRQ_RX_TX_TIMEOUT5s433:MAC rxTimeOut6s396:RX_2 on freq 923300000 Hz at DR 86s461:IRQ_RX_TX_TIMEOUT6s461:MAC rxTimeOutThe node never receives the Join-Accept because it is transmitting on the wrong sub-band.Question:Where do I configure the AU915 sub-band so that the stack use
The controller on the board is erased via STM32CubeProgrammer.At the same time, the multimeter shows 1V on pin PC3 CN7:37 relative to GND CN7:8. How can this be?
There appears to be mislabeling of PINs PC0 and PC1 on the MB1779B schematic pack. found here on sheet 3 of 8. The PC0 and PC1 pins are mislabeled as UART1s but according to the datasheet for STM32WL5MOC they are actually LPUART1 as Alternate AF8.
I am trying to convert the G491re openbootloader example to the F413 mcu. I take it that everything that needs to changed is in the openbootloader_conf.h file. I believe I have the correct map configuration as shown below, but I am confused as how I figure out how to define the parameters at lines 74 and beyond. Are those just command codes? Also, how does the bootloader know there is only 1 bank instead of 2 like in the example?/** ****************************************************************************** * @file openbootloader_conf.h * @author MCD Application Team * @brief Contains Open Bootloader configuration ****************************************************************************** * @attention * * Copyright (c) 2019 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it i
I'm using a custom board with an STM32WB5MMG acting as an SPI slave. The board should receive data frames from a master via SPI, and send them to the computer via BLE. The SPI works fine, but as soon as the BLE advertising starts, the SPI reception breaks. I'm using SPI1 with a circular DMA to identify terminators of single data frames sent by the master. I've already tried 2 configurations:a circular DMA 1024 bit large, the HAL_SPI_Receive_DMA called in the while(1) and data parsing in the while(1);a normal DMA, the HAL_SPI_Receive_DMA is called in the HAL_GPIO_EXTI_Callback when CS goes low and data parsing in the HAL_SPI_RxCpltCallback.My hypothesis is that the BLE introduces a latency on the CPU that causes the SPI reception to be slower than the transmission from the master, that causes mis-alignment of data frames, which means that the terminators are not identified anymore. Is this possible?Also, a weird thing that I noticed, is that as soon as the terminators are
Dear ST community,I have a custom board with small external NOR flash MX25U1632F connected to STM32H573. I have written a custom external flash loader for this device. The loader works, for example, from stm32cubeprogrammer gui, and can read the external flash memory, and erase sectors.My problem is during secure manager provisioning. I have built a sfi package using the provisioning.py --sfi-gen script provided in the x-cube-sec-m-h5-v2-1-0.zip.During provisioning, initially, the device is in OB_PROD_STATE_OPEN state. Here, the sector erases complete successfully. With -vb=3 logging enable in STM32_Programmer_CLI:2025-11-26 16:42:28,808 - DEBUG - Init flashloader...2025-11-26 16:42:28,809 - DEBUG - halt ap 12025-11-26 16:42:28,811 - DEBUG - w ap 1 reg 0 R0 0x000000012025-11-26 16:42:28,812 - DEBUG - w ap 1 reg 1 R1 0x000000002025-11-26 16:42:28,813 - DEBUG - w ap 1 reg 2 R2 0x000000002025-11-26 16:42:28,814 - DEBUG - w ap 1 reg 3 R3 0x000000002025-11-26 16:42:28,815 - D
Hello,I am currently working with STM32G431RB, and I have an SD card connector on my board. When the CPU clock is below 80MHz, everything works fine. However, when I increase the clock frequency and insert the SD card into the slot, the program crashes and gives different hard fault errors (stack overflow, bus hard fault, etc.). This is the SD card slot schematic.
Hi there.I’m trying to generate a 12 ns pulse for a time-of-flight (ToF) application.I’m using an STM32U5 microcontroller, and I’d like to know whether one of the general-purpose timers (TIM2/TIM3/TIM4/TIM5) can produce a pulse that narrow. With a 160 MHz timer clock, the time resolution is about 6 ns, so in principle it seems feasible, but I may be overlooking something.Thanks!
How can I build the M33TD Yocto images from sources?stm32mp2-m33td-openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11 I managed to build the A35 flavor following this excellent summary:Solved: stm32mp257f-EV1 yocto - STMicroelectronics Community But now I would like to do the same for the M33TD boot mode. My board is a STM32MP257F-EV1
I'm trying to install ./SetupSTM32CubeProgrammer-2.21.0.linux -q But it just keeps failing or waiting for user response. Its not quiet if it asks for interaction. Moreover I have a tried a varfile but it expects a specific format (XML? Schema?)I can't find any documentation on how to install this without user interaction. Can anyone help or point me to the documentation? Thank you
I made a new project by importing an .ioc file. When the project opened/created, I was introduced into pinout view of the MCU.While I was there, the software (Stm32CubeIDE) got updated, asked me to restart to finish the update.I accept the restart.After the restart, I open my projectIf I double click my .ioc file, it just opens the file with txt editor:I do not know how to enter pinout view again.Obviously, I have tried looking on all the tabs/options, right clicking everywhere. It should be something easy, I just missed it.STM32CubeIDE Version: 2.0.0 Build: 26820_20251114_1348 (UTC) (C) 2025 STMicroelectronics ALL RIGHTS RESERVED
Hello,I came across an old book in a bookstore that has some interesting bare metal C projects for a NUCLEO-F030. Other than setting the clock speed to 80 MHz and adjusting for some pin variance, will code written for it run on a NUCLEO-F3 or -F4?Thanks.
Hi,I need to write the same kind of NDEF data to ~20 different NFC stickers placed on a panel. The idea is to have ~20 small antennas, select one at a time, and write to the sticker sitting above that antenna.Questions:Can I do this with X-NUCLEO-NFC12A1 + STM32 by multiplexing the RF path (switches/decoder → select 1-of-20 antennas)?Any recommended switch/multiplexer parts or reference designs for 13.56 MHz?What are the practical limits on antenna count and cable/trace length when switching like this?Do I need individual tuning (matching caps) per antenna position?Is there a better Nucleo shield for this use-case (e.g., higher RF drive) or is NFC12A1 enough?Goal: operator chooses pad 1…20, we write an NDEF, verify, then move to the next pad.Kindly advise—example schematics/app notes or code pointers would be great.Rgds,Rp#stm32 #nfc #x-nucleo-nfc12a1 #antenna #multiplexing #ndef
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.