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'm working with a NUCLEO-STM32WBA55 board and trying to build the BLE_p2pClient example project, but it fails with the error shown below:I../../System/Modules -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Drivers/STM32WBAxx_HAL_Driver/stm32wbaxx_hal_gpio.d" -MT"Drivers/STM32WBAxx_HAL_Driver/stm32wbaxx_hal_gpio.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32WBAxx_HAL_Driver/stm32wbaxx_hal_gpio.o" make: *** No rule to make target 'D:/STM32Cube/BLE_p2pClient/Drivers/STM32WBAxx_HAL_Driver/Src/stm32wbaxx_hal_gtzc.c', needed by 'Drivers/STM32WBAxx_HAL_Driver/stm32wbaxx_hal_gtzc.o'. Stop. make: *** Waiting for unfinished jobs.... "make -j8 all" terminated with exit code 2. Build might be incomplete. 10:35:54 Build Failed. 2 errors, 0 warnings. (took 6s.752ms) Environment:CubeIDE 2.0.0, CubeMX 6.16.0, WBA FW 1.8.0, X-CUBE-MEMS1 12.0.0
Hi,I am running the latest version of the VENC_SERVER application and am interested in the mode that uses no external memory. There is a define for 720p 30fps using internal memory only, but trying to compile it in debug mode results in a compile error with .bss data not fitting in memory.Could anyone advise on how to change the example or linker script to get the internal memory only version working?Thanks
I have the need to access items of a scroll wheel that are not visible on the screen (but that are already initialized)For instance, I have a scroll wheel with each items a toggle button.With the ScrollUpdateItem I'm able to set the correct index to the item withScrollUpdateItem(alarmsItem& item, int16_t itemIndex) { item.setIndex(itemIndex)where setIndex is a function that set the index in the itemNow, this works but, I've got the issue when it comes to the callback of each toggle.For instance, once a callback is called, I need to process items different from the one selected so, I need to access the SelectorScrollListItemsFor some reason, despite setting SelectorScroll.setNumberOfItems(6); I'm seeing TouchGFX generating touchgfx::DrawableListItems<alarmsItem, 5> SelectorScrollListItems; so, when I try to access SelectorScrollListItems[5] I'm seeing the call to the assert TYPE& operator[](int index) { assert(index >= 0 && index
I have been modifying the VENC_SDCard_ThreadX example to read in raw data through pipe0 with success. However, my bottleneck appears to be the SD card write speed; I understand that this example was designed to write compressed h.264 files - and it looks like it only writes at around 320 kB/s.Since I am capturing much more data, I would like to use exFAT instead of FAT32, and write to a UHS I card at max speed (SDR104). I defined FX_ENABLE_EXFAT within fx_user.h, but it I am still unable to write to an exFAT formatted card. fx_media_open() passes just fine, but upon inspection it appears that the available clusters always is 0. Am I missing any steps? Any insight would be appreciated.
Hi, I'm new to STM32 and FMC. I'm connecting STM32H755 to PCL6045, a motor controller which has data/address pins that can be access through FMC. This is what I've done so far:1) Configure the FMC inside CubeMX with clock set to 20MHz (max 20MHz reference clock according to PCL6045BL datasheet)I don't know why there's no unmuxed option in the CubeMX since I need to use the FMC_D instead of FMC_DA pins and the address pins start from FMC_A16 until FMC_A20. As for now I just connect FMC_DA to the data lines from PCL6045BL.2) Then, I try to write something to the selected register of axis XPclAxisWriteReg(ID_X, WRFL, 10);The base address that I use is 0x60000000. Every time I run the code related to PCL6045BL, it always gives a HardFault error. I have also edited the main.c to use FMC_DATA_ADDRESS_MUX_DISABLE manually but it does not seem change anything. I don't know if I miss something important or my steps are wrong somewhere.
I noticed that running cube-cmake --version reports cmake version 4.0.1, but running the actual build commands with cmake 4.0.1 produces a different binary than when running with cube-cmake.Is it safe to build a binary for release using cmake instead of cube-cmake? My program seems to run just fine building with cmake but I am curious what the difference between the two is.
Hi there,I'm starting to use the NUCLEO-H533RE board to evaluate the H5 device family.RM0481 has some errors on the PLL configuration:Fig.55 on page 461 shows a VCO range 0 between 128 and 560 MHz, but the description of bit 5 of register PLL1CFGR (page 492) says 192 to 836 MHz, which is quite different. Which one is the correct one, please ?Section 11.8.12 name is incorrect page 497 (PLL1 written instead of PLL2).Regarding the best PLL setup:For the PLL1RGE possibilities, it select the input frequency range: between 1 and 2, between 2 and 4, between 4 and 8 and between 8 and 16 MHz. What would be the best choice for a input frequency of 8 MHz: between 4 and 8 or between 8 and 16 ? And if possible, explain why that is.Thank you,Kraal
Hi! I am having a lot of trouble configuring the ST-Link on my NucleoF466RE board to JLink with STLinkFlash.exe even after consulting different community posts and websites.I was able to connect to my board using STM32CubeProgrammer on my Ubuntu 24.04.2 LTS laptop and upgrade it with the STLinkUpgrade program below.Then I connected my nucleo board to my Windows VM from Virtual Box since STLinkFlash.exe can only be run in Windows. I have installed the right STLink and JLink drivers from SEGGER website and confirmed in my Device Manager that the STLink was detected.However, when I launched STLinkFlash.exe to upgrade my STLink to JLink, I got the error "ERROR: Timeout: ST-LINK/V2-1 did not enter DFU mode". I tried putting the nucleo board in DFU mode by shorting the BOOT0 pin to VDD or removing/connecting different jumpers available on the board, but none worked...Has anyone been able to configure their STLink on their nucleo board to JLink recently? Would really appreciate any point
Hello,I have a solution which I am trying to port to STM32 MCUs which are able to run a machine learning/deep learning model. i wanted to know is it possible to generate a combined network.c from two models? Or do I have to generate multiple network.c files like network1.c, network2.c etc.How does it work? I have more than one(2-3) DCNN models.please adviceregards,
HelloI was developing an application that uses BLE and low power mode. I was testing that on a custom board and when I measured the current consumption at STOP2_MODE, it was 1.7 mA.I expected that I had made a mistake. So I tried the low power examples found there STM32CubeWB/Projects/P-NUCLEO-WB55.Nucleo/Examples/PWR at master · STMicroelectronics/STM32CubeWB on my board and then using the P-Nucleo-WB55 and I found the current consumption is above 4 mA.Shouldn't be measured in micro-ampere? I am confused now, as I am using an ST example and a dev board, so it should work well.Thanks in advance. Best regards,Mahmoud A.
Hi, I am using STM32WBA55G-DK1, is it possible to use Audio In jack to send the input audio and at Out to receive the audio in a full duplex method. Thank you
I wrote the following code in TouchGFXHAL.cpp__attribute__((section(".ram_d2")))uint16_t cache[144*1024]; //288KB cachevoid TouchGFXHAL::initialize(){ // Calling parent implementation of initialize(). // // To overwrite the generated implementation, omit the call to the parent function // and implement the needed functionality here. // Please note, HAL::initialize() must be called to initialize the framework. registerTaskDelayFunction(&OSWrappers::taskDelay); setFrameRefreshStrategy(REFRESH_STRATEGY_OPTIM_SINGLE_BUFFER_TFT_CTRL); TouchGFXGeneratedHAL::initialize(); GFXAdapter::gfx_adapter_lcd_init(); Bitmap::setCache(cache, sizeof(cache)); Bitmap::clearCache(); Bitmap::cache(BITMAP_ELAINA_ID);}bool TouchGFXHAL::blockCopy(void* RESTRICT dest, const void* RESTRICT src, uint32_t numBytes){ // If requested data is located within the memory block we have assigned for ExtFlashSection, // provide an implementation for data copying. for(uint32_t i = 0; i < numBytes / 2; i++) *((uint16_t
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * Copyright (c) 2025 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 is provided AS-IS. * ****************************************************************************** */ /* USER CODE END Header */ /* Includes ------------------------------------------------------------------*/ #include "main.h" #include "cmsis_os.h" #include "usb_host.h" /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private typedef ---------------------------------------------------
Hi,I already have a codebase that uses the STM32L4R5ZI microcontroller. The codebase does not include an .ioc file, which we normally use to configure the pins and other related parameters. But the codebase seems to be compiling fine. I am working with a development board for our customer project (Nucleo-L4R5ZI-P).We are trying to establish SPI communication with an external chip via SPI1. The codebase currently configures the SPI1 interface, but the SPI_CLK function is assigned to PA1. I need to change this to PA5. Since I don’t have an .ioc file, how can I make this modification?
I procured an STM32F4VE 2.0 board *Details of board here:*https://stm32-base.org/boards/STM32F407VET6-STM32-F4VE-V2.0I managed to create a Basic STM32 Cube Project for this controller. (STM32F407VET6)From the Schematic on STM32base website, I see PA12, PA11 connected to the USB Connector...I have enabled USB_OTG_FS which corresponds to PA11, PA12 in hardware and schematic.And further, under "Middleware and Software Packs" I have selected "Communication Device Class (Virtual Port Com)"I am also able to successfully initiate two IO Line connected to LED on board as output and write a basic Blinky program too.However the USB COM Port is giving hell of a lot of trouble, with Windows being unable to get even the Device Descriptor from the board! What am I doing wrong? Any step I have missed or any configuration I have done wrongly? Thanks in advance:Nagendra R Settynagendra.setty@ideas-unlimited.in
Hi, Is there anyway to generate codes in such way that we can customize our sub-project paths? E.g. Instead of having project/core/src, we have project/src... etc? Thanks in advance!
Hello,I would like to gather some information related to enabling LDRC mode on SPSGRF-915 Low Power RF Modules.Below are the documents I am referring to:1.) SPIRIT1 Data Sheet : Section 7.3 Low Duty Cycle Reload Mode.2.) AN4193 Application Notes : Entire document as it focuses on LDCR mode and RX TIMEOUT along with Programming Tips to enable the same.I am currently working with two SPSGRF-915 modules. One is a RF transmitter only and the other is a RF receiver only. The receiver module never talk back to the transmitter. Also, the RF Receiver module is a battery operated and I want to implement the LDCR mode on the receiver.The current software version on my RF communication is a continuous RX Listening on the receiver end. Following the steps mentioned in the SPIRIT1 Data Sheet, I have implemented the below:1.) Upon powering up the receiver module, I keep the RX_TIMEOUT to an INFIINTE Value at the beginning. 2.) After receiving the very first frame and processing it, as per
Hi,I'm using CubeMX 6.16.0 with the EWARM setting.When I click "Generate Code," it creates the IAR project with the default name "project.eww."I open the project with IAR and save it with a new name.Then I click the "Generate Code" button on CubeMX, and it regenerates the workspace name, again as "project.eww."Is it possible to set the IAR project name from CubeMX to something other than "project.eww"?Thanks
Hello I am using the L6494(14PIN) as a driver for a high and low side FET in a half bridge arrangement. My DC volts can be anything from 120Vdc to 220Vdc. and current up to 17AIs there anyway to determine the breakdown mechanism if I do not momentarily switch the bottom driver on to charge the bootstrap capacitor.?If I do not switch the bottom driver on first so that the bootstrap capacitor is charged and accadently turn the top driver on first, it destroys the driver and fets. I have wired in the L6498 (8PIN) and this does not behave the same way. I can always make sure of the sequence under normal conditions but under a fault condition this could not be guaranteed and an expensive call out could follow.Is there possibly another way to guarantee the bootstrap capacitor gets charged ? thanks
Hi there, I'm trying to figure out how to configure VD55G1 monochrome sensor to differential mode (e.g. disruptive mode, event mode) as branded in user manual. However, after going through https://github.com/STMicroelectronics/stm32-mw-camera, I have no clue. Could you help me with this? Thank you.
Good morning,I have a design based on the schematic of the STM32 Nucleo-64 L073RZ MCU evaluation board.Is the code to support ST-LINK functionality on the STM32F103TBU part of the STM embedded tool chain?Thank you.
Hi Community, I'm trying to build the BLE_TransparentMode example for the NUCLEO-WB05KZ, but I'm getting the following build error: region 'FLASH' overflowed by 93348 bytes Steps to reproduce: Open the BLE_TransparentMode example from the MX Example Selector for NUCLEO_WB05KZ. Change the toolchain to CMake with GCC compiler. Open the project and configure it using the STM32 VS Code extension. Build the project → the error appears. Environment: STM32CubeMX: v6.16 STM32CubeIDE for VS Code: v3.6.4 Has anyone encountered this issue or knows what might be causing the FLASH overflow with the CMake/GCC configuration?Thanks!
Related posts* https://community.st.com/t5/imaging-sensors/integration-support-for-vd56g3-camera-sensor-with-stm32n6/m-p/822221#M5767* https://community.st.com/t5/imaging-sensors/drivers-for-st-brightsense-image-sensors-for-stm32n6-series-%CE%BCcs/td-p/757056 Setup * Camera - https://www.st.com/en/evaluation-tools/steval-56g3mai.html* STM32N6570-DK QuestionI'm trying to find the drivers for the VD56G3 but i can't seem to find them. The above posts say to go to this website* https://www.st.com/en/development-tools/stm32n6-ai.html#get-softwareBut when i go there its mostly about AI and the one thing about image capture goes to this which is just a binary blob?* https://github.com/STMicroelectronics/x-cube-n6-camera-captureI do see this library* https://github.com/STMicroelectronics/STM32N6-GettingStarted-ImageClassification/tree/main/Middlewares/Camera_Middleware If that is the driver how to i enable it in the IOC file?&nb
Hi all I am a newbie to Linux and I badly want to excel in the system and currently i've stumbled upon an issue of not being able to run and debug my code to STM32-NUCLEO-F4460RE board through CUBE IDE. On running the program to my bord its i showing an error window and giving error message "Could not determine GDB version using command: arm-none-eabi-gdb --version". I asked Gemini and Chatgpt for help and got replies that made me symlink my libncurses.so.6.4 to .so.5 and similarly with libtinfo, then I installed gdb-multiarch as I was not able to download arm-none-eabi-gdb even with .gcc. Even I changed the prefernce to gdb-multiarch and its still the same. To add my Linux version is 24.04 LTS Noble. Kindly someone help me out of this mess.
Hi All!After the CubeIDE auto-update, the option to import example projects had disappeared. Or was it moved somewhere else now? Release Notes mention nothing about this.In the meantime I guess I can access the examples using CubeMX.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.