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 encountering a build failure in the I2C_OneBoard_Communication_PollingAndIT_Init project after integrating the X-CUBE-MEMS1 software expansion pack. D:/STM32Cube/I2C_OneBoard_Communication_PollingAndIT_Init/Drivers/STM32WBAxx_HAL_Driver/Src/stm32wbaxx_hal_dma.c:185:10: fatal error: stm32wbaxx_hal.h: No such file or directory 185 | #include "stm32wbaxx_hal.h" | ^~~~~~~~~~~~~~~~~~ compilation terminated. D:/STM32Cube/I2C_OneBoard_Communication_PollingAndIT_Init/Drivers/STM32WBAxx_HAL_Driver/Src/stm32wbaxx_hal_dma_ex.c:478:10: fatal error: stm32wbaxx_hal.h: No such file or directory 478 | #include "stm32wbaxx_hal.h" | ^~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Drivers/STM32WBAxx_HAL_Driver/subdir.mk:46: Drivers/STM32WBAxx_HAL_Driver/stm32wbaxx_hal_dma.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Drivers/STM32WBAxx_HAL_Driver/subdir.mk:48: Drivers/STM32WBAxx_HAL_Driver/stm32wbaxx_hal_dma_ex.o] Error 1 D:/STM32Cube/I2C_OneBoard_Communication_Polli
Dear ST staff, Recently, while using STM32CubeMX with CubeAI to deploy the yolov8n_192_quant_pc_uf_od_coco-person.tflite model from object_detection onto the STM32N6570-DK development board. Subsequently, following CubeAI's configuration, I programmed the network_atonbuf.xSPI2.bin file into the 0x71000000 memory locationIt is worth noting that this model is of type float, not int8 quantisation (as I understand it), and both member pointers inLL_Buffer_InfoTypeDef's const float *scale; /**< */ const int16_t *offset;are NULL. This should indicate that the output requires no normalisation conversion.void MX_X_CUBE_AI_Process(void) { /* USER CODE BEGIN 6 */ LL_ATON_RT_RetValues_t ll_aton_rt_ret = LL_ATON_RT_DONE; const LL_Buffer_InfoTypeDef * ibuffersInfos = NN_Interface_Default.input_buffers_info(); const LL_Buffer_InfoTypeDef * obuffersInfos = NN_Interface_Default.output_buffers_info(); buffer_in = (uint8_t *)LL_Buffer_addr_start(&ibuffersInfos[0]
STM32CubeProgrammer CLI: v2.21.0STM32H573I-DKST-Link (part of DK)Experimenting with lifecycle states, I occasionally (maybe 1 in 3) get an mbedtls error when performing regression. This is with Trustzone enabled, using a leaf certificate. Sometimes running the command a second time will cause it to pass (as in the log below), sometimes the board needs to be reset in order to pass. This also happens using the regression.sh script and keys/certificates bundled with STM32CubeH5/Projects/STM32H573I-DK/ROT_Provisioning.A snippet of the error is below, and I've attached a log with the full command that failed, followed straight after by the same command that then passes.```STM32_Programmer_CLI -c port=SWD per=a key=Keys/leaf_priv.pem cert=Certificates/cert_leaf_chain.b64 debugauth=1....Certificates/cert_leaf_chain.b64load_trust_chain : 200 : error : sdm : Error calling mbedtls_pk_load_file()Error:Debug Authentication Failed```
Hi all,I am trying to understand the relationship between CCRDY and CHSELR. Unfortunately, there is a bit of bad grammar in the Reference Manual on this subject, which is not helping...The manual seems to say (and some examples support this) the sequence is -ADC1->ISR |= ADC_ISR_CCRDY ADC1->CHSELR = adc_channel; while((ADC1->ISR & ADC_ISR_CCRDY) != ADC_ISR_CCRDY) {}; ADC1->CR |= ADC_CR_ADSTART; // Start the converstionThis sequence doesn't make sense. What would happen if there was an interrupt between clearing the CCRDY and writing the CHSELR?Can anyone explain the internal workings of the ADC on this topic?Kind regardsPedro
Hi all,I have recently installed CubeIDE V2.0 onto my Windows machine - it seems to be working okay.I have also installed it onto a Linux machine but the link between CubeIDE and CubeMX is broken (CubeIDE opens it as a text file). I have CubeMX installed V6.15.0 - I can run separately.Someone said to me that for V2.0 I have to set the .ioc editor link manually - does anyone have the detail on how to do that?Kind regardsPedro
Hi,Does ST have any plans to manufacture FLIR (Forward Looking InfraRed) MEMS sensors in future?Will
Hello!I try to use dual bank option on the stm32l476 (256kB) for implementing a custom bootloader. I want just read new program (bin) by custom protocol and write it to another bank. After that I want to switch the banks, reset mcu and start the new program (from another bank). Sounds easy!My actions:I built the program for bank1, load it to the address 0x08000000.Then I loaded the same program to the bank 2 by address 0x08020000. (either with the st-link utility or just by writing to the flash directly from my program, tried both of variants).After that I set option byte bfb2 from 0 to 1 (also either with st-link or just from program). But my mcu does not work at all.I`ve compared the program in both banks and original .bin file with the help of the st-link utility and found that there is no difference between it (no corruption during program).I`ve even tried to build program for bank 2 (with offset), but it also did not help.I`ve noted that when I change the bfb2 bit, the value in th
Hi,The new STM32Cube for Visual Studio Code looks really nice but it suffers from (at least one) serious flaw: it does not work correctly when the target project is in a sub-folder.This means every "multi-project repository" in the world just flat out doesn't work. Especially mine, where the repository contains not only the schematic but also the firmware and a GUI application.I have attached a sample ZIP to this post which exhibits the issue. Extract both subfolders to a blank directoryIf you open "advanced-sample-cmake" from the root, everything worksIf you open "Subfolder" from the root then everything falls apartIrony is that "Subfolder" contains the exactly same files than the other. The "STM32Cube CMake build" extension says "Could not configure code indexing until an active project is set" and stops right there.Note that I can (somewhat) work around this issue by cloning my repository and then opening the subfolder in VS Code:The "git" extension really does not like this, a
It seems Azure® RTOS might be able to run on STM32MP135AAE3, the "Introduction to Azure RTOS with STM32" says "All STM32MP13x lines are covered by default by Azure® RTOS middleware within the matching STM32Cube MPU packages" but I'm having trouble finding any examples or "getting started" guides.
Hello there,I am trying to get my Nucleo WBA55 running with the new CubeMX 6.14 and the new MCU package 1.6.0.Generating a project with just the bare minimum BLE GATT Server application, CMake configuration.Importing into VS Code with extension 2.1.1, compiling "debug" version, I get several multiple definition errors.The file is included twice in the makefiles in two different sections it seems.[build] [86/86] Linking C executable LCU_Demo.elf [build] FAILED: LCU_Demo.elf [build] C:\Windows\system32\cmd.exe /C "cd . && C:\ST\STM32CubeCLT_1.17.0\GNU-tools-for-STM32\bin\arm-none-eabi-gcc.exe -mcpu=cortex-m33 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -mcpu=cortex-m33 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -mcpu=cortex-m33 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Wall -Wextra -Wpedantic -fdata-sections -ffunction-sections -O0 -g3 -mcpu=cortex-m33 -mfpu=fpv4-sp-d16 -mfloat-abi
I've inherited a custom board that contains (among other things) an STM32MP135AAE3, an eMMC, and an Ethernet controller (DP83826ERHBR). No SD card, no HDMI, no keyboard. For that matter, no JTAG (board error). I had thought about running Zephyr but it's looking like that's not currently possible (discussion here).The documentation for creating a Linux image for this chip seem to fall under two categories:1) If you are using one of the development kits, here are explicit step-by-step instructions that will make it a joy2) If not, here (thud) are the manuals for yocto, bitbake, repo, and really the entire Linux kernel. Read them all, digest them completely, and the answer will be obvious.Am I missing something? Are there instructions somewhere to help me create a Linux image? I don't need to become a yocto expert, I just need to create one Linux image one time.Thanks,Chris
The STM32MP135AAE3 board was designed incorrectly, they have pins for a JTAG but forgot to actually route them to the MPU. The eMMC is not going to have a first-stage bootloader on it, and it's looking like it's not possible to flash an SPL to the eMMC over USB alone? Management won't be happy to do another board spin but it's sure looking like that's the only path forward.
Hello,I have a Nucleo-L496ZG-P evaluation board that has a STM32L496ZGT6PU processor installed on.The processor has 2 CAN bus peripherals, and I would like to run an example that uses either of those.The STM32CubeMX has CAN examples, but not for STM32L, just for STM32F family.Could anyone recommend how I can import the CAN examples from the STM32F into the nucleo board.Thanks, D
Hello everyone, I am trying to get an IP for my controller using the DHCP i can able to detect the Link up and link down but i can't able to get the IP. I had refered the example code for the ethernet(lwip https server netconn rtos) But i can't able to integrate with my main code can someone please help to either identify the issue or help me to integrate the example code with the main file. Thank you.Output Of my code LWIP Stack InitializedDHCP Started...DHCP Task StartedLink Task StartedDHCP State Changed: 255 -> 6DHCP State: UNKNOWN (6)Ethernet Cable: CONNECTED DHCP Restarted
There is this errata for STM32G0B12.2.10 Prefetch failure when branching across flash memory banksDescriptionIn rare cases, the code prefetch may fail upon branching and function calls across flash memory banks,regardless of the DUAL_BANK and nSWAP_BANK option byte settings. The failing prefetch then provides anincorrect data to the CPU, which causes code execution corruption and may lead to HardFault interrupt.The workaround is obvious, either disable prefetch when jumping to code in the other bank and enable it again afterwards or use a small "trampoline" function in RAM. We can live with that, as our software is split into separately compiled "core" and "application" parts loaded into separate banks, having only a handful of interface functions there would be e.g. no jumps into library functions in the other bank. What about exceptions and interrupts, how are they affected? The ARM literature generally refers to loading the exception handler address from the vector ta
Hey!I have a ResNet model that I have deployed on my NUCLEO-N657X0-Q, and I want to run a training step on the board itself. I'm fine even with training just the last 1-2 layers of my model on a single sample, so that the memory on the board will suffice. Is the NPU itself capable of it? is there a assisting tool for on-board training? Is it more likely to succeed by using the ARM cpu for that?Thank you,Amir
H745 startup files are located in "CM7/Core/startup/startup_stm32h745xx_CM7.s" or "CM4/Core/startup/startup_stm32h745xx_CM4.s".However, the build source path for the startup files in the mx-generated.cmake in each core's folder is ". /Startup/startup_stm32h745xx_CM7.s" or ". /Startup/startup_stm32h745xx_CM4.s".Therefore, the cmake file must be changed to build.
Good afternoon, I am currently investigating the FHSS in the STM32WLE5JC chip. Using the STM32 SubGHz radio stackversion 1.3.1 I am unable to use any of the settings with LoRa. Enabling the FHSS and settingthe period does not change anything and the messages are transmitted as if this was omitted. It is my understanding that the radio IP is from Semtech, I cannot find much detail on if thehardware is based exactly on a Semtech board (i.e, SX1262) or a custom implementation. Back to LoRa FHSS have looked through the other forums and in 2020 an ST Employee saidit was not possible with the current stack, and in 2025 that it could be done(but the example provided was for LR-FHSS which uses a different modulation scheme GMSK). My questions:Is the STM32WLE5JC hardware comparable to a specific Semtech chip (so I can understand thelimitations)? Are the FHSS settings in the STM32 radio driver enabled for LoRa (it describesthe settings are LoRa specific)? Thank You!
generally i use cubemx choose cubeF1,but the hal driver in github is ahead of official website,for example lateset version of cubef1 is 1.8.6.however hal driver has updated later for bug fix. so if i want to use the newest hal driver,i need download form github,and replace it in local repository. it is ok?
Hello,Does the ST67W611M1 support BLE Multi Role? In other words, can the ST67W611M1 BLE operate as a central and peripheral simultaneously?Thanks,Matthew
HI,I´ve to design a solution with a custom 5 and 7 inch color displays for a more or less static graphics (just some values and maybe some charts).Which interface / MCU would you recommend? MIPI-DSI? Would be fine to have a quite small MCU (preferrable no BGA or WLCSP)Best regards,Achim
Hi everyone, I am working on an STM32G4 project using the HRTIM1 peripheral. My goal is to generate a burst of exactly 3 PWM pulses on Timer A and Timer B simultaneously, triggered by an External Event (Sync Input / EEV). The Goal: System waits for an external trigger (e.g., from TIM3 via TRGO or physical pin). Upon trigger, HRTIM Timer A and Timer B start. They output exactly 3 PWM cycles. They stop and wait for the next trigger (Single-Shot Retriggerable). The Configuration: I am using STM32CubeIDE and HAL, but I also tried direct register access. Master Timer: Acts as a dummy/pass-through for synchronization. Timer A & B: Mode: Single-Shot Retriggerable. Prescaler: Div1. Period: 1000 ticks. Repetition Counter: 2 (Targeting $N+1 = 3$ pulses). Start on Sync: Enabled. Reset on Sync: Enabled. Preload Enable: Disabled (To force immediate register update). The Problem: Despite setting REPxR = 2, I consistently see only 1 pulse on the scope when t
I have questions:Which C++ std used when building code in TouchGFX Designer? c++11, c++14, c++17?Which C++ std used when building code in MSVC simulator? c++11, c++14, c++17?Which c++ std ST used to verify and release TouchGFX?Can user change and modify the std? Any risk/ side effects to consider?
Hello!I'm working with the flexButton tool and wanted to change the color via eye-dropper. But once I turned on that option, I was unable to turn it off, I can't disable the color picker and it continously changes the color even after deselecting. Isolating the cause a bit I realized it only happens when I move my cursor off screen into another window and click, operating the tool normally (staying within touchGFX window) correctly turns off the tool after selecting. Just a bug I noticed,Thank you
Hello I have a problem compiling TouchGFX for Keil. My procedure:1/ Run TouchGFX Designer 4.252/ Create New project3/ Go to tab – By Partners – select board Riverdi STM32 121STM32H74/ Click to Create5/ Add Button ( for example)6/ Click Generate CODE7/ Go to project Folder and open ioc file Riverdi_121STM32H7_1_6.ioc STM32CubeMx v6.58/ Go to tab Middleware and Software pack Select FreeRTOS M7 Select tab Advanced settings USE_NEWLIB_REENTRAND ← disable !!! ( for keil it must be turned off )9/ Go to project manager Switch toolchain IDE to MDK keil 10/ Save and Generate CODE11/ After generate code by STM32CubeMx I'm going back to Touchgfx Designer and click generate code again TouchGfx generate code for keil.12/ Run project in Keil13/ Go to Option for target Go to tab OUTPUTand uncheck Browse information14/ Project build target15 / Keil linking problem Not enough information to list image symbols.Not enough information to list load addresses in the image map.Finished: 2 information, 0
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.