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
Hi, I’m working on a custom board based on STM32H757BITx using an external NOR flash Micron MT25TL01GBBB8ESF-0AAT TR (Dual bank with Quad Lines)Current usageAt the moment, the external flash is mainly used to store UI assets (images/fonts/etc.) for a display. I’m not using the full flash capacity, so I’d like to use an unused region to store a small persistent structure (configuration/status/log header).To keep things organized, I created a partitioning scheme using the linker file, reserving separate address ranges:UI assets region (read-only at runtime)User structure region (needs occasional write/erase/program)How it’s configured right nowSince up to now I only needed runtime reads, the flash is configured in Memory-Mapped Mode (DTR, QPI). I enable it with:MT25TL01G_EnableMemoryMappedModeDTR(&hqspi, MT25TL01G_QPI_MODE);This works great for reading UI assets through the mapped address space. ProblemI now need to write into the user structure region, but I unde
Dear STM32 MC Support Team, I recently purchased the B-L475E-IOT01A IoT development board for my project. I am currently trying to interface it with a BME668 environmental sensor and an AS7265x Spectral Triad sensor. However, I am facing an issue while attempting to view the output through a serial monitor. Despite trying multiple serial monitoring tools, both online and offline, I am unable to receive any data output from the board. I would greatly appreciate your guidance in resolving this issue. Any support regarding configuration, setup, or troubleshooting steps would be very helpful for my project. Thank you for your time and assistance.
I'm trying to compile a basic blinky application for the N6 and failing. I open the latest CubeIDE, import the GPIO_Toggle project (or any other one for that matter) and try to build. I get an error about no rule to make target. Please provide guidance on how to build the basic examples 13:47:52 **** Build of configuration Debug for project GPIO_InfiniteLedToggling_Init_FSBL **** make -j11 all make: *** No rule to make target '/Users/workspace/STM32CubeN6-git/Drivers/STM32N6xx_HAL_Driver/Src/stm32n6xx_ll_exti.c', needed by 'Drivers/STM32N6xx_HAL_Driver/stm32n6xx_ll_exti.o'. Stop. "make -j11 all" terminated with exit code 2. Build might be incomplete. 13:47:52 Build Failed. 1 errors, 0 warnings. (took 83ms)
Hi, The L9945 driver used in our proprietary automobile controller unit responsible for controlling actuators and pumps in exhaust system regulating harmful exhaust gases adhering to emission control policy. Case1: OUT 2 channel: Nominal frequency = 800 Hz, Max = 1000Hz Short to Battery (STB) • Function is consistent till 99.99% and no failure detected till the range. • However, setting the frequency to maximum requirement 1000Hz caused failure even at 80% TON itself. Short to Ground (STG) • Failing after 98% with nominal frequency – no STG detection, detecting as open load Open Load (OL) • Failing after 98% with nominal frequency – no OL detection. SPI command for channel 2: 0x26000082 Case 2: OUT 3 & OUT 7 channels: Both channels are configured as individual low side with same parameters Nominal frequency = 10 Hz S
Hello,I'm migrating STSW-STPM004 firmware from IAR to STM32CubeIDE (GCC).The metrology_STPMS2.a library was compiled with IAR and causes UsageFault(CFSR=0x00008200, INVSTATE bit set - ARM/Thumb interworking issue)when linked and run with GCC.Is there a GCC-compatible version of metrology_STPMS2.a available?Or is the source code available for recompilation with GCC?Environment:- Board: EVALSTPM-3PHISO Ver 1.1- Firmware: STSW-STPM004- IDE: STM32CubeIDE 2.1.1 (GCC 14.3, arm-none-eabi)Thank you
HelloCurrently I am working with NUCLEO-N657X0-Q by using STM32CubeIDE_2.1.1 STM32Cube_FW_N6_V1.3.0MxCube v6.17.0Trying to investigate and migrate CDC ACM feature in to the my own project. As basis I am using Ux_Device_CDC_ACM Example provided by ST as reference.It was discovered that Ux_Device_CDC_ACM example would not work properly after MxCube project regeneration -- it goes to the HardFault_Handler() at some point (not defined currently at which point)The investigation showed that the issue is connected with the Optimization level (MxCube updated STM32CubeIDE project files) just only for the one single source file: "stm32n6xx_hal_rcc_ex.c". If optimization level is set to "-O0" for the mentioned file -- HardFault_Handler() is observed. By changing it to the "-O3" -- the application works successfully.Could you please explain this "hidden" dependency, and what is the reason of this?
Hi all,I designed a custom STM32 board that powers up, but the firmware starts only after I manually press the reset button. Once reset is pressed, everything works normally. The clock source is an external crystal, and BOOT pins are configured with resistors. Questions: Should I suspect reset timing, clock startup, or BOOT pin state first? Would increasing reset delay with an RC network help? On the PCB, how close should crystal traces and load capacitors be placed to the MCU pins?
Hi,we are using the internal SMPS for core voltage generation.VDD, VBAT and VDD18AON are on 1.8V. My question is if I can also power up the other 1.8V lines (VDDSMPS, VDDA18USB, VDDA18CSI, VDDCSI,VDDA18ADC and VREF+) simulteanously with VDD, VBAT and VDD18AON or does this harm the device?So I would like to power up the 1.8V lines all together to get rid of an additional load switch on the PCB (for delaying the "late" 1.8V lines) due to space constraints. Is it possible? Thanks a lot!
HiI am trying to setup the NUCLEO-G491RE along with a X-NUCLEO-SNK1M1 to communicate with a USBC PD source.I have tried to follow the STM32StepByStep - Getting started with USB-Power Delivery Sink.STM32StepByStep:Getting started with USB-Power Delivery Sink - stm32mcuAfter generating the code and trying to build the project I get the following error:fatal error: gui_os_port.h: No such file or directorymake: *** [Utilities/GUI_INTERFACE/subdir.mk:25: Utilities/GUI_INTERFACE/gui_api.o] Error 1make: *** Waiting for unfinished jobs....I am unsure how to make this error go away, because as far as I understand it, the CubeMX code generator should give me all the necessary output files to make this simple sink project functional.I would like to get the GUI to work, such that I can verify the ability to change the power output of the USBC Source.I attached the generated files along with the CubeMX file.Thanks in advance.
During the initialization of STM32 UHS-I, it has an IO output of 3.3V. After initialization, it outputs at 1.8V. However, I noticed that the external voltage switch transceiver is powered at 1.8V on the host side. I'm afraid it might burn out the external voltage switch transceiver. Before initializing the SD card, can the SDMMC internally switch to a 1.8V control signal and directly input it to the external voltage switch transceiver? I noticed that the voltage switch transceiver A side recommended in <RM0433> is also powered at a fixed 1.8V. Is there another way to use the SDMMC
Greetings! I am using the LIS2MDL magnetometer in continuous mode (10 Hz) with hard-iron offset and interrupts enabled. (Full settings: CFG_A: 0x90; B: 0x0A; C: 0x50; INT_C: 0xE5) And I am trying to detect a magnetic object coming near the device. The interrupt threshold I have currently set is 80 (int). The sensor is powered with a stable 1v8.When I leave the sensor to measure and wait for an interrupt in an environment with no stimuli, the sensors that I have at hand all seem to generate weird false impulses out of thin air. They appear in the form of bit/byte flips, that happen only on the MSB part of the 16-bit data block.For example, if I am constantly reading the sensor values (at 10 Hz, same as sensor), there is a possibility that I will read the false vector value from the axis registers. The raw values for the X axis would look like: "0x0028; 0x0027; 0xFF28; 0x0029". As far as I have observed, this has only happened on the X axis (for the ~50 recorded instances, only one
error updating STM32CubeIDE 2.1.1 see attachment.
Hello ST Community,I’m working with the STM32 Nucleo-N657 board and need a way to execute my application after flashing to external memory without manually toggling the BOOT1 jumper on the board.What I’m Doing Now:BOOT1 jumper is set to HIGH for development (DEV boot mode)I have a simple LED blink application built with GPIO configured in the FSBL context The code runs as expected in DEV mode (debug mode of STM32CubeIDE)I then flashed the signed binary in external memory using STM32CubeProgrammer and External Memory loader for Nucleo-N6 board at address 0x70000000. Then, I switched BOOT-1 jumper to LOW and reset the board. The code runs as expected from external memory.Problem:I have N6 board connected to a remote PC and won’t always have physical access to toggle the BOOT1 jumper and press reset.I would like to know:Is there a programmatic or configuration-based way to run the program automatically after flashing, without needing to change the BOOT1 jumper man
Hello,I am using a STM32WL55 UFQFPN48 in an application. I am only using the high power output (up to +22 dBm) and only plan on transmitting with this device.I want to transmit in the 420-440 MHz range, but there does not seem to be any load-pull analysis data from within AN5457 which would give output impedance at this frequency. I can only find data for higher bands. Is this data found somewhere else? I would like to use it for simulation and calculation.Best
Hi,We were attempting to control a high-voltage BLDC motor using the EVSPIN32G06Q2S1 evaluation board. While following the Getting Started procedure described in UM3394, the board got damaged during the power-up stage.Below are the steps we followed and the observations we made.Steps performedGenerated firmware using Motor Control Workbench.Flashed the firmware to the evaluation kit using the Nucleo board’s ST-Link.The digital section was powered using the 3.3 V supply from the ST-Link.Power-up observationsWhen only AC power was applied, the power stage turned ON, but the logic section was not powered.When VDD was supplied via ST-Link (3.3 V) and AC power was applied, the board was damaged:The 5 A fuse (F1) blew.The 0 Ω resistor (R29) burned.VDD and GND are now shorted.QuestionsCould someone clarify the correct power-up sequence for this board when using ST-Link for programming?What is the purpose of R29 shorting the logic ground and power ground ReferencesUser Manual: UM3394Eval
Dear, @halfhalf Post Edited by ST moderator to apply source code formatting and translate from Chinese to English to comply with the community rule:Best regards,Gyessine------------------------------------------------------------------------------------------------------------The STM32G474R datasheet does not mention the BOOT1 pin.If the BOOT0 pin of STM32G474R is set to high, where does the program start?If the BOOT0 pin is set to high and the BOOT1 pin is set to high, the program starts from SRAM. Is the program size limited by the size of SRAM? If a bootloader program and a main program are written, with the bootloader starting at address 0x20000000 and the main program starting at address 0x08000000, can this solve the issue of jumping from SRAM at 0x20000000 to flash memory at 0x08000000, so that the main program size is only limited by the size of flash memory?----------------------------------------------------------------------------------------------------------
Hi, everyone.I'm trying to configure I2S in a STM32H523CET. I'd like to activate MCLK signal, but I can't find how. I'd also like activate external clock input for I2s (AUDIOCLK signal). The CubeMX says:"Audio Clock Input is not available.To enable it, one of the following RCC Mode(s) or IP(s) have to be configured from the Pinout TAb:-EnableExtClockForSAI1"But again, I can't find where to activate that.
Hello.I'm trying to work with the B-G431B-ESC1 board.I've assembled a prototype consisting of the specified board, a T-Motor MN3510-13 KV700 motor, a 13*4.4L propeller, and a 4S battery. I'm using MC SDK v6.4.1.At first glance, everything seems to be working fine. The motor starts with the specified propeller and runs fine up to about 7500 RPM.Then problems begin as the RPM increases. Depending on the battery's discharge level, i.e., the bus voltage, at certain RPMs the program seems to lose control of the motor. The motor revs up, and RPM, current, and power fluctuate. I understand that at such RPMs and under such a load, the modulation index is high and approaches 100%. I'm essentially starting to hit the limit. But this response doesn't satisfy me. Previously, I tested this motor with the same propeller and battery using the STEVAL-ESC001V1 board. I approached the same limit, but there were no oscillations. The motor simply stopped accelerating when it reached a certain RPM. For exa
Hi, Im using the L9963E for a Battery Management System. I noticed that the device has a register called "FSMstatus". I don't understand if reports the current status or the previous status. For example, if the device is in SLEEP, in order to read the FSMstatus register, I have to wake it up, and the device goes to the NORMAL state. Now the FSMstatus reports the SLEEP or NORMAL state? Unfortunately I cannot try the code.
I'm faced with connecting a (piano) keyboard to an MCU using a number of columns and a number of rows.The principle is shown in the attached photo. I've read approaches where the coulmns are pulled to low while the rows are inputs that are sensed.Am I right that with the given arrangement it would be appropriate to set the columns to "HIGH" and sense the rows whether they are "HIGH"? Excuses, forgot to say which MCU: it's an STM32F103C8T6 here.The diodes are common practice to avoid so called "ghost hits" when multiple contacts are actuated.
Hello,I was working with STM32CubeIDE version 1.8.0 on a project. I just download version 1.9.0, trying to import the project.In the importation Wizard, when selecting the correct directory, the project name is displayed, but when clicking "Finish", the importation window close, and nothing append.Is this a known issue? Is there something to do to make it work?Thank youAntoine
Hello community ,I am going to do 9 axis sensor fusion (6axis accel and gyro + 3axis magnetometer) and got across to the MEMs-Studio suite. I've bought STEVAL-MKI109D for motherboard and STEVAL-MKI217V1 as the shield. STEVAL-MKI109V3 is out of stock at that time.I pluged the USB for STEVAL-MKI109D with mounted STEVAL-MKI217V1, but the STEVAL-MKI217V1 isn't recognised but was recognised as STEVAL-MKI197V1 instead. The features of 6axis are fine but I need to test the 3axis mag also. Here are my software setting.STEVAL-MKI109D firmware was updated to v 0.8.14MEMs Studio 1.4.2
Can you help me to finde the Part number in the foto BEV GP 344.
Hi, I am looking for a microcontroller in the STM32F103 series or a similar Cortex-M3 series for my satellite research. I need a specific type (full part number would be best) that has been used on a satellite that has already flown in space. Thank you.
Good day,I want to measure the VBAT voltage of a STM32WL31 using its ADC. I setup the ADC channel as follows using the ST HAL driver:ADC_ChannelConfTypeDef ConfigChannel = {0}; ConfigChannel.Channel = ADC_CHANNEL_VBAT; ConfigChannel.Rank = ADC_RANK_1; ConfigChannel.VoltRange = ADC_VIN_RANGE_3V6; ConfigChannel.CalibrationPoint.Number = ADC_CALIB_POINT_1; ConfigChannel.CalibrationPoint.Gain = LL_ADC_GET_CALIB_GAIN_FOR_VINMX_3V6(); ConfigChannel.CalibrationPoint.Offset = LL_ADC_GET_CALIB_OFFSET_FOR_VINMX_3V6(); if (HAL_ADC_ConfigChannel(&hadc1, &ConfigChannel) != HAL_OK) { Error_Handler(); }I seem to be getting correct ADC measurements (actual=3.0V, adc_measured_&_converted=3.15V), but the detail seems to be sparsely documented in the device datasheet and manual, so I just want to check a few things: Q1: I am not sure how the calibration point number relates to the measurement - when would one use ADC_CALIB_POINT_2 etc? Q2: What is the reference voltage used by the
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.