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
Hello,We have a design that uses an STM32G071 microcontroller and we are currently having issues sourcing the components. We are in discussions with a supplier from China who claims to have old stock, but we have doubts regarding its legitimacy.On our assembled boards, we use parts purchased from Mouser, which are laser-etched: The part the Chinese supplier is offering is this one: I'm not sure what to make of this second image. Instead of laser etching, it has a white silkscreen/ink marking, and every single one of the ICs has the exact same lot and date codes.Could anyone clarify if ST ever used white ink markings on this package, or if this is a clear sign of a counterfeit?
Did anyone have issue with freezing LPS22DFsensor?Have it connected using 4 wire SPI at 3.3 and 3.3 Volts. It successfully starts and reads temperature and air pressure once and than stays at the same value with no updates until I reset power on it. I can still read the Who_Am_I register which returns the correct valie (zeroed every time after it is read, so no doubt it reads every time) but the Air pressure and Temperature registers not updating. I use NoFIFO setting and sensor updating once per second. What I may be doing wrong?I do not use burst mode for reading and read individual bytes separately (not sure why but burst reading does not work for me)Using MikroC compiler.and PIC18F25K83 MCU
I would like to ask if there’s any major differences when making the chips in STM32G4 series, like the STM32G441 to STM32G473 for example
I try to do power wirign for the STM32N645 but unfortunately the AN and the User Guide are not perfectly clear and somewhat incomplete.When I understand it correct, the STM32N6 generates the VDDCORE voltage of 0,89V internally, so all I have to do with the VDDCORE-pins is to connect them with each other and to couple each of them with 100 nF to ground, right? For this I need a specific SMPS configuration which lets the MCU generate this voltage. Here I have a description in the AN and the User Guide which shows some wiring scheme named “Configuration when using SMPS (option 1)” that consists of two inductances and a capacitor and external 1.8V feed into VDDSMPS input.My problem here: the wiring scheme of the development board of that MCU is completely different to what the documentations say. And: neither in the AN nor in the User Guide there are any values for these components. So the question is: what wiring should i use with which component values to let the MCU generate the VDDCORE
We have been trying to access DBGMCU on an STM32H7A3 via software. The background is that the project shares code that in an other project runs on an H743 and for example needs to adjust how it interacts with the flash.We’re now experiencing the strange behaviour that when a debugger is connected the DBGMCU ID code reads correctly as 0x10076480. When no debugger is connected it reads as zero (0x00000000). This is the case when debugging using GBD or when connecting via STM32CubeProgrammer. Connecting via STM32CubeProgrammer to an already running processor makes it readable. After disconnecting it reads zero again.We’ve tried accessing the ID both viaAL_GetDEVID()HAL_GetREVID()as well as directly viaDBGMCU->IDCODEwith the same results.Testing access to the writable parts of DBGMCU show a similar behavior where it works when connected to the debugger but not otherwise.Now we are wondering if there are any clock or power configurations that could lead to such a behavior. We’ve seen sim
All the microcontrollers in this comparison test are STM32L072CZT6, and they used the same firmware, PCB, and testing procedures. The test results are as follows:PCB new batch MCU – UID: 16473531-32333338-003C0041This is the STM32L072CZT6 from the new batch we received. Without making any changes to the firmware, the LED indicator flashes blue (instead of green), and the current consumption in sleep mode is about 6.44 mA.Previously manufactured batch MCU – UID: 19513931-30383135-0017004EThe LED flashes green, and the current consumption in sleep mode is about 117.97 µA.DigiKey STM32L072CZT6 – UID: 04473234-34313430-00160034This component was purchased directly from DigiKey. The LED flashes green as expected, and the current consumption in sleep mode is about 43.07 µA. The newly supplied components show significant performance differences compared to the reference components obtained from DigiKey.The difference in sleep current is extremely noticeable: the former is around 6.44 mA, whil
STM32CubeIDE v2.2 has left all of our code in question. We need guidance with the CMake since we no longer have any helper dialogs of the old IDE to create a project within the new framework that matches the old IDE. list of helpful guidesNo HAL is neededa CMSIS and DFP environment for the selected processorCMake snippets that allow us to create and include legacy library code (adjusted for new processor)methods to control code optimization for code sections and filesdirectory structure methodsbasic commands to show what size of code we just compiled and output formats ie .hexWe believe this would be a great tutorial to ease the transition. I’m sure I have missed many other features of the old environment that you will quickly attend to.Any guidance that doesn’t require 200 hours of head banging appreciated. Glenn
Hello STM32N6 Tech support I am writing with reference to power on sequence. My power sequence is as follow1. First VDDA1V8_AON, VBAT and VDD is applied. My VDDIO4 & VDDIO5 is also connected with VDD.2. VDDCORE is supplied from an external SMPS step-down converter. We applied VDDCORE when the PWR_ON signal is high. VDDCORE is also connected with VDDCSI3. On the same PWR_ON my VDD3V3 is switched on. It is connected with VDD33USB.4. On the same PWR_ON my VDDA1V8 is connected. However, the input voltage of VDDA1V8 (linear regulator) is connected with VDD3V3. VDDA1V8 is connected with VDDA18CSI, VDDA18USB, VDDA18ADC.Can you please explain the above mentioned sequence will work for powering on STM32N6. I need comments on the following.1. Step 3 & Step 4 is not strictly defined in Getting started with hardware development for STM32N6 MCUs - Application note.pdf and an6000-how-to-build-the-discrete-power-supply-for-stm32n6-mcus-stmicroelectronics.pdf.2. I am not following any power do
Hello,I am looking for an existing implementation of the SAE J2716 SENT (Single Edge Nibble Transmission) protocol for an STM32L4xx device.My goal is to interface with sensors that use the SENT protocol and decode the incoming data stream on the MCU.At the moment, my idea is to use:A timer channel configured in Input Capture mode to measure pulse widths. DMA to transfer captured timer values with minimal CPU overhead. Some form of interrupt or callback to process a complete 32-bit SENT message (24-bit payload + CRC + Status nibble).Since this requires coordinating several hardware peripherals (timer, input capture, DMA, interrupts, and frame decoding), I would like to know whether ST already provides any of the following:Application notes related to SENT reception. Example projects demonstrating SENT decoding. STM32Cube examples, Middleware, libraries, or reusable classes implementing the SENT protocol.If anyone has experience implementing SENT on STM32L4 devices, I would appreciate an
When testing the gyroscope of this product (LSM6DSV80X) we noticed that the noise density on each gyro axis is different with z being the lowest. This was observed on the dev-board (STEVALSMKI109DA) both in high performance and HAODR modes. The ratio between x and z is particularly noteworthy. Is there an explanation for this? The datasheet only reports one noise density so I am assuming that all axis should be the same. The same characteristics has been found on two different units. N.B.: Plain implies high performance. Rn is the noise density
Hi,The project was created in stm32mx from the example project cortexm_sysk.It was generated as a CMake project and developed using VS Code.The "USB Device Middleware Library MCU Software Component" library, version "V2.11.4 / 11-April-2025", was manually added.CDC alone OKUVC alone OKCDC/HID OKCDC/UVC NOT OKSee file in attachment.I noticed the file descriptor is large (239 bytes). Is that a problem?Is there another setting I need to change?Regards,Sébastien
I am trying to get to the lowest possible power consumption on a WB55 NUCLEO board while the BLE is advertising every three seconds and waking up on the RTC every second. I have the NUCLEO booting up on the HSE clock, and the stm32_lpm_if.c code switches from HSE to HSI and back as it enters and exits STOP2. Re-enabling HSE takes about 24 ms and consumes significant current, giving me an average of about 62 uA in this mode. I’ve found that if don’t enable the HSE, but stay on the HSI the current drops to about 10.5 uA. The BLE radio functions normally, and I can connect and disconnect and return to the 10.5 uA advertising mode. Is CPU2 somehow choosing the LSE clock to run on when it exits STOP2 and the HSE is not available? What is going on? The documentation is adamant about needing 32MHz for the system clock when running the radio.
Hi,I am using the STM32H563ZI with the MB1404C board and running the “I3C_Controller_HotJoin_IT” example from the following repository: https://github.com/STMicroelectronics/STM32CubeH5/tree/main/Projects/NUCLEO-H563ZI/Examples/I3C/I3C_Controller_HotJoin_IT.The target device is a different board, not another STM32H563ZI - for example, the “I3C Protocol Analyzer and Exerciser” from Prodigy Technovations.After initializing the I3C controller and connecting the I3C target device to the bus, the SCL line of the I3C controller continuously toggles.Using STM32 Sidekick, I identified the following errata:Errata: Constant SCL Ticking with I3C Controller on STM32H563ZI1. Known Issue DescriptionWhen using the STM32H563ZI in I3C controller mode (such as with the I3C_Controller_HotJoin_IT example), there is a documented errata where, after initialization, the controller may incorrectly detect the SDA line as low, interpret it as a start request, and activate the SCL clock. This results in the cont
Hello,I’ve migrated from sdk V25.06.11 to sdk V26.06.10 to compile FIP, tfa, boot and kernel for STM32MP257F-DK board.While the scripts “make_mp2_FIP.sh” and “make_mp2_KERNEL.sh” were working properly with sdk V25.06.11, the script “make_mp2_FIP.sh” hangs nows in the middle of the compilation with an error “ LDS /Documents/STM32_packages/Sources_v26.06.10/stm32mp-openstlinux-6.6-yocto-scarthgap-mpu-v26.06.10/sources/ostl-linux/tf-a-stm32mp-v2.10.24-stm32mp-r3.1-r0/tf-a-stm32mp-v2.10.24-stm32mp-r3.1/../build/optee-sdcard-stm32mp257f-test2-mx/stm32mp2-stm32mp257f-test2-mx.o/opt/st/stm32mp2/5.0.17-openstlinux-6.6-yocto-scarthgap-mpu-v26.06.10/sysroots/x86_64-ostl_sdk-linux/usr/libexec/aarch64-ostl-linux/gcc/aarch64-ostl-linux/13.4.0/ld: cannot find -lgcc: No such file or directory/opt/st/stm32mp2/5.0.17-openstlinux-6.6-yocto-scarthgap-mpu-v26.06.10/sysroots/x86_64-ostl_sdk-linux/usr/libexec/aarch64-ostl-linux/gcc/aarch64-ostl-linux/13.4.0/ld: cannot find -lgcc_s: No such file or direc
i meet this erro,and i resolved it by go window---Fireware updater----Check connection. then i can connect the internet, and connection to my account. Finally, I suspect it might be a problem with the network. You can try changing to a different network first. For example, you can use your mobile phone to create a hotspot.
Hi,I have a SoM based on STM32MP135c (QSMP-1351) and I try to enable the secure boot using STM32_Programmer_CLI (STM32CubeProgrammer v2.22.0)Here is the flash layout file used before updating OTP:#opt Id Name Type Device Offset Binary- 0x01 fsbl-boot Binary none 0x0 tf-a-loader.stm32- 0x03 fip-boot FIP none 0x0 fip-loader.binI can write PKHTH without any issue:STM32_Programmer_CLI -c port=usb1 -otp write word=0x18 value=0x????????STM32_Programmer_CLI -c port=usb1 -otp write word=0x19 value=0x????????STM32_Programmer_CLI -c port=usb1 -otp write word=0x1a value=0x????????STM32_Programmer_CLI -c port=usb1 -otp write word=0x1b value=0x????????STM32_Programmer_CLI -c port=usb1 -otp write word=0x1c value=0x????????STM32_Programmer_CLI -c port=usb1 -otp write word=0x1d value=0x????????STM32_Programmer_CLI -c port=usb1 -otp write word=0x1e value=0x????????STM32_Programmer_CLI -c port=usb1 -otp write word=0x1f value=0x????????When I want to lock device, I use the comm
I would like to learn TouchGFX development using the STM32H7S78-DK board. Could you please guide me on the recommended way to get started? any example?
We are currently evaluating a board design based on the STM32MP253FAK3, and would like to confirm the following regarding the DDR4 memory configuration.[Configuration under consideration]MPU: STM32MP253FAK3Memory devices: Two DDR4 8 Gbit x8 devices (1 GByte each), mounted as two separate packagesBus width: 16-bit (Byte0 = device #1, Byte1 = device #2)Rank configuration: Single rank (CS0 / CKE0 / ODT0 shared by the two devices)Total density: 2 GByte[Questions]1. Support for this topologyIs the "two x8 devices / 16-bit" configuration — that is, forming a 16-bit bus using two x8 devices in separate packages — supported on the STM32MP253FAK3?In AN5724 (Guidelines for DDR memory routing on STM32MP2 MPUs), only the following two configurations are described for DDR4:16-bit interface: one x16 device connected point-to-point (Section 3.4)32-bit interface: two x16 devices connected in a fly-by topology (Section 3.2)We could not find any description of a configuration using x8 dev
HelloI’m using TouchGFX 4.26.0 on a STM32H747 and want to use RGB compression of the bitmaps to get the size of the firmware image smaller. To prevent performance loss, all bitmaps are loaded into the cache at startup. I have enough free SDRAM for the cache, so this is the easiest method and doesn’t require manual maintenance when adding / removing bitmaps to the project.Because the displays native orientation differs from the application orientation, image rotation is set to 90° by default.The code to load the bitmaps is shown below. This function is called at the end of TouchGFXHAL::initialize()void loadAllBitmapsIntoCache(){ const uint16_t totalBitmaps = BitmapDatabase::getInstanceSize(); for (uint16_t id = 0; id < totalBitmaps; ++id) { touchgfx::Bitmap bmp { id }; auto format = bmp.getFormat(); bool ok; if (format == touchgfx::Bitmap::BitmapFormat::COMPRESSED_RGB565 || format == touchgfx::Bitmap::BitmapFormat::COMPRESSED_ARGB8888 ) { ok = touchgfx::Bitmap::decompressR
I'm in debug mode in STM32CubeIDE.On the SFRs tab in the upper right corner, I want to enable UART4 and check the register status.But I only see UART-related items: LPUART/USART1/USART2/USART3.Why can't I find UART4?My MCU is an STM32C551RCT6.I'm very certain this IC has UART4
For first time programming this IC the reset pulse should go high to low for 4ms then it should comeback to high like a pulse which is programmer to use ?STLINK-V3MINIE - will be suitable ?Suggested for this requirement a programmer.MPN : STM32L021D4P7
Hi,I have read about the capabilities of the STM32G030P6T6 microcontroller, and they are truly excellent. Is it possible to implement any desired effect for WS2812 LEDs using this microcontroller without an HSE crystal?Are there any limitations?
We encountered an issue with the MPXM2053GS sensors: several units showed no output after SMT assembly. Decap analysis revealed that the die in the failed parts was damaged. We would like to understand whether this was caused by mechanical mishandling or other factors, and what measures can be taken to prevent recurrence.
Hi Sir, May i ask you to get the latest version 6.6 CMRT FOR TIP147,Thanks. Best Regard,Victor Lai
Hello everyone,I’m working with an STM32F103C8T6 (Blue Pill) development board and facing an issue while trying to program/debug the MCU using ST-Link V2.Board used:https://robocraze.com/products/stm32f103c8t6-arm-development-boardIssue details:STM32CubeProgrammer / STM32CubeIDE does not consistently detect the targetSometimes shows “No target connected” or fails during connectionTried SWD mode with NRST connectedBOOT0 is set to 0 (Flash mode)Power supplied via USB (5V) and also tested with external 3.3VChecked SWDIO, SWCLK, GND continuityI’m not sure if this is related to board configuration, clock settings, or ST-Link connection parameters. I’d appreciate guidance on:Recommended ST-Link connection settings for STM32F103C8T6Any known issues with Blue Pill boards (pull-ups, reset circuit, USB power, etc.)Whether enabling connect under reset is mandatory for this MCUI’m still getting familiar with the forum and STM32 ecosystem, so apologies if I’ve missed something obvious. Looking forw
ST Community highlights – April to June 2026
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.