Get ready for the STM32 Summit 2026 | Online, November 3
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 could able to find only .hex output file for this demo app. Where is the source code ?
Hi communityI found a missconfiguration in CubeMX while using a MCU TFT with FMC.Description:Device: STM32N6 (STM32N645B0HxQ) / Cortex-M55CubeMX Version: v6.17.0Peripheral: FMC, LCD Interface, 16-bit data width, A16 as RS/DC (Register Select)Symptom: A single WriteCommand() call (one STRH instruction to 0x60000000) produces 3 WR pulses on the oscilloscope instead of 1. The LCD display remains gray despite a correct initialization sequence. All FMC timing parameters and Write FIFO settings were verified and are not the cause.Root Cause: The Cortex-M55 (ARMv8-M) treats 0x60000000 as Normal Memory by default. This allows the CPU to merge and reorder 16-bit write accesses into 64-bit bursts, resulting in multiple spurious WR pulses on the FMC bus. The LCD controller receives garbage data and cannot render anything.Solution: Manually configuring an MPU region for 0x60000000–0x63FFFFFF as Device nGnRnE memory resolves the issue immediately. After applying the MPU config, exactly 1 WR pu
I am currently working on a resolver ad2s1210. I have selected the required pins generated the code and entered my code and now it does not seems to be running. As the screen shows this Kindly let me know whats seems to be the issue here and how to rectify it.
Hello ST TeamI am using the ST25R3911B-DISCO board with an ST25DV16KC tag.I am trying to communicate with the tag directly from Python using the ST25R3911DISCOComm.dll from STSW-ST25R001.My setup is:ST25R3911B-DISCOST25DV16KCWindows PCPython 3.13ctypesThe DLL loads successfully.Reader connection works correctly.RF initialization works correctly.These APIs return success:rfalInitializeiso14443aInitrfalFieldOnAndStarGTcheckConnectionThe ST GUI software works correctly and can:detect the tagselect the tagread UIDread tag dataFrom Python I cannot:detect the tagselect the tagread UIDread memoryThe DLL exports these APIs:iso14443aSelectiso14443aRATSiso14443aPPStxrxBytesnfcTxNBytesnfcRxNBytesrfalStartTransceiverfalTransceiveBlockingTxrfalTransceiveBlockingRxrfalTransceiveBlockingTxRxrfalISO14443ATransceiveShortFramerfalISO14443ATransceiveAnticollisionFramerfalIsoDepInitializerfalIsoDepStartApduTransceivepollInterruptObserved issues:iso14443aSelect causes access violation.t2tRead4Pages returns
I am devoloping a low-power motion detector device using the STM32L071 mcu.The PIR sensor wakes up the system through wake-up pin, and after completing the RF packet transmission, the system goes back to sleep. In other words, I have a system that continuously switches between standby and run modes.How should I implement the watchdog in such a system ?I don't want the watchdog to keep counting while the MCU is in standby mode. I only it to run during run mode.My code like this (bare metal): int main(void) { /* USER CODE BEGIN 1 */ config_getresetflags(); /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); /* USER CODE BEGIN SysInit */ ws_register_sensor_driver(&ws_door_driver); ws_init_mx(); ws_wkp_src(); ws_init_se
Hello,In this file, the line:USBx_HC((uint32_t)ch_num)->HCSPLT |= USB_OTG_HCSPLT_XACTPOS_Pos;wrongly alters bits 1 to 3 of register HCSPLTThat can be fixed simply by removing this line, since middle payload is encoded by bits 00 in the XACTPOS field.
Hello, I purchased an STLINK-V3PWR from Mouser. When I tried to use it, STM32CubeIDE 2.1.1 suggested updating the firmware. This failed, and the STLINK-V3PWR appears to be unusable (bricked). What can I do? Return the device for a refund/replacement? Or is there a way to re-flash the firmware using an STLINK-V3SET? If it is possible to restore the firmware by re-flashing it, where can I find the correct firmware? Kind regards, Jack.
Hello everyone,My apologies if this is in the wrong forum. I have a STEVAL-BMS114TX evaluation board and I'm wondering what to do with unmounted cells, since my pack is 5s. The datasheet for the L99BM114 says to short the unused PCB connectors together, but this definitely cannot be done on its corresponding evaluation board. Does anybody have any advice on how to move forward with this? The STEVAL-BMS114TX datasheet says that it can manage from 4 to 14 battery cells, but doesn't provide much clarity on unmounted cells.Thank you for the help.
Hello everyone,We are currently designing a decentralized Battery Management System (BMS) node for our Formula SAE electric car. We selected the L99BM114 due to its robustness in automotive environments and high measurement accuracy.Our architecture requires this specific node to monitor a 5-series (5S) cell module. Since the L99BM114 supports up to 14 series cells, we will have 9 unused channels.While reviewing Section 6.8 of the datasheet (Unmounted cells), the exact hardware implementation for our case felt a bit ambiguous. We want to ensure our schematic doesn't trigger false internal diagnostics, such as Cell Open Wire or Balancing Short/Open.Could anyone clarify the recommended wiring for the unused pins in a 5S configuration? Specifically:Voltage Sense Pins (C6 to C14): Should all these unused inputs be shorted together and tied to the highest active potential (C5)?Balancing Pins (S and B) & Filtering: How exactly should we handle the external filtering resistors (RLPF) and
Dear Team, Currently we are seeing part below in stock, Can we know if the parts were also assembled in China. Can you please check and confirm on the same. We are planning to procure 250# for production purpose. MPN: STM32H533CET6 (or) STM32H533CET7Source: STMicroelectronics
Dear Team, We are currently using STM32H523CET6 in our designs. Can you please let us know if there any one is to one non- chinese alternative for the same. Please provide your support on this by treating this as critical, because we are holding our production.NOTE:Country of Origin/ Country of assembly/ Country of Manufacturing is NOT CHINA.
Hi !I've using TouchGFX Designer for a while, only using Simulator project (which Board setting is PC) for sfx evaluation and learning. And I wanna try to flash my previous project running on a real microcontroller board like F429 discovery board.Here's my question: How to migrate my previous PC Simulator project to new CubeMX project based on real board project?I tried to find related settings in TouchGFX but failed. Is it the only way to migrate my previous ui into new project by doing all the steps in the new TouchGFX project?Thanks !
Hi,I created a project in STM32CubeMX 6.17.0 targeting the NUCLEO-G491RE and successfully generated the code. I then imported the project into STM32CubeIDE 2.1.1 and as far as I can tell it looks ok. The only apparent issue was that when I clicked on the .ioc file I thought that the STM32CubeMX project was supposed to open inside STM32CubeIDE but instead I get an error saying:So that's one issue. But when I come to build the project in STM32CubeIDE there is no Build All (CMD+B) option available, or indeed any other build options available.This is the folder structure:What is missing from this workflow to create a project that can be built in STM32CubeIDE please?Kind regards,Al
Good afternoon,First post here, so aologies for any ignorance.I am trying to combine the subghz radio feature of WL55JC1 and the ST60 high frequency communication Full Duplex UART bridge.Ideally, I would be switching between these two functions.I have ported the ST60 example to the WL55JC1 dev board, and can get both running independently.But my problems arise because the subghz radio example uses the STM32 Sequencer utility, while the ST60 doesn't.When I try to integrate the sequencer into the ST60 code, it seems like the I2C comm/config channel for ST60 stops working.Does anyone have any guidance/direction in this area?Appreciate your time.
Hi everyone,I am working on an STM32H523 MCU and I have recently observed some strange behavior regarding the PB14 and PC9 pins. I have the following setup:PB14 is configured as input (I use this for the TIM2_CH2 alternate function, but this does not affect the issue) and is externally pulled up using a 10kOhm resistor.The PC9 pin is configured as output.When the PC9 pin is unset, the PB14 is 3.3V, as expected. But when setting the PC9 pin, the voltage on PB14 drops to only 1.13V. These pins are otherwise not connected, so 2 seemingly unrelated pins seem to have some dependency within the stm32h523 chip. Another test was performed by configuring PB14 as output (without pullup). Now, when PC9 is unset and PB14 is set, the voltage on PB14 is 3.30V. When setting PC9, the PB14 voltage drops to 3.26V, which seems related... To make sure it is not caused by our own hardware, we did the same test on a STM32H5 Nucleo-144 board (MB1404C), this development b
I am using STM32CubeMX 6.16.1 to configure a project for STM32F415.I use the FATFS on SD card and set it up as:According to FATFS documentation (https://elm-chan.org/fsw/ff/doc/config.html#lfn_unicode), the data type TCHAR should translate to char in this case. However, CubeMX generates Middlewares/Third_Party/FatFs/src/ff.h in which TCHAR is defined as WCHAR, i.e. a 16-bit type:The _STRF_ENCODE is correctly defined as 3 in FATFS/Target/ffconf.h, which corresponds to UTF-8:Is this a bug? How can I ensure that UTF-8 uses the 8-bit data type correctly?
I got this error also.
Hi everyone, I’m designing my first custom PCB for an underwater ROV project (Leak Detection + ESC Control + Jetson Interface) and I would really appreciate feedback before moving closer to manufacturing. A few months ago I shared the schematic review here, and after applying suggestions I completed the PCB routing stage.Now I would like to ask for a review of the PCB layout itself, especially regarding signal integrity, grounding, routing quality, and overall reliability. The board is designed around an STM32G431CB and acts as a sensor/control board communicating with a Jetson Orin Nano and a separate Power Distribution Board (PDB). Main Functions Reading 4 leak sensors Generating ESC PWM outputs Communicating with Jetson Orin Nano Processing leak sensor states and sending a digital LEAK_FAULT signal to the PDB Interfacing with: BNO08X IMU D300 depth sensor ESCs Leak sensors Board Layout Overview Bottom side: 4 leak sensor connectors Left and right sides: ESC connector
Flint is an accelerometer system in the Smithsonian Museum. It is a MKI109 and MKI 210 pair. It has been in place for about three years after a recommendation from your David Reynoldson, who is a really great guy and helps a lot. We have about six to ten such systems that were used and have now been pulled, but old Flint just keeps on working. It has a partially bespoke C# program. The PI designed and manufactured some small boxes. But to hold the 210 onto the 109 I used a rubber band before it was boxed. It worked well for three years and then broke. Flint had some minor problems:1. You have to use a USB Managed HUB to turn the device on and off if you reboot the computer. The HUB is as expensive as the accelerometer pair. Or you unplug the computer, the device does not reset to home if the computer is switched off - major design flaw in a complex system.2. You have to put a watcher program to monitor the accelerometer program that ca
I recently bought a STM32F446 64 pin chip and wired it up. The following circuit is made: I've installed 0.1uF capacitors between two power pins, and two I've not (It's difficult to do so) it's consuming around 20 to 30 mA Pin 30 shows 1.132 volts (4.7uF cap is installed) voltage 3.298 v oscillator is working fine I tried bypassing the 15uH inductor as I thought that is too much, but neither way works The chip is perfectly soldered, checked for resistances multiple times Tried uploading code from both usb to ttl converter and STM programmer from Nucleo f072rb board all the wiring is correct according to me checked multiple times, but when I upload the code using arduino ide, I get this issue: Sketch uses 16576 bytes (3%) of program storage space. Maximum is 524288 bytes.Global variables use 1212 bytes (0%) of dynamic memory, leaving 129860 bytes for local variables. Maximum is 131072 bytes.NODE_F446RE not found. Please ensure the device is correctly connected.Faile
I tried compiling the generated code of the MCSDKand compiling it by C++ compiler, but the error at the revup_ctrl.h file: pHandle->pCurrentPhaseParams = MC_NULL;prevent such compilation.Will it be fixed soon ?
Hi,I'm having trouble getting my ST-Link V2 dongle to be recognized by Cube Programmer. It is recognized by Windows 10 in the device manager, I have been able to update the firmware, and I can get it to load in STM32 ST-Link Utility, but that program doesn't support the .elf file format I need.When I launch Cube Programmer, it does recognize something as shown by the voltage and the firmware (image attached), but when I click the refresh button next to the serial number it says "No ST-Link detected."I've read from others that there are a lot knockoffs of these dongles floating around that don't work anymore. That might be the problem with mine (this is the second one I've bought and tried). Can anyone point me to a good source to buy a legit one? In the products page, I've only seen the bigger ST-Link V2 unit and the smaller USB-C V3 unit, but not the V2 Dongle.I'm trying to flash a board for an Atari 2600 homebrew game I made and I attached a diagram of what the instructions show
Hello, I am designing a USB-C power sink using the TCPP01-M12 and STM32G071CBT6 (UCPD peripheral). The connector is a Molex 2171790001 receptacle. I have two separate issues and would appreciate guidance on both. --- ISSUE 1: No power at all with Type-C to Type-C cable When I connect a USB-C to USB-C cable between my board and a USB-C charger, the board does not power on. However, when I use a Type-A to Type-C cable (from a USB-A charger), the board powers up fine. Hardware setup:- J1: Molex 2171790001 (CC1 on A5, CC2 on B5 — both routed)- IC1: TCPP01-M12 (CC1C and CC2C connected to J1; CC1 and CC2 connected to STM32 PA8/PB15)- IC2: STM32G071CBT6 (UCPD1_CC1 = PA8, UCPD1_CC2 = PB15)- TCPP01 VCC (pin 12) is driven by STM32 PB12 GPIO (TCPP01_PWR net)- TCPP01 DB/ (pin 10) is connected to STM32 PB11 GPIO- C1 and C2 (330 pF each) are now soldered on CC1c and CC2c lines to GND- R8 and R9 (0 Ω, intended to connect UCPD_DBCC1/PA9 and UCPD_DBCC2/PA10 to GND) are NOT yet soldered — so DBCC1 and D
I have a custom STM32H755IIK6 board where ADC1 and ADC2 are used as an I/Q receiver. The ADCs are configured in dual regular simultaneous direct mode, 12-bit, at 1.92 MSPS per channel.The board also includes a LAN8742A Ethernet PHY. The 50 MHz RMII reference clock trace is routed close to the ADC pins (ETH_REF_CLK on P2, ADC inputs on P3 and R3).Both STM32H755 and LAN8742A use separate 25 MHz crystals.ADC clock configuration:PLL2P = 30.719995 MHzDIVM2 = /5DIVN2 = x153DIVP2 = /25FRACN2 = 4915I observe a periodic spur pattern with peaks at:93.75 kHz280.31 kHz466.88 kHz653.44 kHz840.00 kHz Noise level is below approximately 14 codes p-p when applying a 0.9 V DC input from a signal generator. I am using an external 1.8 V reference.The spur frequencies shift when I change the sampling rate, but the amplitudes remain more or less the same.Initially I suspected the 50 MHz RMII clock because touching the 33 Ω series resistor on ETH_REF_CLK changes the spur waveform, making it resemble a 9
Environment:MCU: STM32WB09KE, Cortex-M0+Board: NUCLEO-WB09KEIDE: STM32CubeIDE 2.1.0STM32CubeIDE Build: 27993_20260219_1630 (UTC)STM32CubeMX Version: 6.17.0OS: Windows 11 HomeFirmware package: STM32Cube_FW_WB0_V1.4.0Example project used: BLE_DirectionFinding_Central_LocatorSetup:I am using the STM32WB09 Direction Finding example project on the NUCLEO-WB09KE board.The project is based on ST’s provided STM32CubeWB0 package and the NUCLEO-WB09KE board files available here: https://www.st.com/en/evaluation-tools/nucleo-wb09ke.html#cad-resources The goal is to use two GPIO pins as antenna-switching control signals for AoA direction finding:RADIO_ANTENNA_ID_0 -> PB0RADIO_ANTENNA_ID_1 -> PB1PB0 works correctly. When configured as RADIO_ANTENNA_ID_0, I can observe the expected switching signal on a Saleae logic analyzer. Screenshot provided here: https://imgur.com/a/uk8L8tq Not much here, but zooming in into each pulse shows rapid switching- you can trust me. PB1
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.