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 am working with the STM32H7S78-DK board.With STM32CubeMX 6.16.0, I open the provided board project STM32H7S78-DK.I am surprised about the assignment of the SPI4 pins:MX project SPI4 Pin Name:PE6 = SPI4_MOSIPE12 = SPI4_SCK PE13 = SPI4_MISObut uses the real hardware boardPE14 = SPI4_MOSIPE12 = SPI4_SCK PE13 = SPI4_MISO
I am using STM32WB55 and entering STOP2 mode for low-power operation.RTC Wakeup timer is configured, and the interrupt works correctly in RUN mode,but the MCU does not wake up from STOP2 mode when the RTC wakeup interrupt is expected.Configuration:- RTC enabled using LSE- Wakeup timer configured with WUT- MX generated code + custom low power entry- NVIC enabled for RTC WakeupTried:- Ensured RTC interrupt flag is cleared before entering STOP2- Enabled DBG and checked if STOP2 entry works- Checked PWR->WUPEN / PWR_SCR flagsStill, the MCU does not wake when RTC WUT expires.Any suggestions or known STM32WB55 issues related to STOP2 + RTC Wakeup?__PRESENT__PRESENT
Hi,I'm using STM32H7 dual core, where the data has to be shared between the cores, so im having totally 21 variables totally 76 bytes, thought of do it like a structure, so where to place the structure exactly for this data sharing. so, this structure should be placed in any linker file of one of the cores or where?if so, thus we have to keep the structure in both the core or whatwhich method is a fastest wat to share the data, like a ring buffer, HSEM.if we use HSEM, we can use that structure or access outside, before calling the HSEM TAKE, or structure values should be assigned only inside after the HSEM TAKEOVER. regards,srinath
Regarding the STPS5H100AF, the datasheet states that the storage temperature is -65 to 175°C, but there is no mention of the operating temperature.What is the operating temperature?
Hi,Recently, updated to 6.16.1 on Linux.On a fresh project i get the "misconfiguration warning" when i hit "GENERATE CODE" (I use CMake Toolchain). See Screenshot: There you will see simple config for RCC. Got a "green check" symbol but i always get that Warning.On the second Screenshot, I have changed OCTOSPI settings, and it will add itself to the Warning list. I can extend the warning list by just changing any settings. Maybe I really misconfigured something, but I don't see it.I guess it is a bug - I can generate the code, but this Warning might mask real configuration issues in the future.Thx
CubeIDE, STM32H747I-DISCOFor some reason my build keeps failing to find the adv7355.h even though the header is clearly in the project space & other headers with that path are found, see picture below. Anyone any clue why this is happening?w,
I have a situation where a USB endpoint stops working due to a control packet being NAKed in the handshake phase. I've traced the problem down to the STM USB stack setting DCTL.SGONAK = 1 in response to an INCOMPISOOUT event, yet in the case when it fails, no global OUT NAK status notification appears in the RxFIFO and the GINTSTS.GONAKEFF interrupt status never occurs. However, the DCTL.GONSTS bit does change from 0 to 1 after SGONAK is set.Yet, according to the reference manual for the STM32H757 (RM0399 Rev 4, page 2908):Setting the global OUT NAK Internal data flow:When the application sets the Global OUT NAK (SGONAK bit in OTG_DCTL), the corestops writing data, except SETUP packets, to the receive FIFO. Irrespective of thespace availability in the receive FIFO, non-isochronous OUT tokens receive a NAKhandshake response, and the core ignores isochronous OUT data packets.The core writes the Global OUT NAK pattern to the receive FIFO. The application mustreserve enough receive FIFO sp
English belowPlusieurs problèmes avec X-CUBE-FREERTOS.1.2.0 , 1.3.1 , 1.4.0 et suivant (MDK-ARM) :1) Si je ne met pas TOTAL_HEAP_SIZE à au moins le double que nécessaire, les dernières taches déclarées dans CubeMx ne sont pas exécutée . Aucune alerte n'est générée.2) En changeant de version de FreeRTOS, je perd toute mes Taches, Mutex, Queues, ... mises dans CubeMX3) X-CUBE-FREERTOS.1.4.0 me créer les Queue comme cela :QueueTestHandle = osMessageQueueNew (20, sMessage, &QueueTest_attributes);Au lieu de :QueueTestHandle = osMessageQueueNew (20, sizeof(sMessage), &QueueTest_attributes);Avec uint16_t, tout est Ok.---------------------------------------------------------------------------------------------------Several issues with X-CUBE-FREERTOS.1.2.0, 1.3.1, 1.4.0 and later (MDK-ARM):1) If I don't set TOTAL_HEAP_SIZE to at least double what is needed, the last tasks declared in CubeMx are not executed. No alert is generated.2) Changing the version of FreeRTOS causes me to lo
Hi everyone,we applied the ST FWU reference solution on our own platform based on the STM32MP157F.The solution was taken and adapted from the ST Yocto layer meta-st-ota (https://github.com/PRG-MPU-CUST/meta-st-ota).We have a few questions to clarify the default behavior:What is the default behavior in the early boot stage Do we understand correctly that fsbl1 and fsbl2 are intended to contain identical TF-A images for fail-safe purposes, and that the ROM looks for the first valid FSBL (starting from fsbl1) and loads it?Rollback behavior at ROM / TF-A layerIs it correct that there is no FWU rollback concept implemented in ROM / TF-A itself?I.e. fsbl1 is not treated as part of a bank like [fip-a, bootfs-a, rootfs-a], but instead the two FSBL slots are only there to allow a second try to load the same TF-A version from fsbl2 if fsbl1 fails?Updating TF-A over-the-airIf we decide to update TF-A via OTA (with RAUC and the ST FWU solution), do we understand correctly that:TF-A needs to b
Hi ST Community,I am encountering a specific issue with the LSM6DSO configured in FIFO Mode with the Sensor Hub (Master I2C) active.Hardware Setup:IMU: LSM6DSO (SPI to STM32).Slave Sensor: LIS2MDL Magnetometer connected to LSM6DSO via I2C (Sensor Hub mode).I2C Bus: Standard 100 kHz. External pull-up resistors are populated on the PCB (in addition to the internal ones enabled via configuration).Configuration:ACC ODR: 6667 Hz (High Performance).GYRO ODR: 6667 Hz (High Performance).MASTER_CONFIG: 0x4C (Write Once + Pull-Up Enabled + Master On).FIFO: Streaming Mode (storing Acc + Gyro + Slave0 Mag).The Issue: When I enable both Acc and Gyro at 6667 Hz, the FIFO gets populated almost exclusively with Accelerometer and Magnetometer data. The Gyroscope data is missing or appears extremely rarely (effective rate ~6 Hz instead of 6667 Hz). The Accelerometer works perfectly (full 6.6k sample count).However, if I lower the ODR to 3333 Hz, both Acc and Gyro work perfectly and are synchronized.Hypo
HI ST TEAM,Relevant code here:https://github.com/WHMJJ/-STM32H753-st67w61-Project-Middleware Integration ConflictI am integrating the ST67W61 Command Line Interface (CLI) Middleware into an STM32H753 project generated by STM32CubeMX. This integration is currently blocked by two critical linking errors stemming from version mismatch and incomplete project generation.1. FreeRTOS Version Mismatch (Mandatory V10.6.0 API Missing)The ST67W61 CLI examples explicitly require FreeRTOS V10.6.0 for essential API functionality.My Environment: STM32CubeMX (using STM32CubeH7 FW Package) provides FreeRTOS V10.3.1.Error Symptom: The linker fails with an undefined reference for the V10.4.0+ indexed task notification functions, which are vital for communication within the CLI module:undefined reference to 'xTaskNotifyGiveIndexed'undefined reference to 'ulTaskNotifyTakeIndexed'Impact: Since the V10.3.1 kernel lacks the implementation of these functions, I cannot proceed with the CLI module's initializati
Hi!EDIT: WARNING! This is no real fix... The bug remains...With STM32Cube_FW_F2_V1.9.0 and CDC's /dev/ttyACM0 I had funny glitches on VoidLinux, when i tried full duplex communication (host<>device):some packets never arrived at the USB hostsome short packets had their first 4 byte twiceDeepSeek suggested to choose different endpoints for data in and out... like this:#define CDC_IN_EP 0x81U /* EP1 for data IN */ #define CDC_OUT_EP 0x02U /* EP2 for data OUT */ #define CDC_CMD_EP 0x83U /* EP3 for CDC commands */it seems like those glitches disappeared now... Or i did not dare to test it hard enough...Why is CDC_OUT_EP 0x01U by default, although DeepSeek thinks, that the STM32F207 hardware cannot cope with that, because IN&OUT stream share somehow the same hardware elements, if they are configured for the same endpoint?It was easy to fix, after i found Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc/usbd_cdc.h , but i wonder now, if i really found the bug...Seems like
Hello, I try to get data from a X-NUCLEO-53L8-A1 board connected to a Nucleo board and visualize it in my computer. If I use the VL53L8CX Gui and connect my COM port and click on the start button, it is working well. However, I would like to get data outside of the app (ex: Tera Term or python script) but I do not have data available. I suppose that the sensor/board is waiting for "start" but I can not find any documentation on the subject. Can someone help me on the subject ? Best regards
I am trying to update a text area called textTestArea with a string and I want to be able to format the string with a newline character. Ex "I went to the store \n to buy food" I created a texts called genericText that uses a default font that has wildcard range 0x00-0xFF , I also tried having range 0x20-0x7e and wildcard character 0x0A (/n)here is the text and typography: Here is the screen with text area:in baseview.cpp it creates: textTestArea.setPosition(397, 26, 237, 55); textTestArea.setColor(touchgfx::Color::getColorFromRGB(0, 0, 0)); textTestArea.setLinespacing(0); Unicode::snprintf(textTestAreaBuffer, TEXTTESTAREA_SIZE, "%s", touchgfx::TypedText(T_GENERICTEXT).getText()); textTestArea.setWildcard(textTestAreaBuffer); textTestArea.setTypedText(touchgfx::TypedText(T___SINGLEUSE_E1ZC)); add(textTestArea);So now in my view.cpp: static const uint16_t TEXTBUFFER_SIZE = 64; Unicode::UnicodeChar textBuffer[TEXTBUFFER_SIZE]; U
Hello, I have multiple VL53L0X sensors that I am communicating with over an STM32 board. Two of the sensors started throwing errors (only reading 8191), and so I moved them to an Arduino for the flexibility of using the downloadable API. They worked perfectly fine on the Arduino, so I am wondering what the issue with the STM code might be. I am using the following repo: https://github.com/MarcelMG?tab=repositoriesalong with i2c code that I wrote because I have a different stm model, but don't see that being the problem. Any help would be appreciated!
Hi everyone,I tried implementing tickless idle on my STM32H7 CM7 core following a tutorial I found: https://www.youtube.com/watch?v=hVlpf1Rm4QoI suspended the tick (TIM6) and set up LPTIM as the wakeup source.However, I noticed that my core wakes up every 41 ticks, even though my ONLY task is delayed by 2000 ticks. It seems like the core is being woken up prematurely, and ulExpectedIdleTime is only 41 instead of 2000.Does anyone know why tickless idle is not sleeping for the full expected duration, or what could be causing these frequent wakeups despite SysTick being disabled?Pre Sleep fuction:__weak void PreSleepProcessing(uint32_t ulExpectedIdleTime) { /* place for user code */ HAL_GPIO_WritePin(LED_1_GPIO_Port, LED_1_Pin, GPIO_PIN_SET); //printf("[CM7][PreSleepProcessing]entered PreSleepProcessing!\r\n"); HAL_SuspendTick(); //suspend SysTick Timer HAL_LPTIM_TimeOut_Start_IT(&hlptim1, 0xFFFF, ulExpectedIdleTime); // enable interrupt from low power timer }And Post funct
I have performed crosstalk calibration of VL53L7CX ToF sensor using a 0.2 mm thick polycarbonate cover glass. I had used a sheet of white paper (assuming 80% reflections) placed at 600m as reference surface & 4 samples were used for calibration. The calibrated sensor's accuracy was tested using a similar setup but with reference surface at 400 mm. The distance values observed in the 64 zones ranged from 396 to 426 mm. The standard deviation of the distance values were in the range of 2.2 to 4.5 mm. The heatmap of the zones also looked uniform. But when I mounted the sensor in an enclosed space (around 1m X 1m X 1.5m) upside down pointed towards my objects of interest, I'm observing some random ghost detection in some of the zones. There are no objects in these zones at distances given by the ghost detections. But there could be objects/surfaces in nearby zones. Also, these ghost detections were not present when I did the same experiment
I want to train some small DL models with Nvidia's RTX 50 series GPU, which can work properly only with CUDA 12.x. I've learned that the CUDA 12.x is only compatible with ONNX Runtime 1.17.x or newer version. So I want to know if the X-CUBE-AI 10.2.0 support ONNX Runtime 1.17.x or newer version? If it can, I would like use the X-CUBE-AI 10.2.0 to deploy my DL models on the STM32 MCUs.
CNC material affects EMI, thermal dissipation, and grounding.I found this CNC material selection guide helpful:https://www.justway.com/blog/CNC_Machining/How_to_Choose_the_Perfect_Material_for_CNC_Machining_A_Comprehensive_Guide_fb9e953e.htmlHow do you select materials for STM32 enclosures?Do you consider heat spreading for high-load MCUs?Which materials reduce noise in mixed-signal designs?Any lessons from industrial STM32 products?”
Hii,I am working on a custom board based on the STM32MP257FK3 SoC. For initial bring-up, I am currently using a Linux/bootloader build that was generated for the STM32MP257F-DK reference board.On my custom hardware, the DDR memory has been changed from LPDDR4 (used on the DK board) to DDR3. While reviewing the STM32MP25 software stack, I noticed that the DDR type impacts not only the DDR controller configuration but also the PMIC voltage settings, which differ between LPDDR4, DDR3, and DDR4 designs.I would like clarification on what software changes are strictly required to make DDR3 work correctly on a custom STM32MP257F board.Specifically, I would like to understand whether supporting a different DDR type requires only Device Tree changes, or if bootloader and driver-level changes are also needed. Also, since DDR type affects power requirements, I would like guidance on the PMIC configuration changes required for DDR3. I want to understand which voltages need to be modified, whe
OS : Ubuntu 24.04 LinuxTarget MCU: STM32F103CI'm new to using STM32CUBEIDE I have noticed when i created the C/C++ project and chose the target MCU something off maybe that is the issuefind the photo down below.I have added an app directory only app/|- main.c|- inc |- main.h both files are empty i did not write anything yet just a main function that returns 0 and when i build it says "Error: Cannot find the specified linker script. Check the linker settings in the build configuration.make: *** [makefile:85: fail-specified-linker-script-missing] Error 2" is there something I should configure? or am i missing something?
Hello everyone,I am currently migrating a project from a Newhaven ATXL series display to their newer ASXP series (both 4.3", 480x272 RGB interface) on a custom board based on the STM32F767.I am trying to isolate the root cause of severe color artifacts I'm seeing, specifically whether this is a Software configuration issue, a signal integrity issue on my Custom PCB, or a potential hardware defect in the display panels I received.The Situation: I have configured the LTDC timings strictly according to the new ASXP datasheet. However, the image is unstable and has artifacts.The "Hot-Swap" Verification: To troubleshoot, I performed a live test to rule out my PCB connections:I initialized the STM32F767 with the new ASXP LTDC settings.Connected the new ASXP screen -> Result: Artifacts/Noise.While powered on, I swapped it with the old ATXL screen.Result: The old ATXL screen works perfectly even when driven with the new ASXP timings.Video of the test:My Question: Since the old screen works
Dear Sir,I am currently using the STM32 NUCLEO H723ZG board with the X-CUBE-ST67W61 expansion. I want to transmit the ADC values from the STM32 board via Wi-Fi. I attempted this using a trial-and-error method but was unsuccessful.Could you please guide me on how to achieve this? I am completely new to working with X-NUCLEO boards.I am sharing my code for your reference. Kindly take a look.Thank you,
Hi,I'm trying to work with the STM32N6. I have a NUCLEO-N657X0-Q board.When I use an external debugger via CN1 everything is fine, however I am experiencing a lot of trouble with the ST-Link.It seems like there is a small (0.01%) chance that attempting to access memory will cause the device to lock up.An example of the sort of command that gets sent to the ST-Link is: `[0xf2, 0x07, 0xfc, 0xff, 0x00, 0x34, 0xcc, 0x35, 0x01]`. That is, a simple command to the ST-Link to read or write memory.I am doing this as part of an attempt to implement support for the STM32N6 for probe-rs, however the problem seems to occur even when using ST tools. For example, the following has a good chance of locking up:./STM32_Programmer_CLI \ -c port=swd \ -r32 0x34000000 32768 \ -r32 0x34000000 32768 \ -r32 0x34000000 32768 \ -r32 0x34000000 32768 \ -r32 0x34000000 32768 \ -r32 0x34000000 32768 \ -r32 0x34000000 32768 \ -r32 0x34000000 32768 \ -r32 0x34000000 32768 Once the ST-Link has locked u
Hi - I'm about to start in on a new motor control application using ST Micro products. Can anyone suggest what a reasonable range of speeds I might be able to get good velocity control over? This will be a sensored application with high resolution encoders. Maybe 4K-16K counts per revolution. For example, If the maximum motor speed is 4000 RPM will I be able to maintain good speed control down to 400 RPM? 40 RPM? 4 RPM? "Good" speed control might be +/- 5% or so. And the load changes will be small, probably less than 20% or so.Thanks
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.