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
Good Morning.When I sending the time message request ($PSTMGETRTCTIME), through UART, the gps TESEO-LIV3F answers correctly.But when I try to configure it to send GPGGA & GNGSA messages every second, I doesn’t receive any answer from the GPS ($PSTMCFGMSGLOK or $PSTMCFGMSGLERROR).Respecting the software manual, I send following following message :"$PSTMCFGMSGL,0,1,00000042,00000000*6E\r\n";Is my configuration message wrong ? Thanks a lot.Sincerely,Vincent
I soft-bricked a keyboard using a STM32F103C8T6 by, I think, trying to write too large an image, and I guess I overwrote the USB bootloader. I have an identical keyboard and I just ordered an ST-Link v2 but I haven’t been able to pull up instructions for cloning the firmware from the working board using the ST-Link. Is this possible?
Hi I am using the stm32h743 device I would like to enable the FMC wait signal in the CubeMxbut this option is not available even when changed the FMC memory type to PSRAM.also changed the extended Mode to enable.But the wait signal option is not available. I do not want to change it by force in code of main.c file
MCU: STM32G4Motor: DFA90L048017-ADC bus: 24 VPole pairs: 11Hall sensors: 120°Hall pins: H1 = PB6 H2 = PB7 H3 = PB8Motor rated speed: 1900 RPMHall electrical phase shift currently: 120° Problem:- Motor starts and runs.- At approximately 500 RPM command, actual speed oscillates.- Motor can accelerate toward ~1000 RPM.- Motor then briefly rotates in the opposite direction.- Motor Pilot also shows approximately the same behavior.- Hall interrupts are continuously generated.- All six Hall states 1..6 are observed.
We want to activate a 3-phases motor. We wchosse the STM32G474BCx6 microchip, we created a custom board but cant connected it to any motor, we get the message “No algorithm is available for this hardware configuration”, how can we solve it ?attached the “custom board “ we created. Thanks
I am accessing the STM32H563/573 via SWD through the debug port.My ultimate goal is to access the flash registers to perform write/erase operations on the 2MB flash memory and configure the option bytes.I have a few questions regarding this process:・I want to halt the CPU before releasing the RESET signal. Specifically, I intend to: Set C_DEBUGEN in DHCSR to 0b1. Set VC_CORERESET in DEMCR to 0b1. However, I was unable to write to or read from the following registers: (Writing results in an error, and reading returns a value that is impossible given the register configuration.) DHCSR : 0xE000_EDF0 DEMCR : 0xE000_EDFC Please explain the cause of this issue and suggest a workaround.・According to the reference manual, the factory default value for FLASH_OPTSR2_CUR is 0xB400_170, with TZEN[7:0] set to 0xB4, meaning TrustZone is enabled. However, when I read FLASH_OPTSR2_CUR from a microcontroller in its factory-shipped state, the value was 0xC300_017C, with TZEN[7:0] set to 0xC3, meaning Tr
Hi,I am using the VL53L7CX in an object detection system.Today, I found that the sensor does not detect black objects well. It can only detect a black object at a very short distance, approximately 10 cm.Is this the expected behavior?If so, what is the maximum detection distance of the VL53L8CX for a black object?My application requires the sensor to reliably detect a black object at a distance of about 50 cm.Is there any way to improve the detection performance for black objects, such as changing the configuration or tuning any parameters?Thank you.
I have no problem reaching a low power state with stop3. All the Pull Up/Down registers are configured correctly. However, simply changing the low power mode from STOP3 to STANDBY results in a 1.5mA current sink. What could this be? The debugger support is off in both cases.
Is it possible to start the HDMI from U-boot in STM32MP2?I want to see the start up log.
Hello,I am working on using NRST pin in stm32g031j6m6 as GPIO, but it fails every time. I've changed many option bytes and even options present only on stm32g0x1 have workwd on my chip, except of NRST_MODE. If i want to change this option to 2 (gpio mode) and try to apply, the progress bar stays at 0% endlessly until i quit the STM32CubeProgrammer. I didn't have any problems with communication between nucleo and stm32g031. I tried to program my chip with st links built in nucleo u031 and f303, everytime without success. What else can i try?
HelloI have my own board with STM32G071KBT6 microcontroller. I successfully comunicate with charger by PD protocol and I receive up to 21 V (PPS). But I need above 21V. I have power bank with AVS up to 28V and USB cable with e-marker (up to 240W). How to configure the stack to receive EPR parameters? I have no TCPP IC, but I use my own protection circuit. In the trace the EPR commands isn't present. I use STM32CubeIDE 2.1.1 and STM32CubeMX 6.17.0.Thanks a lot and best regards
Hello,is there a definitive application note to interface PDM mics with MDF/ADF?there is AN5027 but it doesn’t tell about MDF or ADF. If I insert correctly MDF/ADF is a newer version of DFSDM but I would like if someone can point me to the interfacing wet stm32cubeMX for MDF/ADF usage with PDM mics showing configurations to interface N number of MICs(1-8) for a required sampling rate(16-96 KHz) if possible?which one to choose MDF or ADF?or both are same?Thanks a lot in advance !regards,S
We have a current application in which our F7 is connected to an external Microchip PHY which provides a 50 MHz reference clock for RMII. We are attempting to place the system into a low power mode in which we disable the PHY thus stopping the reference clock. Is there a way to do this that will not cause the network stack on the MCU to fail? We are using Zephyr as our RTOS which may or may not be relevant.
Did someone know the short-circuit withstand time (SCWT) or short-circuit SOA characterization for SCT040W65G3-4 under VGS = +15/-3 V, including the dependence on VDS and junction temperature? Is the value guaranteed or characterization-only?
Hello,I am having a problem connecting to an STM32F103C8T6 (Blue Pill) using an ST-LINK V2.The interesting thing is that this exact ST-LINK programmer was working correctly with both STM32CubeIDE and STM32CubeProgrammer before. I was able to program and debug the STM32 without any problems.Now, STM32CubeIDE gives me the following error when I try to start debugging: Failed to execute MI command:target remote localhost:61234cannot resolve name: The specified class was not found.I checked the Debug Configuration in CubeIDE, and the settings are:Debug probe: ST-LINK (ST-LINK GDB Server) Interface: SWD Host: localhost Port: 61234 Frequency: Auto Access Port: Cortex-M3 Autostart local GDB server: EnabledCubeIDE can detect the ST-LINK during the Scan operation, and it shows its serial number. However, when I try to debug, it says that no ST-LINK with that serial number can be found.I also installed STM32CubeProgrammer to test the connection independently. However, CubeProgrammer is also unab
Dear ST Edge AI Support Team,We are deploying a YOLO11n person-detection model on the STM32N6 NPU using the relocatable(LRUN) generation flow. While decoding the generated runtime buffer descriptors on-target, wefound that the top-level *input* user-IO buffer's channel-position metadata disagrees with itsown reported memory shape, and does not change when explicitly requesting a channel-last inputlayout.Configuration Target: STM32N6 ST Edge AI Core v4.0.1-20581 7ed50de05 Model: yolo11n_256_quant_pc_uf_od_coco-person-st.tflite (quantized, uint8 input, 256x256x3) stedgeai cli command (as echoed by network_generate_report.txt): "stedgeai generate --model yolo11n_256_quant_pc_uf_od_coco-person-st.tflite --relocatable split --target stm32n6 --no-inputs-allocation --no-outputs-allocation --optimization balanced --st-neural-art user_profile@profile-neural-art.json --name network --verbosity 1 --c-api st-ai --inputs-ch-position chlast --workspace ./workspace --output ./outputs"Issue
I flash firmware in stm32f030c8t6 MCU around 1000pcs and applied RDP level 1 protectionnow i face issue that some MCU work fine but on some application don’t run…i have read all register of both MCU good and not goodkey difference found is below figure. all perpheral rister difference table left one not good write one goodi also observe when i connect MCU with stlink v2 in stm32cubeprogrammerGood MCU bootloader version is 0x21 show eror on reading flash memoryNOT Good MCUbootloader version is 0x23 read flash memory while RDP level 1 was active and show same pattern valuesNOT GOOD MCU GOOD MCUnow how can i solve this issue?
Hello ST Community,We are using the VIPER16LDTR in a non-isolated buck converter to generate 12VDC from a 325VDC rectified bus. The input is 230VAC from a Variac, rectified to approximately 325VDC through our input rectification stage. The circuit follows the standard buck topology from VIPER16 datasheet Figure 17. Operating conditions: Vin = 325VDC, Vout = 12V, Iout = approximately 250mA, fsw = 60kHz (VIPER16L type confirmed with differential probe).What we have verified as healthy:DRAIN pins 13-16: 325VDC present and confirmed VDD pin 5 (via C21, 10uF): 12V present — internal HV startup source working SW node pin 2: 60kHz switching waveform confirmed with differential oscilloscope probe D9 (FDLL4148): forward drop confirmed, correct orientation D10, D11 (600V/1A): both healthy in diode mode L3 (1mH, SRR1206102KL): DCR = 0.25Ω, solder joints inspected and reflowed, continuity confirmed C22 (220uF, 25V output cap): 1.4MΩ to GND — no leakage, no short 12V rail to GND (load side): 4.5kΩ
I am using three Nucleo-WL55JC1 boards running software based on the dual-core SubGHz-pingpong example in LoRa mode.The SDK I am using is STM32CubeWL Ver. 1.5.0.The settings used are BW=125 kHz and SF=10.The first board initiates the sequence, transmitting a 16-byte packet every 10 seconds and then switching to receive mode.The second board acts as a receiver and sends a response upon receiving a packet.The third board is receive-only and monitors the communication status. If the second board does not send a response, the first board transmits packet without issues.However, if the second board does send a response, the first board sometimes fails its subsequent transmission, depending on the timing of that response. If the second board responds within approximately 150 ms of receiving the packet, the first board operates correctly.If the second board responds after a longer interval, the first board may fail to transmit the next packet.Observation with a spectrum analyzer shows that th
I am integrating X-CUBE-AI and the STM32H7 Safety STL into the same STM32H743 Keil/ArmClang project.The X-CUBE-AI Keil runtime requires short enums and 16-bit wchar_t (-fshort-enums -fshort-wchar). However, the Safety STL library appears to require full-size enums and 32-bit wchar_t.Configuring the project for X-CUBE-AI causes the Safety STL library to fail linking. Configuring it for the Safety STL causes Arm linker ABI errors when linking the X-CUBE-AI runtime, including enum-size and wchar_t mismatches.Is there an officially supported compiler configuration or compatible library variant that allows X-CUBE-AI and the STM32H7 Safety STL to coexist in the same ArmClang application?
For years, ST seems to spit in the face of developers every time they try to “improve” the ecosystem. Even now they’re trying to move toward *** like AI chips or other *** that sounds great to shareholders, while we developers are left with the crumbs of their work. These chips are widely recognized around the world and probably have some of the best engineers in the industry behind them, and yet what we actually get as developers are slow programs programs with a thousand issues on Linux, badly developed no matter how you look at it.Recently, as Linux programmers, we ran into the problem that CubeProgrammer was using an “hack” I can’t call it anything else where it used an sprintf() on stdin to try to catch all files starting with 0x*. And as soon as this recursive hack stopped working, they blamed Linux for the issue (obviously). All these applications are written in Java and are ridiculously slow, to say the least. An Eclipse-based IDE in 2025 feels like a slap in the face to anyone
Hello everyone.I have recently made my own STM32 board based on the STM32F405. After soldering all the components and testing all pads and connections, finding them to be wired correctly and checking that the 3.3V is being supplied to all the correct pins, I tried to upload some code, but to my shock, the STM32F405 isn't establishing a connection via the ST-Link V2 nor the USB cable. After trying multiple fixes, I suspect the issue might be the STM32F405 chip that I got off AliExpress itself. Before taking any further steps to replace it, I decided to post a question here for review in case the problem was in my PCB design. And sure enough, I had misplaced the chip pin due to the faulty pinout diagram I used as reference.I have since fixed the chip's orientation and rechecked all pad and pin connections, as well as the 3.3V supply, and found everything to be correct; yet I still cannot get the STM32 CubeProgrammer or IDE to connect with my board using the ST-Link V2 or a
Hi all - I have a problem getting DMA working with SPI, for communication with an MCP3564R ADC as one task in a complex project running on FreeRTOS. I have made a stripped-down version of the project that just does the ADC reading task. It runs on a bare Nucleo board and illustrates the basic problem which shows up from the first transmit, so a connected ADC isn’t needed to see the problem.The code uses SPI3 at 20MHz (although the problem occurs at lower speeds as well)The GPIO pins I’m using are not the defaults:GPDMA1 is configured with two channels for SPI3 TX and RX:My code can be configured to use the HAL SPI DMA APIs or the interrupt APIs like so:static uint8_t write_register(const uint8_t * reg_write_cmd_p, uint8_t num_bytes){ HAL_StatusTypeDef hal_status; BaseType_t wait_ret_val; uint32_t notify_bits; uint8_t ret_val = 0; /* Failure */#if (MCP3564_HAL_SPI_MODE == MCP3564_USE_HAL_SPI_DMA_MODE) hal_status = HAL_SPI_Transmit_DMA(&ADC_SPI_PERIPH_HANDLE, reg_write
hi I am trying to get an sd card to work with my custom board, uses STM32F412RET6.when i try to mount or do anything other than init in 1 bit mode the code gets stuck at this point. I have been able to read block size and number from the SD card but that is it. while(!__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_RXOVERR | SDIO_FLAG_DCRCFAIL | SDIO_FLAG_DTIMEOUT)) { if(__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_RXDAVL)) { *(tempscr + index) = SDIO_ReadFIFO(hsd->Instance); index++; } else if(!__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_RXACT)) { break; } if((HAL_GetTick() - tickstart) >= SDMMC_SWDATATIMEOUT) { return HAL_SD_ERROR_TIMEOUT; } }
The following repository contains examples for creating 'normal' type of external loaders, i.e., to be used with the "-el" argument of the STM32CubeProgrammer (e.g., with output "STM32CubeProgrammer/bin/ExternalLoader/MX66UW1G45G_STM32H7S78-DK.stldr"):https://github.com/STMicroelectronics/stm32-external-loader Where can the source code examples be found for the 'SFIx' type of external loaders, i.e., to be used with the "-elbl" argument of the STM32CubeProgrammer (e.g., with output "STM32CubeProgrammer/bin/ExternalLoader/MX66UW1G45G_STM32H7S78-DK-SFIx.stldr")?
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.