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 on an STM32F746-based project. I know how to port ThreadX to this board, and I want to use the ThreadX source available on GitHub. My question is about integrating ThreadX with TouchGFX. Specifically, I want to understand: What steps are needed to make TouchGFX run on top of ThreadX? Do I need to modify the TouchGFX-generated code or middleware when using ThreadX from GitHub? How should I create and manage the TouchGFX task inside ThreadX? What is the recommended project structure for combining STM32F7 + ThreadX (GitHub version) + TouchGFX? Are there any example projects or references for this integration? Any documentation, sample projects, or practical guidance would be very helpful.
I assume that in the truth table in page 14 of DS14758 Rev 2:The low & high values in the final column should all be shifted down by one. i.e.nRSTIN+IN-GOUTLXXLOWHLLLOWHHLHIGHHLHLOWHHHLOW
Hello,I am using the Nucleo STM32WB55 board and noticed that when I press the user button, the interrupt service routine (ISR) is triggered only after about 3.5–4 seconds. This delay occurs even before reaching the callback function — the ISR itself is reached late.I have not initialized or configured any BLE stack functionality; this is just a basic GPIO interrupt setup. I have also used other Nucleo boards and never experienced this kind of delay.Has anyone else encountered this issue or found a solution?Thanks,Shreyas
Hello,I would like to know if there is a planned release date for STM32H7 support with MbedTLS v3.Thank you.
Hello, I am a beginner with STM32 and LTDC and I would like some guidance. I have a STM32F429I-DISC1 board and an external 7" TFT LCD panel, model TD070WGCB2 (854 x 480, 24-bit RGB, HSYNC/VSYNC/DE/NCLK).According to the panel datasheet, it uses a parallel RGB interface with: R0–R5, G0–G5, B0–B5 HS (HSYNC), VS (VSYNC) DE (Data Enable) NCLK (pixel clock) VDD = 3.3 V The backlight is CCFL and I am planning to drive the backlight from the original board / inverter, not from the STM32.With the STM32F429, I only want to generate the video signals (RGB, HSYNC, VSYNC, DE, CLK) and show graphics created with TouchGFX. My questions: Is the STM32F429I-DISC1 LTDC peripheral suitable to directly drive this panel (RGB 24-bit, 854x480)? Do you have any recommended LTDC timing settings (pixel clock, HSYNC/VSYNC, back/front porch) for this panel? The datasheet suggests a pixel clock around ~33 MHz and provides timing values, but I’m not sure how to correctly map them into CubeMX LTDC fi
Hi,I designed a PCB with 4 STSPINs where individual STSPIN is based on the EVSPIN32G4 board schematics, i am generating code using the ST motorcontrol workbench.I am able to run and control all 4 motors except for that fact that the STSPIN's get very hot(around 65-70 degrees) as soon as i turn on the power, this is regardless a motor being connected, and i noticed the same behaviour even after doing a full chip erase.i am powering the board using a 24V supply, and 8V and 3.3V is being generated buy the internal buck and LDO respectively, i am not using the supply generated by the STSPIN anywhere other than the sensing and feedback circuitry required. i am attaching below the photos i took using a thermal camera of my custom PCB.
Periodically, the Add buttons in the configurator stop working and it is impossible to change values in tasks, queues, etc. The system does not respond to mouse clicks (the editor window does not appear). However, the Delete button works. Restarting the IDE helps. It works in other configurators (GPIO, NVIC, Definition Creation).STM32CubeIDE Version: 1.19.0Build: 25607_20250703_0907 (UTC)STM32CubeU0 Firmware Package V1.3.0 / 04-June-2025X-CUBE-FREERTOS: FreeRTOS STM32Cube expansion package for STM32H5/U5/WBA/C0/U0/N6/U3 seriesWindows 11
Hello, My STWINKT1B (STEVAL-STWINKT1B) had been working fine, but suddenly it is no longer detected by PySDK.Now the red LED blinks rapidly (≈4 Hz) and no USB/COM device appears in Windows Device Manager.To recover it, I performed a full flash using STM32CubeProgrammer + ST-LINK (SWD), with the official firmware:C:\Users\User\Downloads\fp-sns-datalog2\STM32CubeFunctionPack_DATALOG2_V3.1.0\ Projects\STM32U585AI-STWIN.box\Applications\DATALOG2\Binary\datalog2_release.binFull erase → Program + Verify = OK, but after reset the symptom remains: fast red LED blinking and still no USB device.During the firmware update, both the ST-LINK and the board were connected to my laptop.I also powered the board via micro-USB for more than 2 hours, but the red LED keeps blinking at the same rate (no green LED).I tried different cables/ports/PCs, battery OFF/ON, and a FAT32/MBR microSD (also tried empty card), but the issue persists.Could you clarify:What does the fast-blinking red LED (~4 Hz)
I planning to use STM32H573 (LQFP) for Ethernet based on RMII. Is this controller support to all RMII signals. Please suggest the clock frequency shall give from external or internal, which one is the best.
Hello, I'm using TouchGFX on an STM32L452RET6 with an SPI screen. The screen has integrated GRAM, so I selected the partial buffer option in STM32CubeMX. STM32CubeMX generated the partial buffer code as expected, but it also generated code for a full frame buffer, which exceeds the MCU's RAM. I need to comment out this code to reduce RAM usage. How can I prevent STM32CubeMX from generating the full frame buffer code?STM32CubeMX version: 6.15.0X-Cube -TouchGFX package and TouchGFX Designer version: 4.25.0STM32L4 Cube package version: 1.81.1
During a debugging session, when `tx_thread_create` is called with a "big" stack size (1024*10 for example) and the "serverRtos" is enabled, the debugger is disconnected with an error: "Remote communication error. Target disconnected: No error." Here the debug console logs (full log attached): Spoiler (Highlight to read)To client: {"seq":0,"type":"event","event":"output","body":{"category":"proxy","output":"RTOS proxy: Lost connection to GDB Server\r\n"}}RTOS proxy: Lost connection to GDB ServerTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"{\"label\":\"\",\"value\":[{\"label\":\"Driver\",\"value\":\"ThreadX\"},{\"label\":\"Kernel state\",\"value\":\"Not started\"}]}\n"}}{"label":"","value":[{"label":"Driver","value":"ThreadX"},{"label":"Kernel state","value":"Not started"}]}GDB result: 36 doneTo client: {"seq":0,"type":"response","request_seq":25,"command":"cdt-gdb-tests/executeCommand","success":true,"body":{"status":"Ok","result":
Hi Everyone, I´m trying to find the BSDL File for SPC56EC74B3C9EEX. Someone can share me the file.? Sincerely, Ruben Gonzalez
I am currently working with an STM32WB05N as a co processor to a STM32U5, but I think the basic flow should be the same for all WB products. But I didn't find an AN or example for it.My device is acting as a central and connecting to a (WB55 based) peripheral which uses aci_l2cap_connection_parameter_update_req. My central receives this though aci_l2cap_connection_update_req_event. So far so good.But now I want to accept the proposal with aci_l2cap_connection_parameter_update_resp using the same parameters received through the request and Min_CE_Length as well as Max_CE_Length using the same values I used for the original connection opening (and 0x01 for accept). But I get a 0x12 BLE_ERROR_INVALID_HCI_CMD_PARAMS.What am I doing wrong? (and is there example code for connection update somewhere?)uint8_t s_Identifier; uint16_t s_Connection_Interval_Min; uint16_t s_Connection_Interval_Max; uint16_t s_Max_Latency; uint16_t s_Timeout_Multiplier;
Hi,I'm working with an STM32WB5MMG. I need to use both USB and BLE. I see that there are some threads opened about problems regarding the use of both USB and BLE in the same project due to the HSI48. However, I added LL_HSEM_1StepLock(HSEM, 5) to prevent the CPU2 to disable the HSI48 oscillator when it does not use anymore the RNG IP. It was working until I add all the peripheral. I report my main code.Someone has suggestion?Thanks.int main(void) { /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); /* Config code for STM32_WPAN (HSE Tuning must be done before system clock configuration) */ MX_APPE_Config(); /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); /* Configure the peripherals common clocks */ PeriphCommonClock_Config(); /* IPC
Hello everyone,For a while now, I have been writing my hardware jpeg driver for the STM3U5G9, I am near the end but a last (last?) major problem remains.With a grayscale 8-bit image (on the left), the output encoded image (on the right) is totally different from the input. (the output screenshot is decoded by an external jpeg decoder). I also observe the same behavior with HAL/MX configuration, so I only share the HAL/MX code for simplicity matter.MX_JPEG_Init(); JPEG_ConfTypeDef cfg = {0}; cfg.ChromaSubsampling = JPEG_444_SUBSAMPLING; cfg.ColorSpace = JPEG_GRAYSCALE_COLORSPACE; cfg.ImageHeight = 480; cfg.ImageWidth = 640; cfg.ImageQuality = 75; int length = cfg.ImageHeight * cfg.ImageWidth; HAL_JPEG_ConfigEncoding(&hjpeg, &cfg); HAL_JPEG_Encode(&hjpeg, img, length, img_jpeg, length, HAL_MAX_DELAY);For grayscale only image, do I need to do extra steps to make it work ?I saw (A)RGB image conversion to YCbCr functions (expensives to perform as a whole), do I need to per
Hi I have installed the updated version V2.0.0 and tried to configure the MCU like before using GUI , but it is not supported then how to get GUI like CubeMX version to configure microcontroller, please help
I am currently working on a project using the STM32F401RE Nucleo board interfaced with a 3.5-inch TFT SPI display (ILI9488 driver). I am facing an issue where the display does not show any output, even though the backlight turns on and the code uploads successfully without errors.I have already checked the SPI connections, power supply, and display initialization code, but the screen still remains blank. I would like to kindly request your guidance or any reference materials/libraries that can help me correctly configure and test the display with STM32CubeIDE.If possible, I would appreciate help with:Correct SPI configuration for ILI9488Required GPIO pin mapping (DC, RESET, CS, etc.)A working example code or initialization sequenceAny known issues or recommended libraries for STM32F4 + ILI9488Your support will greatly help me continue my project. Thank you
HelloI have completed the verification of read/write/sector erase/mass erase operations in the firmware based on the main() function.I have created an external loader by writing link.ld, Loader_src.c and Dev_inf.c and tested the operation. Read/write/sector erase works fine. However, only mass erase does not work.The code for the MaseErase(void) function is below, but just in case, I commented out the content and returned only LOADER_OK;, but the same symptom occurred.STM32CubeProgrammer 2.19, 2.18 versions are the same, and the message of 2.17 is successful, but the 0x90000000 area is not cleared.Is there a problem with the STM32CubeProgrammer program?Or which part of my source code should I modify?STM32CubeIDE 1.17.0STM32H747 및 STM32H743MT25QL512A
Hello!From the datasheet, I could tell it was a BAT54AFILM (due to the D84 marking), but I couldn't figure out what E1 meant. Could you help me decipher this?Thx!
Hi,I need to design driver board for the following PMSM motor specs and need help in selecting an evaluation board or related circuitry. Will STEVAL-IHM023V3 evaluation board work? Why is it now NRND?
Hi there,I generate a project using MCSDK 6.4.1 without any errors. (Find the project file in attachments)However, when I compile my MDK project, it shows some errors as follows:The details about the definition:```c#define VBUS_PARTITIONING_FACTOR 10.989010989010989 /*!< It expresses how much the Vbus is attenuated &nb
Hey,I’m currently working with the X-CUBE-ST67W61 Expansion Software Package and the Nucleo-W67x61 board and I am trying to perform an HTTP POST request that sends binary data. For this purpose, I’m using W6X_HTTP_Client_Request together with the content type W6X_HTTP_CONTENT_TYPE_OCTET_STREAM.The payload I want to transmit contains arbitrary bytes, including 0x00. However, I’ve encountered a problem: as soon as the payload includes a null byte, the HTTP request body seems to be truncated exactly at that point. The server only receives the bytes up to the first 0x00, not the complete buffer. This strongly suggests that the underlying implementation treats the payload as a C-string and therefore stops processing at the first null terminator. I would like to ask whether this is expected behavior or whether it may be a limitation or bug in the current implementation of the HTTP client. Does W6X_HTTP_Client_Request support sending binary payloads that may contain null bytes or d
Hello ST Community Team. First of all, I want to thank you for the new AI plug-in. It is really helpful specially will looking for informations on the STM32 documents. We hope to have the same for other ST products. About the Typo, on the Table 1 of the RM0434, we have a reserved region between SRAM1 and SRAM2a (from 0x2000 3000 and 0x2002 FFFF) this region is included on the SRAM1 (between 0x2000 0000 and 0x2002 FFFF) so it should be mentioned if it is reserved or not g(more details needed) also the size is 180Kbytes and not 36KBytes as mentioned on the Doc.please have a look at this.Best Regards.II
Running ST Cube IDE 1.19 on Windows 11, co-pilot autocompletions seem to be causing an issue. I see the suggestion, then a dialog pops up saying the following:An internal error occurred during: "Generating completion...".Invalid thread accessI look at the error log as I see the following:Failed to parse wmic outputException Stack Trace:org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:262)at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)at com.st.stm32cube.ide.mpu.remote.serial.internal.SerialPortProviderWindows.run(SerialPortProviderWindows.java:127)at java.base/java.util.TimerThread.mainLoop(Timer.java:566)at java.base/java.util.TimerThread.run(Timer.java:516)
I have STM32N6570-DK board and need to use very small sized camera ~1x1mm 30 fps with USB UVC interface for object detection applications. As the camera does not have dcmi/csi-2 interface, I am exploring how to use USB HS Host driver and UVC class driver. Questions: 1. Is it possible to get real-time inference on UVC video stream(20-30fps) as in an example ST provides? I have tried the example and inferencing speed is very fast. 2. Are there any example codes I can refer to for USB host and vuc class driver? 3. or should I try find the video bridging hardware converter(UVC to DCMI parallel/MIPI CSI-2)? 4. Even if I can find CSI-2 converter, firmware development will still be very challenging for CSI interface. Is it worth trying out? DCMI parallel will be much easier to implement in coding. However, small camera does not come with parallel interface. Are my assumptions correct? Any help/guidance/clarification would be greatly appreciated! Thank you
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.