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 am working with NUCLEO-H563ZI. We started with threadX. Out of ignorance, I used LwIP because I knew of it. I got it installed and found out it works with FreeRTOS, not threadX, and I should be using NetX. New Project time. Generate Code with ThreadX and NetX. I see all my files, the standard files and app_threadx files. I see a NetXDuo folder, but I see no netx files in the Core folder to connect up ThreadX and NetX. NetX files compile (and my compiles now take more than 40 second to compile), but there is no connection between main.c or app_threadx.c and netx. Is there a step-by-step tutorial to use netx? I see several topics on netx but I don’t see any “How to plug in NetX” tutorials or anything similar. I am swimming in shark-infested waters, and I don’t even have a boat to avoid being eaten or drowning.Obviously, any help is appreciated. Thanks in advance for directing me to instructions.
Hi everyone,I'm facing an issue while reading a tactile push button connected to PB15 on an STM32G070 series MCU.The GPIO is configured as an input with an internal pull-up resistor. My expected behavior is:Button not pressed: GPIO reads HIGH (1). Button pressed: GPIO reads LOW (0).However, I'm always getting LOW (0), regardless of whether the button is pressed or released.Here is what I've checked so far: Verified continuity between the button and the MCU pin; it seems fine. Checked the button pin configuration, it looks fine Tried reading the GPIO raw value in code, but it consistently returns 0. I'm not sure whether I'm missing any thingCould anyone suggest what I should check next to debug this issue?I've attached images of the relevant configuration for reference.Thanks in advance for your help!
When I extracted the dimensions from the Gerber files of the flex antenna included in the ST25DV04K DISCO kit and entered them into your online tool, the calculated inductance was 5.69 µH. The input capacitance of your IC is 28.5 pF. Using the resonance frequency formula and substituting (L=5.69,\mu H) and (C=28.5,pF), the calculated resonant frequency is approximately 12.5 MHz, which is below the target frequency of 13.56 MHz. I also noticed that the PCB layout includes a footprint for an additional parallel capacitor, presumably for tuning the antenna. Adding a capacitor in parallel would increase the total capacitance and further lower the resonant frequency. Could the inductance value calculated by your online tool be inaccurate? I have attached a screenshot showing the parameters I entered into the tool for reference.
What could be the possible reason for the unresponsive feedback button on the production line? The defect rate is about 2% (total of 2000PCS).The circuit diagram is as follows.We conducted a plug-in replacement experiment, and the phenomenon followed the STM32F071CBT6TR.We plan to conduct IV curve experiments on pins 39, 40, and 41 to determine if there are any issues with these pins. Additionally, we suspect that there may be a problem with pin 6. Have you encountered similar phenomena before? Where is the problem usually?
Hello STM32 Community,I am currently working on a custom PCB designed using the STM32H7A3ZIT6Q (Cortex-M7) microcontroller. I am trying to program the MCU using an ST-LINK/V2 debugger through a Tag-Connect adapter, but STM32CubeProgrammer is unable to detect the target MCU.Hardware configuration: MCU: STM32H7A3ZIT6Q (SMPS variant) Programmer: ST-LINK/V2 Adapter: TC2050-ARM20-10 REV2 Programming cable: TC2050 PCB programming connector: TC2050-IDC-ND footprint External power supply: 3.3 V DC Target voltage reported by ST-LINK: 3.22 V Debug interface: SWD STM32CubeProgrammer settings: Port: SWD Frequency: 100 kHz Mode: Under Reset Reset Mode: Hardware Reset Access Port: 0 Speed: Reliable ST-LINK Firmware: V2J47S7 Error messages:Error: Unable to get core IDError: No STM32 target found!Troubleshooting performed: The ST-LINK/V2 is successfully detected by STM32CubeProgrammer. The programmer reports a target reference voltage of approximately 3.22 V. The PCB is
Is it correct? 26+ batch
Hi STMicroelectronics Team,We are observing MCU failures on multiple IO Controller boards and request your support for detailed failure analysis.On the affected board (BIO-14), the MCU remains continuously under reset and STM32CubeProgrammer reports "DEV_TARGET_HELD_UNDER_RESET". We are also unable to communicate through DEBUG_UART.Key observations:NRST voltage with power ON: approximately 0 V NRST to GND resistance: approximately 1.2 Ω VDD_MCU to GND resistance: approximately 152–155 Ω VDD_MCU: 3.3 V when powered ON VCAP to GND resistance: approximately 2.67 kΩ BOOT/RST recovery attempts and STM32CubeProgrammer Under Reset/Hardware Reset connections at 1000 kHz and 400 kHz were unsuccessfulSimilar MCU failures have been observed on approximately three boards. We would like to send the failed MCU(s) to STMicroelectronics for failure analysis.Please help determine the failure mechanism and root cause, and advise whether the absence of an external pull-up resistor on the NRST line or any
I am working on stm32 C5A3ZG platform for one of my projects. I want to use SD card for data logging. I have working SD card module. I tried to use it with nucleo_c5a3zg board using zephyr RTOS and there infrastructure of file management that code is not working on this C5 controller which uses HAL2 driver. It works on other STM32 controllers which use HAL driver.I tried to create a project in STM32CubeMX2 but couldn’t find configuration for SDMMC over SPI which would be required to interface SD card.I checked in STM example library https://dev.st.com/stm32-example-library/result?filters=N4IgpgHghgtgDgGzAOVmEAuA2gXQDQgwDGArpliAMoAqAsgMwBMAwgKwj4gBGA9lAE4ATcpxgBLQYKQB3AemyjSAEX5iAbmH4iCvAYIAKUIgGsoAc3m4Cg1Rv7UAnnEs4AvkA but was not able to find any sample or SD card.Can someone provide a sample code to me otherwise i have to look for potentially changing the platform and move to some other controller.
Hello everybodyCould someone provide me with a schematic diagram for connecting an STM32U599NJ to an MT29F16G08ABCCBH1-AAT:C? Thanks a lot. Best regards
Hello, When I try to create a project, I get a message saying that the project already exists in the workspace.However, I don't have such a project anywhere on my PC. When I select Yes, I am asked if I want to delete an old project (which doesn't actually exist). When I check the box and select OK, I get a success message, but it looks different from other healthy projects in Explorer and I can't build it. I uninstalled CubeMX and CubeIDE and deleted as many related folders as possible.C:\Users\<UserFolder>\.stm32cubeideC:\Users\<UserFolder>\.stm32cubemxC:\Users\<UserFolder>\.stm32cubeupC:\Users\<UserFolder>\.stmcufinderC:\Users\<UserFolder>\STM32CubeC:\Users\<UserFolder>\STM32CubeIDEC:\Users\<UserFolder>\STMicroelectronicsC:\Users\<UserFolder>\AppData\Local\Programs\STM32CubeMXC:\ST Reinstalling CubeMX and CubeIDE and creating a project again resulted in the same problem.Where is the information for this non-existent pro
When I started working with NUCLEO boards I was very cautious about powering the board up from 5V let alone 12V even powering the board via STLINK USB at 5V (maybe as much as 250mA)So I did some reading. On my NUCLEO-H5E5ZJ :-The buck regulator ST1S40IPUR (U16) becomes transparent at under 5V - it just conducts The linear regulator for main 3V3 is LD39200PU33R (U15) and has very low dropout Most of the STM32H5E5 pins have Absolute Max tolerance rated at 4V If not being used I could put the STLINK into reset via a jumper (less current to board) Avoid initial connection of Ethernet cable or any USBI tried feeding just under 4V limited to 150mA max into the buck regulator and still got 3.3 Volts out of U15. The MCU runs fine and I can boot it using USART1. I haven’t learned how to use STLINK just yet :)For my board with STLINK in reset the Ethernet PHY current about 45mA and total current was 95mA on wakeup and 115mA in bootstrap.Why do this, well if I short more than 4V to any port pi
I have an IIS3DWB10IS connected to ESP32 host MCU via four-wire SPI.It answers the WHO_AM_I correctly and lets me read out accelerometer values successfully.However, when I want to init it to ODR larger than 20 kHz what corresponds to values 0x6 (40kHz) or 0x7 (80kHz) the read back value is 0x05 (20 kHz)What only could I be doing wrong?Do I need to configure anything beforehands setting the ODR?This is the output of my initialization function:[MINI2] R WHO_AM_I(0x0F)=0x50 expected=0x50[MINI2] BDU enable: R/W CTRL3_C(0x12), wrote=0x44 readback=0x44[MINI2] Self-test positive: configure ODR=80 kHz, FS=50 g, INT1_DRDY_XL=1[MINI2] setup readback CTRL1_XL=0x05 CTRL2_XL=0x00 INT1_CTRL=0x01
I was wondering, despite the 10-year longevity commitment cited on the page of the STM32G0 microcontroller, the STM32G0B0VET6 has basically no more supply worldwide and lead time of more than a year.Is there a reason for that? Should I move to a more “available” microcontroller?
As per the subject line, is there a way to derive keys from a symmetric master key stored in a slot of an STSAFE-A120, using the `stselib` included in the X-CUBE-STSE-01 software package? Thanks,Giorgio.
Hi everyone,I want to read data from an SPI slave using SPI3 while the MCU is in STOP2 mode.The communication protocol requires me to transmit a command before receiving the response.I configured LPBAM according to the following YouTube tutorial, and my CubeMX/LPBAM configuration is shown in the attached screenshots.My observations are:If I use only the “Transmit Data” node, everything works correctly. If I add a “Receive Data” node after the transmit node, the SPI transaction stops when it reaches the receive node. However, the “LPTIM1_CH1” output continues to generate trigger signals. If I replace them with a single “Transmit Receive Data” node, neither SPI nor LPTIM1_CH1 works.Could you please explain what might be causing this behavior? Is there any additional configuration required to use the “Transmit Receive Data” node in LPBAM with SPI3 in STOP2 mode?Thank you.
There are still some typos to fix in the migration docum. for instance:"Atomic" API names - change to "unitary" as was agreedPACKET - > PACKED
Hi ST,I have developed and manufactured a custom STM32WL55CCU6 target based board, based on the reference board STDES-WL5U4SBB you provided, and I noticed the following issue:when I uploaded my application that I have uploaded and tested before on the NUCLEO-WL55JC1 Board with region configuration LORAMAC_REGION_US915, I found that the gateway receives only on the uplink sub-channel Band 64 which has a bandwidth 500KHz, although the same application uploaded and executed successfully on the board NUCLEO-WL55JC1 and connected with all other sub-channel Bands with band width 125KHz.In the Board NUCLEO-WL55JC1 based on the target STM32WL55JC17 I Found in the schematic that it has 2 External Oscillators: (TCXO 32MHz and the default HSE 32MHz Oscillators) and the application running on the NUCLEO-WL55JC1 used the TCXO Oscillator, while the other board I developed based on the STDES-WL5U4SBB board has no TCXO (as the reference provided) So my questions are:Q1: What could be the reason of thi
Dear STMicroelectronics Support Team,We are currently investigating a potential EEPROM data integrity issue involving the M95320-A125/A145, and we would appreciate your urgent technical guidance.Our product is already deployed in the field, making this issue particularly critical.1. Application and Write ScenarioOur application uses the M95320 EEPROM, and we repeatedly write data to address 0x1CF.The relevant ECC group is 0x1CC–0x1CF, as described in the Error Correction Code (ECC × 4) section of the datasheet.Our SPI trace confirms that the application sends a single data byte when writing to address 0x1CF. We do not explicitly write to the other three addresses in this ECC group.The relevant SPI transaction is:MOSI: 02 01 CF F8Where: 0x02: WRITE instruction 0x01CF: Starting address 0xF8: Single data byte According to the datasheet, although a single byte can be written independently, the other three bytes in the same ECC group are also affected in terms of write cycling.2. Applic
Hi,I am currently using ST’s OpenSTLinux distribution, version 6.2.1, for our STM32MP135F-based custom board.My objective is to customize the boot and operating system components—TF-A, OP-TEE, U-Boot, and the Linux kernel—to meet our board-specific requirements. Boot media is emmc.I have successfully set up the Yocto build environment and can build the complete image. However, to reduce development and debugging time, I would like to build these components individually rather than rebuilding the entire image after every change.I have also set up the environment for building and installing these boot artifacts separately. I would appreciate your guidance on the correct build and deployment sequence, including which source files, configuration files, device trees, and generated binaries are required at each stage.Could you please clarify the recommended workflow for building, integrating, and flashing TF-A, OP-TEE, U-Boot, and Linux independently while ensuring compatibility with ST’s Op
Hello,I am using an STM32N657 on a custom board.I need to use PA6 as PIXCLK, so I would like to move the BOOT1 function from the default PA6 pin to PN10.According to the STM32N6 BootROM/OTP description, I understood that BOOT1 can be remapped using OTP19 (BOOTROM_CONFIG_10): I programmed OTP19 with 0x15200000 in STM32CubeProgrammer to change BOOT1 from PA6 to PN10.Before programming OTP19, I could connect to the MCU normally through ST-LINK/SWD using PA6 as BOOT1.However, after programming OTP19 to 0x15200000, I can no longer connect to the MCU.The same issue has occurred on more than one custom board.My test conditions are:MCU: STM32N657 I/O supply voltage: 1.8 V BOOT1 remapped to: PN10 OTP19 programmed value: 0x15200000 PN10 is held HIGH before and during reset ST-LINK detects the target voltage During connection, STM32CubeProgrammer can sometimes identify Device ID 0x486, but then reports that the connection to device 0x486 is lost The board works and SWD connection is available bef
Host MCU: STM32G491METx, FreeRTOS, SPI host interface (SPI_RDY on EXTI, CHIP_EN controlled by host) Module: ST67W611M1, T01 binary (LwIP offload profile) Host middleware: X-CUBE-ST67W61, ST67W6X Network Driver v1.3.0 Clock: W6X_CLOCK_MODE = 1 (internal RC); W6X_POWER_SAVE_AUTO = 0 (also tested with 1; the driver disables it in W6X_Ble_Init because of the RC clock) BLE only, no Wi-Fi in useUse caseThe module is used only as a BLE observer. It continuously scans for manufacturer-data advertisements from 2 ble devices, among a crowded environment (40+ devices around).W6X_Ble_Init(W6X_BLE_MODE_DUAL, …) W6X_Ble_SetScanParam(ACTIVE, PUBLIC_ADDR, FILTER_ALLOW_ALL, interval 105 (65.6 ms), window 104 (65 ms)) W6X_Ble_StartScan(cb) W61_BLE_SCAN_TIMEOUT reduced from 5000 to 1000 ms, and W61_BLE_MAX_DETECTED_PERIPHERAL = 40 On every scan-done callback the application calls W6X_Ble_StopScan() and then W6X_Ble_StartScan() immediately. This gives one stop/start cycle every ~0.35–1 s, i.e. thousands o
Hello ST Team,We have a custom STM32N657Z0H3Q board on which BOOT1 is routed to PN10 instead of the default PA6.To configure the Boot ROM to sample BOOT1 from PN10, we programmed OTP Word 19 (BOOTROM_CONFIG_10) as described in RM0486 Rev. 4, Section 5, Table 18:dev_boot_port [24:21] = 9 → Bank N (PN) → 9 << 21 = 0x01200000 dev_boot_pin [28:25] = 10 → Pin 10 → 10 << 25 = 0x14000000 OTP19 = 0x15200000Steps FollowedBefore programming, we read OTP through SWD. OTP19 was 0x00000000, with status 0x00000000, indicating that it was unprogrammed and not write-locked. SWD/ST-LINK access was working normally. We programmed OTP19 with 0x15200000 using STM32CubeProgrammer v2.23.0, without enabling the lock option. The tool reported: "OTP words programming done successfully" After the next power cycle/reboot, the device no longer enters Development Boot. Instead, it boots from Flash, and our FSBL and application start running normally. SWD/debug access is no longer available.Same
Hello,We are designing a PCB around the STM32N657B0 (VFBGA198) using the internal SMPS. VDDSMPS and VDDA18PMU are fed from a dedicated 1.8 V buck, with VDDA18PMU filtered from the same rail, as per Figure 2 in DS14791.For our derating and fault analysis we need the absolute maximum ratings of these two pins, and we cannot find them in any current ST document:DS14791 Rev 11 (Sep 2026), Table 22 “Voltage characteristics”: no VDDSMPS or VDDA18PMU row. The “VDDA18 – VSS, 1.98 V” row lists only VDDA18PLL, VDDA18CSI, VDDA18USB and VDDA18ADC. DS14791 Rev 11, Table 25 “General operating conditions”: VDDSMPS and VDDA18PMU are 1.62 / 1.8 / 1.89 V. DS14791 Rev 11, Table 29 “Characteristics of SMPS step-down”: the input is called “VDDA18”, 1.62 to 1.89 V. AN5967 Rev 6, AN6000 Rev 1 and RM0486 Rev 4: no absolute maximum for either pin.QuestionsWhat are the absolute maximum ratings (min and max) for VDDSMPS and VDDA18PMU? Does the “VDDA18 – VSS, 1.98 V” row in Table 22 also cover VDDSMPS and VDDA18P
Hello,Our STM32N657 appears to be revision B. We use a battery-powered board with an STM6601 power-button controller. The MCU asserts PSHOLD early in the FSBL to keep power enabled.ES0620, section 2.2.18 specifies setting SYSCFG_CM55RSTCR.CORE_RESET_TYPE, followed by a software reset (NVIC_SystemReset()), after the first power-on reset.That additional reset conflicts with our power-hold arrangement.Is the initial software reset strictly required for the NRST workaround, or can we set CORE_RESET_TYPE and continue booting? If it is mandatory, is there a supported alternative that avoids this extra reset?Thanks!
I am observing that some of the #defines are not highlighted in blue color in STM32 Cube IDE, some are highlighted. What is the reason? It is bit inconvenient if it is not highlighted.
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.