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
Hi,I am running into thread exception while running CubeMx on MacOs M4 Pro.Platform: MacOs M4 ProCubeMx (About): Java (21.0.8 (9)) [STM32CubeMX 6.16.0 Mac ARM]When I try to open Airoc-Wi-Fi-Bluetooth Pack under Middleware, I get following exception and call stack.Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: column must be valid, was-1 at org.jdesktop.swingx.JXTreeTable.isHierarchical(JXTreeTable.java:2022) at org.jdesktop.swingx.JXTreeTable.getEditingRow(JXTreeTable.java:1162) at java.desktop/javax.swing.JTable$AccessibleJTable.getAccessibleChild(JTable.java:7222) at java.desktop/javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:7612) at java.desktop/javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:7133) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:231) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:20
I am currently working with the MT25QL128 flash memory using the Quad-SPI interface on an STM32H7 MCU. I have a technical question regarding the Extended Quad Input Page Program command.In my code, the following command is used: #define EXT_QUAD_IN_FAST_PROG_CMD 0x12The flash write operation works correctly with this command.However, according to the MT25QL128 datasheet, the correct command for Extended Quad Input Page Program appears to be 0x38.My questions are:Is using 0x12 officially supported on MT25QL128, or is it just backward-compatible?Are there any scenarios where using 0x12 might lead to incorrect behavior or compatibility issues?Should I update my code to use 0x38 to be fully datasheet-compliant, even though 0x12 seems to work in practice?I want to ensure that my Quad-SPI write operations are fully compliant with the datasheet and avoid potential issues in programming.Thank you very much for your guidance.
I’m working on a project with an STM32F4 microcontroller and using the I2C bus to connect multiple sensors. Everything works initially, but after some time the communication becomes unstable, returning random values or causing the I2C bus to hang. I have tried lowering the clock speed and checking pull-up resistors, but the issue persists.Has anyone experienced similar issues with I2C on STM32F4 or found a recommended configuration or hardware fix?Any guidance or examples would be greatly appreciated. Thanks!
ADF_AudioRecorder call HAL_DMAEx_List_BuildNode() without initializing pNodeConfig.Init.Mode. So with USE_FULL_ASSERT, it can assert because of assert_param(IS_DMA_MODE(pNodeConfig->Init.Mode));
The environment I tested is as follows.IDE: STM32CubeIDE 1.5.1Package: STM32F767IIPackage software version: 1.16.1JPEG settings are as below.However, there is a typo in the config file that is actually generated.[ jpeg_utils_conf.h ]#ifndef __JPEG_UTILS_CONF_H__ #define __JPEG_UTILS_CONF_H__ /* Includes ------------------------------------------------------------------*/ #include "stm32f7xx_hal.h" #include "stm32f7xx_hal_jpeg.h" /* Private define ------------------------------------------------------------*/ /** @addtogroup JPEG_Private_Defines * @{ */ /* RGB Color format definition for JPEG encoding/Decoding : Should not be modified*/ #define JPEG_ARGB8888 0 /* ARGB8888 Color Format */ #define JPEG_RGB888 1 /* RGB888 Color Format */ #define JPEG_RGB565 2 /* RGB565 Color Format */ /* * Define USE_JPEG_DECODER */ #define USE_JPEG_DECODER 1 /* 1 or 0 ********* Value different from default value : 1 ********** */ /* * Define USE_JPEG_ENCODER *
Dear ST Support Team,We are currently developing an IoT-based mining vehicle monitoring system, which generates a large volume of operational data that must be stored and accessed locally. Due to this high data size, we are evaluating the use of SD card or eMMC memory, with a stronger inclination toward eMMC as our final storage solution.For structured and reliable file handling, we are planning to use the FATFS file system for read/write operations.We would like to confirm whether the SPC58NH92E7 microcontroller officially supports integration with FATFS on SDMMC/eMMC interfaces. If available, kindly provide documentation, application notes, or official reference examples demonstrating FATFS usage with this MCU. Tool we are using to flash controller:SPC5 StudioAuto devkit Thank you for your support.
Hi, I have been using NUCLEO-H755ZI_Q board for initial software development and evaluation. I wanted to use STM32H755IIK3 but as nucleo version was not available, I have been working with LQFP144 version. I want to switch MCU model to this BGA and make custom hardware. What is the best practice for MCU model switch? I was looking this: https://community.st.com/t5/stm32-mcus/how-to-switch-from-one-stm32-to-another-using-stm32cubemx/ta-p/49884 But CubeIDE seems to be different.
I turned off all the other configuration aka Alternate Functions..only enabled GPIO PA5 as output Pushpull mode, low freq.its doesnt turn on or off individually..tried to turn on and off using HAL as well as direct registers..both work only when PA4 turns on ...what i mean if i want to turn on PA5 i should turn on PA4, then only it works..what is this causing this issue.can you help me out.tried on multiple hardwares..same issue so hardware issue eliminated, no pin short circuit.
Hi, I was using CubeProgrammer version 2.8 to program the STM32L552 microcontroller, using the ‘STM32_Programmer_CLI’ file. After updating to version 2.14, I have noticed a significantly longer programming time. For example, before the update, it took 1.8 seconds to program approximately 20kB; after the update, it takes over 10 seconds. My programming settings are as follows:call "%programmer%" -c port=swd freq=1000 -w "%hexfile%" -vI have tried different SWD frequencies, 3300 and 24000, but no luck. Does anyone else have this issue and know the solution?I also have one more question - if a verification error occurs, why does STM32_Programmer_CLI return 0 as the exit code? Shouldn’t it be a different value that indicates an error?Best regards,
Hello everyone,we are currently trying to bring up the L6591 without PFC, but unfortunately we have not been successful so far.It looks like the L6591 is not able to start up correctly.The Vcc voltage slowly rises to about 14V with the built-in HV startup generator. The LINE pin is connected to Vcc through a 330kΩ resistor, and after a short time it rises above 1.25V, as expected. So in principle all startup conditions for the L6591 should be fulfilled.After that, the SS pin charges to 2V, VREF reaches 5V, and then the IC repeatedly restarts. We are not sure why this happens.Is there any additional documentation available that explains the startup sequence in more detail? The information in the datasheet is not completely clear to us. Unfortunately, we currently have no evaluation board available in our country, so we cannot perform comparison measurements on a known-working design.Does anyone have experience with the L6591 startup procedure and could tell us which signals or con
I have an animated image, and I want to make it rotate around a circle. I assume I need to use a container and somehow integrate the TextureMapper into it, but I’m not sure how to do that.
Hi there,I am trying to configure an MCSDK6 project by reference to EVSPIN32G4.On the page of current sensing, I see some config as below: To my understanding, the three shunt current sensing circuits should utilize three operational amplifiers.Why are there just two?Thanks for the help!Best wishes to you guys.
I am trying to modify the BLE_HeartrateFreeRTOS project. I will set the RTC date/time from a timestamp received over BLE from a PC. I need the RTC calendar to be running, as I need to timestamp data readings with a "Unix" timestamp. I also need to perform a certain action on the hour, 15 mins past, 30 mins past, and 15 mins to the hourThe RTC calendar in the heartrate example is run in free running binary mode. I set the time from the PC time sync using HAL_RTC_SetTime & HAL_RTC_SetDate. When I call HAL_RTC_GetTime & HAL_RTC_GetDate later, the date is correct (still todays date) but the time is always 00:00:00. The "SubSeconds" field of my RTC_TimeTypeDef is being filled with a number which decreases as my program runs, but how do I get from this to a "UNIX" timestamp I can log against my data?I did manage at one point to set the RTC mode to be "free running BCD calendar & binary", but CubeMX seems to reset this each time the ioc file is saved.
Hi, I bought 50pcs STM32L151C8T6A from one Chinese online vendor, which has device marking with QR code.I encountered an issue while using the new version chip, after initial power-on, the overall sleep current of the product is approximately 5uA(STM32L151C8T6A in stop mode), When I reset the product's hardware multiple times, there is a high probability that the product's sleep current will reach up to 1.6mA. Once this occurs, the product can only return to normal by being powered on again.With the same hardware, replacing the STM32L151C8T6A with an older version will prevent the issue from occurring.This is a mature product, and this is also my first time using the new version of STM32L151C8T6A. Is the software for the old and new versions incompatible? What should I be aware of?ps: I am using the STM32L series standard library.
I am selecting the LD1117S50CTR. The package is SOT-223.I understand that the thermal resistance Rthja = 110 °C/W shown in the datasheet is the value for the IC alone.Since I am designing the PCB, I would like to know the relationship between copper area and thermal resistance.I would appreciate your advice.
Hi all,I designed a sensor board with STM32WL5MOC based on B-WL5M-SUBG1. Due to other constraints I cannot place the antenna directly on the PCB. Therefore I would like to place an U.FL connector (like: https://www.digikey.hu/en/products/detail/hirose-electric-co-ltd/U-FL-R-SMT-1-80/3978495) on the PCB and using an external antenna (like: https://www.digikey.hu/en/products/detail/te-connectivity-linx/ANT-868-PML-UFL/5592353). My question is that, if I follow the design guidelines given in the datasheet of STM32WL5MOC (see 3.4.3.3 point), then can I use this solution? In the datasheet it is also stated that "FCC implies that the antenna must bestuck to the board connector with epoxy glue". Thank you for your comments and suggestions!
Hi everyone, I am trying to run VENC_JPEG_Encoding project using STM32CubeIDE on STM32N6570-DK board, but it is not saving .bmp as stated in README file. Upon further debugging I can see in main.c in function save_file() that it is only supported on IAR system. int8_t save_file(char *pName,uint8_t *pStream,uint32_t szOut) { int8_t ret = 0; #if defined ( __ICCARM__ ) /* stdio FILE works only on IAR system */ FILE *pFile; pFile = fopen(pName,"wb"); if(pFile) { while(szOut) { uint32_t blk = 1024; if(szOut < blk ) blk = szOut; uint32_t written = fwrite(pStream,1,blk,pFile); szOut-= written; pStream+=written; } fclose(pFile); ret = 1; printf("the file %s is in the current folder",pName); } #endif return ret; }so how do i test it in CubeIDE as I am on Ubuntu and IAR doesnt supports Ubuntu till now.Kindly help
Hi, I'm facing a problem with the Clock Configuration tab with the latest version of the STM32CubeIDE. In fact, every time I open the ioc file, there is an error with the SMPS Clock Mux on the STM32WB board I'm using. I correct and generate code and saved but when I open the file again the error is still there. I'm using the latest version of the Cube.Thanks.
Hi,STM32CubeIDE Version: 1.14.1 (and earlier)after selecting One Pulse Mode, the settings for this operating mode do not appear.
Dear STM32CubeMX Support Team,I would like to report two issues encountered while using X-Cube-AI version 10.2.0 during model analysis and training on the N6 series MCU with NPU support.Bug 1: Memory Pool View Cannot Be Horizontally Scrolled in Netron GraphAfter analyzing a model and clicking "Show Graph", the generated Netron visualization displays the memory pool section with a very long vertical axis that extends beyond the visible area. However, the view cannot be horizontally dragged or scrolled, which prevents full visibility of the memory pool details. This makes it difficult to inspect memory allocation information, especially when working with complex models.Expected Behavior: The memory pool section should allow horizontal scrolling or panning to fully view all data.Current Behavior: The graph is truncated; no scroll or drag functionality is available for the memory pool axis.Bug 2: Inconsistent Unit Display Between External Flash and Memory PoolsIn the X-Cube-AI configration
Dear Team, @Max VIZZINI Sir, Help us to Solve this issue.We are currently working with the SPC582B60E1MH00Y MCU in our project development. In our application, the ESP32 reads the firmware file from the cloud and sends it to the MCU via UART.As part of our application, we need to implement a Bootloader using UART communication. However, we do not have prior experience with the Bootloader implementation on the SPC58 series MCU. The hardware design has already been completed, and the SPC58 UART is connected to the ESP32 through the LINFlex1 serial interface pins. Kindly confirm whether these UART pins can be used for the Bootloader application. We kindly request your support in developing the Bootloader application for our project. Additionally, if you could share any reference documents or sample projects (UART Bootloader code), it would greatly help us to progress further and improve our development status. Our queries:How does the Bootloader work, and how can it be
Hi everyone, I am working on collecting video using a modified VENC_RSTP_server example for my project with the VD56G3 camera, but I am encountering an error while encoding the frames.Here is what I have done so far:Verified that the VD56G3 camera works with the board and is displayed on the LTDC screen. I am able to change its resolution and FPS.Verified that the original code works with the MB1854B camera (the one originally provided with the board).Made the necessary changes in the VENC_RSTP_server code to support the VD56G3 camera.However, while encoding the frames, I am receiving this error in the UART terminal when trying to record via ffplay . I am attaching the error log for reference.I have tried modifying the VENC parameters, but to no avail. The error code -11 means H264ENC_HW_TIMEOUT, as shown in h264encapi.h.I am also attaching my venc_app.c file for your reference.Kindly help.
I bought a motor as a first step i want to run the motor profiler, the specifications of the motor are48V, Output: 500W, Rated Current: 16A, Rated speed: 600 RPM it is a geared motor with ratio of 1:6 and the number of pole pairs is 4.I got confirmation before purchase that the back emf will be sinusoidal, but when i have done hand rotation and verified the waveform between the phases i get the below waveformSo, request to please confirm if the motor profiler can be run with the above back emf? If not i have to exchange the motor. This motor is only for validating the profiler and hall sensor placement angle and understand how to change the profiler parameters before i move to the actual motor.One other question is in the window for current in profiler, i am entering 16A * sqrt(2) = 31 amps is it correct? i have run the profiler it runs for few cycles and ends up with speed feedback fault the phase currents during the time the motor is running are sinusoidal
Hi,I'm trying to implement an external loader for the Arduino Giga R1 board with AT25S128A 128Mbit of external flash. After following the guide given in the external loader repo, I'm running into the problem, that I can erase, write & read from the memory fine, however, as soon as I try to turn on memory mapped mode, all the data reads as 0xFF...FF, both in code and in the STM32CubeIDE memory viewer. I think my problems could be related to MCU configuration, I would be grateful if someone could give some guidance, see the relevant code below and attached. quadspi.c:uint8_t CSP_QSPI_EnableMemoryMappedMode(void) { QSPI_CommandTypeDef sCommand = { 0 }; QSPI_MemoryMappedTypeDef sMemMappedCfg = { 0 }; // Enable Memory-Mapped mode sCommand.InstructionMode = QSPI_INSTRUCTION_1_LINE; sCommand.Instruction = QUAD_INOUT_FAST_READ_CMD; sCommand.SIOOMode = QSPI_SIOO_INST_EVERY_CMD; sCommand.AddressMode = QSPI_ADDRESS_4_LINES; sCommand.AddressSize = QSPI_ADDRESS_24_BITS; sCommand.
Hello, I am using STM32H735 and installed a Bluetooth module STM32WB05N. For the STM32WB05N, it is configured as a transparent mode running as HOST + CONTROLLER firmware. I got the firmware from this github: STM32WB05N Firmware. I have modified STM32WB05N firmware to use the correct PINS and adjusted the baudrate to work with our MCU STM32H735. So from STM32H735, I have successfully sent the ACI & HCI commands and is able to advertise my device. I am using my Laptop to try and pair it using the windows bluetooth built in app and when I tried to pair my device, I got a confirmation from my STM32H735 and received the following events HCI_LE_ENHANCED_CONNECTION_COMPLETE_EVENT HCI_LE_ADVERTISING_SET_TERMINATED_EVENT HCI_LE_CHANNEL_SELECTION_ALGORITHM_EVENT After that the windows pairing failed. I was expecting to receive more events and vendor events like: HCI_LE_DATA_LENGTH_CHANGE_EVENT ACI_ATT_EXCHANGE_MTU_RESP_EVENT ACI_GATT_SRV_ATTRIBUTE_MODIFIED_EVE
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.