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
The project is a TouchGFX demo running on the STM32H735G-DK.Building works (vscode+plugin+cmake+clang). Flashing works with STM32CubeProgrammer.Debug/flashing doesn't work with STM32Cube plugin, it does work with cortex-debug plugin with a custom launch.json file. Since that is incompatible with the plugin it will require using VSCode profiles and switch between them constantly.If I try to debug using the plugin I get this:STMicroelectronics ST-LINK GDB server. Version 7.11.0Copyright (c) 2025, STMicroelectronics. All rights reserved.Starting server with the following options:Persistent Mode : DisabledLogging Level : 1Listen Port Number : 61234Status Refresh Delay : 15sVerbose Mode : DisabledSWD Debug : EnabledInitWhile : EnabledWaiting for debugger connection...GNU gdb (GNU Tools for STM32 13.3.rel1.20250523-0900) 14.2.90.20240526-gitCopyright (C) 2023 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software
Greetings. I am building a 24V, 240W power supply with the help of the ST eDesign Suite website. The problem I have is that before starting, it goes into a blinking mode. To start it, I have to measure with a multimeter on the ZCD pin. Then, suddenly, it enters the steady state and outputs a continuous voltage value. Before this, the Vcc voltage has a triangular shape in the power supply, reaching the minimum supply value of 10.4V and 12.5V. Would anyone know what this is due to and how I can fix it? I was wondering if it would be possible to obtain the Spice model to simulate the component. Attached is the link to view the power supply design in eDesign Suit: L6566B QR FLYBACK AC/DC Converter | eDesignSuite | STMicroelectronics I have also used two different transformers in case the problem was this. I am attaching them as well. Greetings and thank you very much.
I have to say I am unimpressed with ST's tech support (there is none: they just referred me to the forums). And when I selected the 'Analog and audio' group, I couldn't post there as it was 'read-only'!! If there's a more appropriate product forum I *can* post to, please advise.Anyway, here goes with my request for help...Re: TDA7498E (Class-D audio amplifier)This device appears to be an old product, though apparently still in production. Is there a more recent similar device available? Is there likely to be a GaN version released anytime soon?The datasheet for this device shows that there are two 3.3V output pins (VDDPW, VDDS), and these supplies are maybe used internally. But nowhere in the datasheet is a specification for the maximum current available to be drawn externally from either of these 3.3V outputs!This also raises the question of why the AN4015 application note includes an *external* 3.3V low-current supply. Why, if this voltage is available from the device pin
The STM32WL5MOC component is both LoRaWAN and Sigfox verified. I need to be able to use both types of connections. AT commands for LoRaWAN are readily available. Is there a guide of AT commands for Sigfox and an AT command to switch between modes? Thanks.
I have design Buck converter with Viper318HD ,With below specification:Vin:(85 to 265)VACVout=12VDCIout=500mAAnd i not follow recommended Commponents value which Are mentioned in Edesign tool, i use components which are availble with me.So i need:1- Know is this design will be stable to use it or not ??
In accordance with the booting procedure for STM32MP2 https://wiki.st.com/stm32mpu/wiki/STM32MP2_backup_registers#Boot_mode_selection_feature ROM analyzes the BOOT_MODE register and decides to switch to serial boot mode: "The ROM code executes a serial boot if BOOT_MODE[7:0] is equal to 0xFF". It is TAMP_BKP96R (0x46010280) for STM32MP2xx processors. And if I write 0xff there and do a reset, then the processor will reset and go into USB boot mode. In Linux, there is a command for this: reboot romcode_serial.This mode and this command worked perfectly in STM32MP1xx processors but does not work at all in STM32MP2xx.Moreover, I even tried writing directly to this register in U-boot mode and doing a reset - the result is the same, this mode does not work. Is there any special feature in this mode for STM32MP2XX series processors or is this a ROM code issue?
Hello everyone,I'm currently working on a project where I need to transmit ADC data over UDP to a server. I've previously had it working, but after re-generating code Hard-faults or Memory faults would start to appear.CubeIDE : 1.19Firmware: FW_H7 V1.12.1 void MemManage_Handler(void){/* USER CODE BEGIN MemoryManagement_IRQn 0 */uint32_t *sp = (uint32_t *)__get_MSP();uint32_t stacked_pc = sp[6];}While debugging sp would get the value:Details:0x240000bc <memp_memory_RX_POOL_base+32>Also I get a Hardfault:0x240031bc <memp_memory_RX_POOL_base+12576>I do cache invalidation on my main code to be able to update the data that will be sent through UDP.while (1){ MX_LWIP_Process(); if (adc_full_ready) { adc_full_ready = 0; SCB_InvalidateDCache_by_Addr((uint32_t*)adc_data, adc_input_buffer_size * sizeof(uint16_t)); udpClient_send_adc(adc_data, adc_input_buffer_size); } //I also have an if for half data, as the callback of the adc sets the adc_full_ready flag to 1 }which of
If have read the RM0456 and could not found a detailed description.If I switch the option byte DUALBANK to 0 single-bank mode, what will happen if I access a address which is normally supposed to be in bank 2? Do I get a memory access error?So is my assumption correct? That would mean switching on the single bank mode of a 2MB device, I can only used 1MB of the first bank? best regards P.
Good morning, I need to connect two h7a3zi-q board via uart (only one way required), but by only connecting tx1->rx2 the programs run but I get empty strings, and by also connecting the grounds of the two boards the tx program gives HardFault. I'm sure of the content of the msgs as I also send via uart3 to my pc and I have no problems. Any tips? Thx
Hello,while configuring the CSI interface for camera , on its enablement in the STM32CubeMX why I can’t see the GPIOs corresponding to it in the flip section? does it has any dependency on any other peripheral?or clock setting?under the configuration it says warning: this peripheral has no parameters to be configured.Unlike in any other peripheral like I2C or SPI where I can see the corresponding GPIO i am checking this on STM32N657X0HxQ .regards,
Using an STM32H7Rx or Sx, using I2C2 clocked by PLL3R at 10 MHz:If you set the I2C speed to 10 kHz with analog filter disabled, you get a timing value of 0x1010F1FF, with SCLH and SCLL values of 241 and 255. This seems reasonable.However, if you enable the analog filter, you get 0x400007BE. This does produce the correct frequency - but the SCLH and SCLL values are 7 and 190, which do not appear to be sensible.Is this a bug?(I've sent an IOC file to @Souhaib MAZHOUD ; you'll need to edit the I2C2 settings to see this happen.)
Post edited by ST moderator to be inline with the community rules for the code sharing. In next time please use </> button to paste your code. Please read this post: How to insert source code. Hi, I’m now trying to port the STEVAL-STWINBX1 firmware to my custom hardware whose MCU is STM32U575VGT6. I started by porting the data logging application: fp-sns-datalog2\STM32CubeFunctionPack_DATALOG2_V3.1.0\Projects\STM32U585AI-STWIN.box\Applications\DATALOG2During execution the following code gets stuck,and eventually returns HAL_ERROR. /* Wait for calibration completion */ while (LL_ADC_IsCalibrationOnGoing(hadc->Instance) != 0UL) { wait_loop_index++; if (wait_loop_index >= ADC_CALIBRATION_TIMEOUT) { /* Update ADC state machine to error */ ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_BUSY_INTERNAL, HAL_ADC_STATE_ERROR_INTERNAL); __HAL_UNLOCK(hadc); return HAL_ERROR; } I’ve verified that the hardware is fine with my own test program (DAC generates a sine wave, ADC sampl
Hello ST Community,I am currently working on a ZigBee communication project using the STM32WB55RG microcontroller. My goal is to establish ZigBee communication between the STM32WB55 (running ST ZigBee stack) and an external Digi ZigBee module (for example, ZigBee Series 3 ).Before proceeding, I would like to confirm the following points:Feasibility:Is it possible for the STM32WB55 ZigBee stack (ZigBee 3.0 based) to communicate directly with a Digi ZigBee module over-the-air, assuming both are configured on the same ZigBee channel, PAN ID, and security settings?Technical References:Are there any application notes or examples that describe interoperability between STM32WB ZigBee and third-party ZigBee devices (such as ZigBee )?What ZigBee profiles or device roles (Coordinator / Router / End Device) should be configured for best compatibility?Roadmap / Implementation Plan:My current plan is:Use STM32WB55 as a ZigBee Coordinator or Router (using ST ZigBee stack ).Use the Digi ZigBee module
The login via HELP->STM32Cube Updates->Connection to myST does not seem to be working properly. Trying to login I first get a small splash window with a button which I can press which opens a webview(?) which sometimes displays an "Accept Cookie" dialogue. That seems to go away by itself, but I am unfortunately unable to enter anything into the username and password fields, they are unresponsive.I'm using Wayland on Linux, but my colleague running on MacOS is experiencing the same issue.Browsing through the forum, the advice I find seems to be "try again tomorrow, there seem to be issues on ST's side of things". Is there currently maintenance going on? Is the CubeIDE backend particularly slow at the moment, or is this how things always work with Cube?
Split from "Range [0,-1) out of bounds for length 48" trying to open Debug Configuration - this is a new question.Hi,When I am testing the STM32N6570-DK_GettingStarted_ObjectDetection I have faced the same "Range [0,-1) out of bounds for length 48", that issue was solved after that I'm getting below issue as going to Hard_fault handler in from app_postprocessing.
Hello Everybody,Here are the software and boards in this case:1. MC workbench 6.4.12. STM32 FW V1.28.2I’m running the code generated by ST MCSDK and noticed that the waveforms on the microcontroller’s U-phase and V-phase channels (see pins Ch. U and Ch. V in picture 2) are not center-aligned—there is a slight offset (see picture 1: the center of the blue waveform is shifted a little to the left relative to the yellow one). How can I fix this? I suspect this mismatch is causing noticeable acoustic noise while the motor is running.How can I fix the problem? Thank you!
Hi, I am using ADC1 on stm32H563ZI nucleo board with trustzone enabled, I am not getting proper adc values (getting adc count of 822). When trust zone is disabled I am getting proper value of around 4095 with input of 3.3Volt .I am attaching the project.Please help with this issue.
Hello,I developing a board with ST25R3911B and STM32F103RFT6. Im trying to read Chip ID, but it always reads 255. On the scope i can see CS pin driven low, clock and MOSI line outputing signals, but no response on the MISO line. The solder joints look ok. Im attaching schematics, board project, soldering under the microscope and scope traces. The communication works in loopback (when i physically short MISO and MOSI). SCKMOSICS for(;;) { HAL_GPIO_WritePin(SPI1_CS_GPIO_Port, SPI1_CS_Pin, GPIO_PIN_SET); HAL_GPIO_WritePin(SPI1_CS_GPIO_Port, SPI1_CS_Pin, GPIO_PIN_RESET); HAL_SPI_TransmitReceive(&hspi1, txData, rxData, 2, 1000); if (rxData[1] == 255) { HAL_GPIO_TogglePin(LED_STATUS1_GPIO_Port, LED_STATUS1_Pin); HAL_GPIO_TogglePin(LED_STATUS2_GPIO_Port, LED_STATUS2_Pin); } else { HAL_GPIO_TogglePin(LED_WARNING_GPIO_Port, LED_WARNING_Pin); HAL_GPIO_TogglePin(LED_ERROR_GPIO_Port, LED_ERROR_Pin); } HAL_GPIO_WritePin(SPI1_CS_GPIO_Port, SPI1_CS_Pin, GPI
Hello, I'm using an RC car BLDC motor with an EVLSERVO1 evaluation board and can't complete the Motor Profiler process. My application has a large mass on the motor, so I need the mechanical model to get better control loop parameters. I have manually measured the electrical model and have successfully done the following:Run the motor open loop in voltage modeRun the motor open loop in current modeManually determined a start-up ramp profile in open loopStarted up with speed control with my start-up ramp.Used the same MCSDK project with open loop disabled and motor profile enabled to generate a motor profile project with known good motor electrical model and start-up ramp.Despite this, I see no change in behavior during the motor profile process when compared to the default project. I have used the startup speed as my max speed, lower, and higher. I have changed the max current to the same as my start-up profile and to the max the board can handle. No luck.
Hi,I'm going to use four different OpAmps in the STM32G474, namely OPAMP3, OPAMP4, OPAMP5, and OPAMP6.At this moment I try to initialize all four OpAmps. The first three work perfectly well, the initialization of OPAMP6 results in a problem. The State of OPAMP6 is HAL_OPAMP_STATE_CALIBBUSY. And, therefore result in an error.For the first three the State is '28', and initialize perfectly well.How can I fix this? What is causing this behavior?With kind regards,ErX
Hello ST Community team,On the DS11532: The title of the Figure 20 should be changed to avoid any confusion between figure 20 and figure 21.Also, the note under figure1 is not really clear since the STM32F767 TFBGA216 for example is not compatible pin to pin with the STM32F469 TFBGA216. So, I think the note should be clearer. It can even point to the application note AN4660 for details.Could you please have a look.Best Regards.II
Hi, I do not have a lot of experience with the STM32. I used other processors in the past like the LCP1768. We developed a custom bootloader to be able the load a new firmware into the uProcessor. In our current case, the STM32G474 is connected by USB to our PC software. Is it possible to give the processor a command to reboot in bootloader-mode. Because the boot-pin is already in use by the I2C-bus. Is this possible with the normal bootloader or do we need to develop our own bootloader to do this? Where can I find information to do this? Thanks in advance. With kind regards, ErX
Hi Pascal, Any updates on our previous thread? When testing the same firmware with the EN pin pulled up, we are facing some issues during operation. After about 5–6 operation cycles, the system stops working until the MCU is reset. The issue still persists — could you please suggest what board-level changes might be needed to resolve this? Additionally, we are facing another issue on the CubeMX side: USB PD works well separately,TouchGFX works fine separately. But in our application, we need both to run together. If I disable TouchGFX, USB PD starts working. However, when I try to enable both TouchGFX and USB PD in the IOC file, CubeMX shows an error saying only one can be used at a time. Could you please advise how we can resolve this? Thanks & Regards,Rajkumar edit: related thread Solved: USB PD Part selection - STMicroelectronics Community
Hi team.I am using STM32U575RIT6 how set the internal and external clock configuration , i have bit confusion can u gide me to resolve this .thnaks.
Hello,I designed a custom PCB using the STM32H745IIT6 (LQFP176) and I cannot connect to the MCU using SWD with an ST-LINK V2. I always get “Error in final launch sequence / No device found on target”. Hardware summary: VDD, VDDA, VREF+ → 3.3V VCAP1/2/3 → 2.2 µF VDDLDO → not connected BOOT0 → GND NRST → 10k pull-up + 100nF Board current consumption: 8.5 mA SWD wiring: SWCLK → PA14 SWDIO → PA13 NRST → NRST GND → GND 3.3V → board 3.3V rail (sense) SWO not connected 10k resistors on SWCLK/SWDIO were removed for testing. Observations: PA13 measures ~0.38–0.42 V when ST-LINK is not connected (floating) ST-LINK LED stays red (never turns green) CubeIDE: SWD, “Connect under reset”, 1000 kHz CubeMX power mode: PWR_DIRECT_SMPS_SUPPLY. Question: What could cause SWD to fail with this configuration?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.