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 currently working on a PMSM drive project using the HSO scheme. I am using MC-Workbench 6.4.2 with the STM32G474RET6 MCU on a custom-designed control board. After configuring the project in Workbench and downloading the firmware to my custom board, I used the Pilot interface to verify my hardware design. First, I ran the FOC in open-loop duty mode. The motor spins normally, and the waveforms such as phase current and phase voltage look basically acceptable.Then I started the Profiler for motor parameter identification. As soon as the identification process starts, the system throws an ERROR_DC_AC fault. This is where I am stuck now. I need to troubleshoot the root cause and check if there are any inappropriate configuration settings so that the automatic identification can complete successfully. To identify the root cause of the above issue, I tested Iα, Iβ, phase voltages Uα and Uβ in open‑loop mode. The waveforms themselves look acceptable. However, I observed a strange
I am trying to configure a project for the AEK-POW-BMS63EM board in AutoDevKit Studio. When I click Allocate, the process fails with these messages:Error: PolyglotException: please check content of function 'getAllocationProcess'Error: nullI selected the SPC5xN - AEK-POW-BMSEM DualAccess_CHAIN application for discovery sample.Could you help me identify the cause of this error and explain how to resolve it? Please also let me know which project template and components should be used for this board.I can provide screenshots, project files, software version details, and additional logs if needed.Thank you for your help.
I like the voltage regulator LDL212DR by sepification and want to simulate along with my other components. So need Spice model and requesting for a quick help.
Hello,I have a custom board with a 4.2V battery followed by a linear voltage regulator at 3.0V powering a STM32WL33.When battery is inserted sometimes the power up is not clean and the cpu freezes, no code is executed. (the code is just pulling down a GPIO, no other initialization)BOOT pin A10 has a 560 Ohm pull down.Pulling down NRST later doesn’t have any effect. Freeze happens when the VDDIO goes down to 500mV and then rise up again.As you can see in the following images in clean startup the core VCAP voltage rise up from 0 to 1.2V very fast, while in bad case the VCAP voltage follows the VDDIO ramp from 0.5V to 1.2V and the core freeze.BOR is not working!!! NRST is not pulled down.Schematic is as suggested.Any workaround?Thanks!Fabio Good power-up:Green: VDDIO; Yellow: SMPS output on VFBSD; Cyan: VCAP; Purple: NRST Bad power-up:Schematic:
Hi, I’m running the ST BLE Sensor app on an iPhone and when I attempt to change the profile from beginner to expert, it does not take. The result is that many options are grayed out. Am I doing something wrong? Is there a work-around? I don’t have access to an Android device.iPhone 16-Pro iOS 26.62, APP v5.2.6, fp-sns-datalog2 v3.3.0, STEVAL-STWINBX1Thanks, Tony
Hello, I need help with an issue.I work at an IoT sensor startup in Brazil, and we use the IIS3DWB. We are receiving complaints from some customers stating that, after one or two months of use, the accelerometer shows a zero reading on one of the axes (X, Y, or Z). Do you have any suggestions as to what might be causing this?
Current TouchGFX version used: 4.26.0It would save some time if it was possible to lock/unlock all currently selected items in TouchGFX Designer via the right-click context menu: As an additional request it would also be of great use if you could Shift-select a bunch of elements in one go. Currently, you can only use Ctrl+Click to select multiple elements as in the above image. However, it would be useful to also have a Shift+Click for below usecase:
During refactor I sometimes create containers in Designer that should have the same dimensions/location as another existing element. Currently I look at the coordinates/size and copy them by hand, but it would be nice if I could rightclick on the new element (e.g. container) and click “resize/move to ...” and then select another component from the same screen (e.g. a box).
GreetingsI am apprentice in electronics and for a school project I am trying to build a digital clock based on an STM32. I want to use an ST7735 based SPI display to show the time, because I am already familiar with the Adafruit GFX library (I did something similar on Arduino before). Since I have never done a project before, where I am selecting my MCU, although I already have some experience regarding PCB design. My questions/criteria are as follows:I want to have a MCU that I can solder by hand, therefore BGA packages and the like are out of the question The MCU needs to be compatible with the mentioned graphics library, I am aware of HAL libraries but would need assistance in choosing one I need at least 7 or 8 GPIOs to be available, so I can use external buttons to change the time I assume SPI and I2C (might I want to be able to do the programming directly with the MCU soldered to the board, should I implement the programming interface via USB or should I use the SW pins?If I wer
I am working on an industrial embedded control PCB based on the STM32H563VIT6 MCU.We are currently facing significant availability issues for STM32H563VIT6. The part is showing zero immediate stock at major authorized distributors including DigiKey, Mouser, and element14/Farnell, with reported manufacturer lead times extending to several months.Please confirm the current production and supply status of STM32H563VIT6. And also, confirm the expected availability from ST for this specific part number.
Hello,I would like to report a documentation issue in RM0511 Rev6, section 15.9 (LCSC register map, Table 38).The introductory text states:> "The green cells indicate the register is in the VDD12o power domain. This implies those registers are not reset on Deepstop exit."However, in Rev6 the color highlighting is missing from the table — it is not possible to identify which LCSC registers are in the VDD12o power domain. This information is critical for correct Deepstop/low-power mode implementation, as registers in the VDD12o domain retain their values across Deepstop while others do not. **References:**- RM0511 Rev6, section 15.9, Table 38- RM0511 Rev5, section 15.9, Table 39Thank you.
ContextWe are currently using a 3 year old VL53L8CX ULD API version v1.1.0. According to the changelog in the latest ULD API here:ULD API for VL53L8CX version 1.2.0 introduces wrap around filter to limit false positives and an improved rad2perp coefficients which makes corner zones range better. Additionally v1.2.1 adds periodic temperature compensation without stopping and restarting ranging.We are currently facing an issue with a customer where there are missed car detection with VL53L8CX ToF sensor installed in an outdoor setting (in certain situations like in a bright afternoon) and version 1.2.1 might resolve these issues. ProblemThe only available ULD API version on st website is the latest one i.e. 2.0.1. This is a major revision change which increases the porting effort for not a lot of gain from v1.2.1 to v2.0.1 for our specific use case. AskCan you share an older version of ULD API, specifically v1.2.1, to download?
Hi all. We're streaming the IIS3DWB10IS FIFO over 4-wire SPI, mode 3, at 8–10 MHz (on a STEVAL-MKI253KA with a ~15 cm cable). Now and then the part loses its configuration. Registers 0x01–0x12 all read 0x00, while 0x13 and above keep their values and WHO_AM_I still reads 0x50. The zeroed registers include PLL_CTRL_2, which we never write, and PIN_CTRL, IF_CFG and CTRL3, which have non-zero POR values. So it isn't a reset.On the logic analyser (500 MS/s), CS stays low for the whole burst, SCK has exactly the right number of clocks, and SDI is 0x00. Then, 50–80 bytes into the FIFO burst, the sensor stops driving SDO at a byte boundary. INT1 rises within ~100 ns of that moment and falls again 9 bytes later. That is exactly when a "write from 0x00" re-framed at that byte would reach FIFO_CTRL3. It looks as if the SPI frame restarts internally and our 0x00 dummy bytes are taken as a write.The eval board ties DBG1 to GND only through 1 MΩ, where the datasheet says it must be tied to GND. Bri
Is the ROM in the STM32F4 a different memory technology than the flash or is it just write protected flash?
Hello, I’m working of a TM32F769 board the content of the 4 KB backup SRAM (BKPSRAM,0x40024000) is lost after a hard power cycle (VDD removed and re-applied),although: - VBAT is supplied by a 3 V lithium coin cell (Renata, CR1225-type), - the backup regulator is enabled (PWR_CSR1.BRE = 1) and ready (PWR_CSR1.BRR = 1) before power-off, and BRE is still set at the next cold boot, - the rest of the backup domain is retained: RCC_BDCR keeps its value (LSE on/ready, RTCSEL = LSE, RTCEN = 1) and the RTC keeps running, - HAL_PWREx_EnableBkUpReg() returns HAL_OK, - BKPSRAM content IS retained across system resets (NRST / IWDG) while VDD stays present. The test I have performed: 1. Flash and run the firmware once (writes 0xDEADBEEF to BKPSRAM word 0). 2. Disconnect the ST-LINK cable from the board (to avoid back-powering through SWD pins). 3. Remove all board power (VDD). The coin cell stays connected to VBAT. 4. Wait for 5 min. 5. Power the board up without the debugger and
Hi, could you please check the colored cell highlighting in RM0511 Rev 6 register map tables?For example, page 304 states "The green cells indicates the register is in the VDD12o power domain" but no green cells are visible.This affects at least Table 38 (LCSC register map, p. 304).RM0511 Rev 5 displays the colors correctly on the equivalent pages.Thanks
at stm32wl33 datasheet there is RX sensitivity topic but i think wrong– RX sensitivity @ 1% BER:◦ -132 dBm @300 bit/s 433 MHz OOK◦ -128 dBm @300 bit/s 868 MHz 2(G)FSK◦ -112 dBm @38.4 bit/s 868 MHz 2(G)FSKit should be kbit/s .
In Section 5.1 of datasheet for VL53L9CX, it says “Refer to the postprocessing technical note (TN1596) for more details of the data formatting, processing, andfilter functions.”But I cant seem to find the TN1596 document. I am looking for information on the distortion correction on the raw depth output.
In RM0490 Rev 6, Reference Manual for the STM32C0, the ADC Software Calibration Process is specified as follows: Software calibration procedure1. Ensure that ADEN = 0, AUTOFF = 0, ADVREGEN = 1, and DMAEN = 0.2. Set ADCAL = 1.3. Wait until ADCAL = 0 (or until EOCAL = 1). This can be handled by interrupt if theinterrupt is enabled by setting the EOCALIE bit in the ADC_IER register.4. The calibration factor minus one can then be read from bits 6:0 of the ADC_DR orADC_CALFACT registers. The resulting calibration factor must be incremented by oneand written back to the ADC_CALFACT register.5. To reduce the noise effect of the calibration factor extraction, the software can makethe average of eight calibration factor values. This step is optional but recommendedfor better accuracy.The averaging procedure is as followsa) Obtain eight incremented calibration factor values (perform eight times step 2 tostep 4).b) Calculate the average of these eight values and round it up to the nearest integer
Hi All,Ok new to SPCSudio and currently using version 6 - have big problems with components inparticular PAL.Basically all the tutorial talk about using PAL to flash an LED or toggle a GPIO pin.But version 6 appears not to support this!!!So far everyone is suggesting I move back to SPC5Studio 5.8.1.So far not impressed with version 6 - Even the AI helps gets it wrong ! Currently just want to toggle some GPIO pins before moving on the CAN stuff, Currently using the SPC5884B70E5 device and using a SPC584B-DISP dev board to kick off our development. Hope someone can help
Hey -- We would like to include a minimal version of .clang-tidy in our VS Code STM32 project. We use the STM32Cube clangd extension (through the STM32CubeIDE for Visual Studio Code Extension Pack). From our research it appears support for .clang-tidy is not currently included the STM32 fork of clangd. This request is to include that support.😎 Our expectation is that by adding a .clang-tidy file to the project root and --clang-tidy to the .vscode/settings.json (snippet shown below) we would begin to see output in the “Problems” tab and squiggles in the code base as we edit.~DigitalNomad{root}.vscode/settings.json (Win11)"stm32cube-ide-clangd.arguments": [ "starm-clangd", "--compile-commands-dir=${workspaceFolder}/build/Debug", "--clang-tidy", "--enable-config", "--background-index", "--completion-style=detailed", "--header-insertion=never", "--query-driver=C:/ST/STM32CubeCLT_1.22.0/GNU-tools-for-STM32/bin/arm-none-eabi-gcc.exe"
Here is my main and jump to bootloader :int main(void){ HAL_Init(); SystemPower_Config(); SystemClock_Config(); HAL_Delay(500); // Catch bootloader constantly resetting jump_to_bootloader(); while (1) { HAL_Delay(50); }}#define BOOTLOADER_ADDR (0x0BF90000UL)HAL_StatusTypeDef jump_to_bootloader(void){ __disable_irq(); HAL_RCC_DeInit(); // Must be run before disabling systick because it depends on it HAL_DeInit(); SysTick->CTRL = 0U; // Disable systick SysTick->LOAD = 0U; SysTick->VAL = 0U; int count = sizeof(NVIC->ICER)/sizeof(NVIC->ICER[0]); for (int i = 0; i < count; i++) { // Clear pending interrupts NVIC->ICER[i]=0xFFFFFFFFUL; NVIC->ICPR[i]=0xFFFFFFFFUL; } void (*jump_to_bootloader_fptr)(void); jump_to_bootloader_fptr = (void (*)(void)) (*((uint32_t *) ((BOOTLOADER_ADDR + 4)))); __enable_irq(); __set_MSP(*(uint32_t *)BOOTLOADER_ADDR); jump_to_bootloader_fptr(); return HAL_ERROR; // Should never get there because of jump}
HiTrying to download the AutodevkitSW and unfortunately the page appears not to exist. Any help would be great
Hello ST Community,I am working with an STM32F072RBT6 NUCLEO board and I am trying to generate3-phase complementary PWM using TIM1.My requirement is:• MCU: STM32F072RBT6• Board: NUCLEO-F072RB• Timer: TIM1• System Clock: 48 MHz• TIM1 Clock: 48 MHz• PWM Frequency: 20 kHz• Duty Cycle: 50%• Complementary PWM: CH1/CH1N, CH2/CH2N, CH3/CH3N• Required Dead Time: 500 nsMy TIM1 configuration is:Prescaler = 0Counter Mode = UpARR = 2399Clock Division = DIV1CCR1 = 1200CCR2 = 1200CCR3 = 1200PWM frequency calculation:PWM = 48 MHz / (PSC + 1) / (ARR + 1)PWM = 48,000,000 / 1 / 2400PWM = 20 kHzFor the dead time:TIM1 clock = 48 MHz1 timer tick = 20.833 nsRequired dead time = 500 ns500 ns / 20.833 ns ≈ 24Therefore I configured:DeadTime = 24My output pins are:TIM1_CH1 -> PA8TIM1_CH1N -> PB13TIM1_CH2 -> PA9TIM1_CH2N -> PB14TIM1_CH3 -> PA10TIM1_CH3N -> PB15The problem is with the complementary outputs.For example, when monitoring PA8 (CH1) and PB13 (CH1N) on an oscilloscope:• When PA8 is
I already built a project with my custom board and the stspin32g4 which works fine. Now I bought the EVLSERVO1 to evaluate higher power. But after successful code generation and flashing, motor pilot is not working ("Port Open, try to configure the board”) I already tested with another EVLSERVO1 board (because I thought my first one is broken). But second board same behavior.I checked, TX line from STLinkV3 ( 0x 85 FF FF BF) is sent but no answer from EVAL BoardI reduced Baud rate to 9600 because I thought maybe lost data because of high data rate. Maybe somebody can give me a hint. kind regardsPhilipp
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.