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
Hello, I'm having troubles building the two projects of the STM32 Nucleo WL55JC1 belonging to the LoRaWAN End Node DualCore Example under Linux (Ubuntu 24.04). It works on Windows 11, though.Until now I have all projects developed on Linux, this is my preferred OS. The single core version of the LoRaWAN End Node works perfectly under Linux.When I try to compile the project for the CM0PLUS, I get this error:arm-none-eabi-gcc -z max-page-size=1 -o "LoRaWAN_End_Node_DualCore_CM0PLUS.elf" @"objects.list" -mcpu=cortex-m0plus -T"/home/bgoedel/STM32Cube/Repository/STM32Cube_FW_WL_V1.3.1/Projects/NUCLEO-WL55JC/Applications/LoRaWAN_FUOTA_DualCore/LoRaWAN_End_Node_DualCore/STM32CubeIDE/CM0PLUS/STM32WL55JCIX_FLASH.ld" --specs=nosys.specs -Wl,-Map="LoRaWAN_End_Node_DualCore_CM0PLUS.map" -Wl,--gc-sections -static -L../../../../Linker_Common/STM32CubeIDE -L../../../../2_Images_SBSFU/STM32CubeIDE/CM0PLUS/Debug --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Dear ST Team,I am using an STM32H5 series microcontroller in my design and I am trying to understand the overall power consumption contributed by different MCU interfaces.So far, I have identified the following:The typical maximum current on VDD, in VOS0 condition with all peripherals enabled, at 85 °C, is approximately 118 mA (based on STM32H5 datasheet values).My Question:I tried to find similar information for the VDDIO supply pins.However, the datasheet only provides peripheral-wise consumption in µA/MHz, which appears to apply to low‑power (sleep) modes, not active RUN‑mode.I want to calculate the VDDIO current consumption for my specific design configuration.My active interfaces are:16‑bit SDRAM on FMC, operating at 166 MHzQSPI Flash memorySPI interfacesUART interfaces4 ADC channelsApproximately 50 GPIO pinsThe MCU is operating at 250 MHz (VOS0) in RUN mode.Thank you.Regards,Rajesh Matere
Hi all, I am trying to get a zephyr project running on an STM32N6570-DK, including Camera, NPU, VENC and Ethernet.I have been using STMCubeMX 6.16.1 to create the project based on the provided DK default settings.For the Ethernet block, the configurator shows pin conflicts, I double-checked and the pins are not in use by the Ethernet driver:There are similar warnings for the SD/MMC2 block:Am I missing something here or can it safely be ignored? Simon
Hello ST Community,I am currently designing a board based on the STM32WL55 and I am aiming to optimize the BOM by utilizing the MCU's internal programmable high-speed capacitors, avoiding external load capacitors for the 32 MHz HSE.I am referencing AN5646 ("How to select a 32 MHz HSE oscillator for STM32WL5x/Ex MCUs") to ensure correct implementation. The Application Note suggests inserting a series capacitor (C_SERIE) to enhance stability over temperature changes when using the internal capacitor bank.However, I am having trouble understanding the derivation of the formula provided in the document regarding the final Load Capacitance (CL) seen by the XTAL when this series capacitor is introduced.My specific question is:Intuitively, I would expect the total load capacitance to be the result of the series combination of the added C_SERIE and the equivalent capacitance usually seen by the crystal (which is the series combination of the internal caps, CL1 and CL2 plus stray capacitance C_
https://community.st.com/t5/others-stm32-mcus-related/ov7670-stm32f429-dcmi-dma-ili9341-spi-lcd-works-no-camera-image/td-p/864331#M9012 I am trying to display a camera image on an LCD using the STM32F429I-DISCO board, an OV7670 camera module, and an ILI9341 display.↑This is a follow-up to my previous post. However, the displayed image is extremely blurred, and it is difficult to recognize what is shown on the screen.What should I check or adjust to display the image clearly?
When using a USB CDC device, especially at high data rates, there is a possibility for packet loss. This post illustrates the issue with what I consider convincing evidence. This isn't a STM32 bug, but it's something you may encounter when interfacing with an STM32 device so I felt it is relevant here. As a bonus, this also shows the achievable speeds with USB FS CDC to be ~9.2 Mbps under ideal circumstances (fast, good code on both sides of the connection). Here's the setup to illustrate the issue: On the STM32, I'm initializing a USB FS CDC device (sometimes also called a VCP) and sending out packets as fast as possible. The bus speed of USB FS is 12 MHz. Buffers of 16 kB are sent which contain increasing uint64_t values (e.g. 0x0000000000000000 0x0000000000000001, etc...) When one buffer finishes, the next one is sent out. (I used STM32CubeMX to do the initialization code and it worked perfectly.) On the PC side, I'm opening the serial port in Python and reading data
Hello,At my workplace, we have purchased two STM32N6570-DK boards to implement our computer vision models. We are currently trying to implement the "st_yolo_x_nano 480x480x3" model from the ModelZoo. We followed these two links, strictly respecting the versions indicated for both STM32CubeIDE and STEdge: How to run AI models from Model Zoo on STM32N6 Introduction to Edge AI on STM32N6 (This second link uses STEdge 2.2, as per the reference). The Issue: Every time I attempt to debug, the same thing happens: the program enters a HardFault_Handler(). This occurs due to an invalid/null pointer error returned by the function LL_ATON_Output_Buffers_Info() in buffers_info[0].scale. The error happens specifically when it reaches line 36 of the code. According to the debugger, it cannot access memory at address 0x0. Technical Details:Configuration: The app_Config.h file being used is the one provided in the ModelZoo. /** *******************************
Good evening, now that I can ping my F767ZI board with my laptop, I'm trying to use some tutorials on the web to be able to send data (numbers or message strings) to a server (Hercules software set as a TCP server), but I'm having some difficulties (I don't know whether to use semaphores or timers as interrupts, and for semaphores, it's not entirely clear to me how to use them). I'm wondering if there's a short guide for my board that can give me a starting point. I'm using CUBE IDE V1.18.1. I tried starting from the project that allows me to ping my board, but as soon as I try to make some changes, the ping no longer works, and the timer set as an event interrupt doesn't work anymore, so I would need a tutorial as an example (the tutorial I followed successfully had a UDP library, but now I'll have to use the TCP libraries I already have, but I'm having some difficulties). Here below the code that I used for start point and that is give to me the way to ping my board succesflul
Dear ST Community Team,I am working on a project using the STM32N657X0H3Q1 MCU with TouchGFX for GUI development.After configuring TouchGFX and generating the code, I am encountering RAM and ROM overflow errors during the build/link stage.Hardware configuration:MCU: STM32N657X0H3Q1External RAM: S80KS5123GABHB020External Flash: S28HS512TGABHM0100Both the external RAM and external Flash are connected externally on the board and are intended to be used for the TouchGFX application.Issue description:After TouchGFX configuration and code generation, the linker reports errors such as:Internal RAM overflow (data/bss/heap/stack)Internal Flash (ROM) overflow due to TouchGFX assetsIt appears that TouchGFX frame buffers, heap, or graphic assets are still being placed in internal RAM/Flash, instead of using the available external RAM and external Flash.Questions / support needed:How should external RAM (S80KS5123GABHB020) be configured so that:TouchGFX frame buffersHeap and large buffer are alloca
Hi, In the STM32WL5MOC datasheet I can find the 32MHz TXCO HSE accurancy, but not the LSE 32kHz RTC clock accuracy. Could someone look into this and provide the min/max values similar to TXCO characteristics in Table 10? Best Regards,Dave
Installing STM32CubeMx on OpenSuse Tumbleweed using/st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.rpm_bundle.sis missing libusbxsudo ./st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.rpm_bundle.sh [sudo] Passwort für root: Creating directory st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.rpm_bundle.sh.root Verifying archive integrity... All good. Uncompressing STM32CubeIDE installer 100% Verifying... ################################# [100%] Preparing... ################################# [100%] package segger-jlink-udev-rules-6.44c-4.noarch is already installed error: Failed dependencies: libusbx >= 1.0 is needed by st-stlink-server-1.2.0-3.amd64 Verifying... ################################# [100%] Preparing... ################################# [100%] package st-stlink-udev-rules-1.0.2-2.noarch is already installed error: Failed dependencies: st-stlink-server is needed by st-stm32cubeide_1.1.0-1.1.0-4551_20191014_1140.x86_64libusbx is not available for OpenSuse. On https://so
Hi everyone,I am currently trying to measure the CPU temperature using the internal temperature sensor of an STM32F733.I am testing the device inside a climate chamber (oven) to verify the readings. I am fully aware that the datasheet states the sensor is more suitable for detecting temperature variations rather than absolute measurements. However, the values I am getting seem to have a significantly larger offset/gain error than expected.The Setup:MCU: STM32F733Method: To rule out self-heating of the die, the device is kept powered OFF inside the oven until the target ambient temperature is reached and stabilized. I then power it on and immediately take the ADC measurement.Vref+: Connected to external reference voltage (2.048V).The Observations:Oven at 60°C -> MCU calculates 68°COven at 80°C -> MCU calculates >90°CMy Question:Is an error of this magnitude (>10°C at higher temperatures) considered "normal" for the internal sensor of the F7 series, even when using the factor
Hi,I am looking to use the STM6710DWB6F as a quad-channel voltage supervisor, specifically for 3.3V, 5V, 6V and 12V rails. The datasheet specifies V1IN = 5V, V2IN = 3.3V, V3IN = 1.8V, and V4IN = adjustable. It seems obvious use V1IN and V2IN directly, while feeding either 6V or 12V through a voltage divider to provide 1.8V into V3IN. However, I am uncertain how to use V4IN to monitor the remaining voltage. The datasheet states a typical threshold voltage of 0.62V at this pin and to use a resistor divider to modify this value. However, will this affect V1IN-V3IN? Any help in understanding V4IN and the effects of setting threshold voltages would be greatly appreciated.Thanks,Brendon
I was making a project with CUBE IDE and compiling it on the board, and I got this error while compiling the project I was doing on the new board.No source is available for "Call Signal Handler"() in 0xfffffffe.I'm sure they're using the same CPUI can't compile it because it's STM32 ST-LINKI don't think there will be any problems with the code or MX settings because if I modify the code on the existing board, the project will also change well.Even if I create a new project and add the above code, I get the same error, so I can't compile itI want to solve this phenomenon, how do I solve it? int main(void) { /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MPU Configuration--------------------------------------------------------*/ MPU_Config(); /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); /* USER CODE BEGIN Init */ /* USER CODE EN
Hello, i am using a stm32f103 mcu to provide rtc functionality. I am using a external crystal of 32768 hz for the rtc block.The crystal is rated at 6pf load. +/- 20ppm PN: QT1C-32.768KDZB-T Apart from this i have also implemented a external gps module to provide a "reference time" via uart.Upon power on, the mcu configure the rtc counter with values for hours,minutes,seconds taken from the the gps, then i just display them on a lcd.My problem is the time drift on the rtc when comparing the time from the gpsFor example, after 10 hours of functionality, my rtc clock drifts with 7-8 seconds when compared with the gps time. I have tried to measure the rtc clock on the tamper pin, and here things start to show upThe measured frequency on the tamper pin ( PC13) is 512.295hz.this is giving a huge ppm diference of about 576 ppm. I have tried with several i
Good morning, I need to send data using UART to a board with a specific delay between single elements, which I obtain as I'm using LABVIEW, but on the board said specific delay is not obtained, and worst of all the delay between datas is not constant. I figured there would have been some additional delay, but is there a way to decrease it or at least make it constant? or is it intrinsic to the UART technology? Thx all
Good Morning, I'm struggling with FDCAN Bus Recovery. The system we have to use consists of an STM32H753-based board and a 3rd party ECU, which is internally terminated via software. Our custom board is also terminated, resulting in the correct 60 Ohm between CAN Hi & CAN Lo. In the event I add an additional termination resistor to the Bus, the power-up sequence doesn't matter, however the bus is the over-terminated, which is obviously not correct. I can, however, see the custom board initially blurting out a CAN frame as fast as it can before the other ECU has finished powering up, and then normal CAN comms is seen on PCAN (the PCAN has been configured to not send any Acks). However, if I leave the bus as it is, it looks like the bus from the perspective of the custom board just turns off. I can see the 3rd party ECU splurging out one of its' messages as fast as it can, however our board should be seeing this message and transmitting Acks etc. I have implemented the Bus-Off
Hi there,I have been struggling with the PSRAM. I bought the STM32H7S78 board to pick up the know-how to understand how I should configure the PSRAM at XSPI1 via the EXT MEM manager at my own board. My clock speed is 200MHZ XSPI. PSRAM MPN: APS6408L-OBMX-BAMCU type is slightly different (STM32H7R7L8H6)For sure, I connected the programmer to configure the sbs since the VIO is 1.8V. What I missed from the HW was that I forgot to add the pull-up resistor at the CE pin. Note: I desoldered from the original ST board to check the behaviour and did not influence its behaviour. The reset is connected to the NRST by a diode. Note: Checked the connections, footprints. GND is on the mid1 layer and all of the connections are on the top layer. The length is less than 14mm and the distance between the track are usually 0.2~0.25mm.So all in all, I excluded the HW errors. Note: I bought the same PSRAM as on the ST board and I can use those configs after all. However, before I desolder t
Subject: Critical issue: Board damage during EEPROM emulation write with MCSDK (STEVAL-IHM045V1 + STM32F303)In Hello Experts,I am working with STEVAL-IHM045V1 power board and STM32F303 evaluation board, running MCSDK (FOC, PMSM, dual motor).Mcsdk 6.41Current control approachI am using ProgramTorqueRamp() instead of ProgramSpeedRamp() because speed mode causes audible noise and instability at low speeds.Motors run normally under wall control.Wall control uses 1-wire USART-based communication customized.User sets a PWM-like value from wall control, which I map to a torque reference. By calling Mcacknowledge(); ProgramTorqueRamp(torque_ref, 4000); startmotor(); in the while loopTarget - The user-selected pwm value must be stored using EEPROM emulation (Flash write). Example user can set any pwm, in Speed 1 pwm 25 , speed 2 pwm 45, speed 3, pwm 65 , speed 4 pwm 75, speed 5 pwm 100Critical problemWhen I attempt
Hi,Could you share documentation or examples for running quantized foundational models (e.g. Google Gemma) on the STM32MP257F-DK—first in Python, then in C/C++ using the STM32MP2 NPU? Specifically:Does the STM32MP2 NPU support transformer-based architectures, or is it limited to CNNs (like the STM32N6)?Which inference frameworks are supported for GenAI on this platform? does this NPU ported by ST for llama.cpp ?Sorry, couldn't find required info from STM32 MPU wiki pages.Thanks!
I am using B-G473E-ZEST1S + STEVAL-LVLP01 + R57BLB50L2 in HSO configuration. Whenever I start the motor I can observe LED1 on STEVAL-LVLP01 is turning ON for few ms. Though motor is starting and running successfully. But I need to understand why I am getting Driver Fault from STDRIVE101 IC (TIM8_BRK2) at startup. Can I eliminate this with correct configuration? Attached MotorControl Workbench project and MotorPilot snapshot for reference.
Hello.Forgive me for what might be an incredibly "noob" question, but i'm not ashamed to admit that I am, in fact, a noob.I've been trying and failing and trying and moderately succeeding over the last few days using NanoEdge AI Studio creating an audio classification model.I'm using an Arduino Uno R4 Wifi. I also have a MAX4466 connected to A0, GND, and 3.3vMy entire process up until now.1. Get a sketch running on my arduino which simply does a micValue = analogRead(A0) in a loop for 1024 times. For each read, i so a Serial.print(micValue); Serial.print(" "). After 1024 of those, I do a Serial.println("") to go to the next line.2. With that running on the Arduino, I opened NanoEdge Studio, created my project, recorded a bunch of signals of background_noise, silence, me speaking and another sound that i want to classify. It's not a HUGE dataset, only a couple of minutes, but i'm increasingly adding more to each Class.3. I ran the benchmark.4. The benchmark produ
I have experience with PIC and AVR microcontrollers, but they lack the good debug features of the STM8 series. Furthermore, these microcontrollers aren't cheap. While looking for simple and inexpensive chips, I keep coming across the STM8 series.Mastering a new microcontroller takes time. I'm confused about learning the STM8 because STMicroelectronics is recommending their STM32 series, which uses the ARM Cortex-M core. This recommendation makes me wonder if investing time in the STM8 is a good idea, or if it would be better to learn the more widely-supported and future-proof STM32 family.
drag and drop error I have a Mac Pro M4 with Tahoe 26.2 OS, STM32CubeIDE version 2.0.2, and I am having trouble selecting and copying a selection of lines. I tried several tests and that option disappeared. If I am comparing two files, dragging and dropping text works perfectly. Is there any notification about this? Is there a solution? Thank you. Post edited by ST moderator: This post has been translated from Spanish to comply with the ST Community guidelines. Please use English language as it's an international community and to let others to understand your post. Thank you for your understanding
Using:VSCode version: 1.107.1 on Windows 11.STM32CubeIDE for Visual Studio Code version 3.7.0.I created STM32N6 project that builds two targets: FSBL and Application. I follow the instructions here: https://community.st.com/t5/stm32-mcus/how-to-debug-the-stm32n6-using-vs-code/ta-p/833499.clangd contents:CompileFlags: Add: - '-ferror-limit=0' - '-Wno-implicit-int' CompilationDatabase: Appli/build Diagnostics: Suppress: - unused-includes - unknown_typename - unknown_typename_suggest - typename_requires_specqual If: PathMatch: Appli/.* --- CompileFlags: Add: - '-ferror-limit=0' - '-Wno-implicit-int' CompilationDatabase: FSBL/build Diagnostics: Suppress: - unused-includes - unknown_typename - unknown_typename_suggest - typename_requires_specqual If: PathMatch: FSBL/.*.vscode/c_cpp_properties.json contents:{ "configurations": [ { "name": "STM32_Appli", "compileCommands": "${workspaceFolder}/Appli/build/compile_commands.json" }, { "name": "STM32_FSBL",
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.