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
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
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
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
Hello Experts,I am working on the STM32MP257F-EV1 board (MB1936 Var1.0 Rev.C-01) and following the official OpenSTDroid provisioning guide. I have successfully used flash-device(STM32CubeProgrammer v2.22.0 ) to flash the full eMMC starter image via DFU mode (FlashLayout_emmc_cm33tdcid.tsv). After that, I switched the boot mode from DFU to eMMC (M33-TD) and pressed USER2 + RESET to enter fastboot mode, as described in the documentation. However, instead of entering fastboot, the board goes into an infinite reboot loop.Observed behavior: Serial console (minicom) shows the following repeated sequence: iac exceptions: [159:128]=0x000001IAC exception ID: 128Ooops...[INF] System reset[INF] Reset reason: System reset (SYSRST) (0x94)[INF] init:pmic@33 STPMIC:20 V1.1[INF] welcome to MCUboot: TF-Mv2.1.3-4-g0a94de886[INF] cpu: STM32MP257FAI Rev.?[INF] board: stm32mp257f eval1[INF] board ID: MB1936 Var1.0 Rev.C-01[INF] dts: stm32mp257f-ev1-cm33tdcid-ostl-emmc-bl2.dts[INF] boot device: sdmmc2[INF]
So our System works fine most of the time but sometimes the Reader does not detect the tag and we observe that rfalNfcState are just keep fluctuating between RFAL_NFC_STATE_POLL_TECHDETECT and RFAL_NFC_STATE_LISTEN_TECHDETECT same as when no tag present in the field of Reader and it is not able to satisfy this if condition.“if( rfalNfcIsDevActivated( rfalNfcGetState() ) ) // this if condition”We observed that even if we do controller reset it doesn’t fix the issue only when we power cycle the reader{st25r3911b} it start working again normally.I’m attaching the code with this i want your team to review it to let us know what exactly we are doing wrong which leading to this state where our rfal state machine not switching properly, With Restart_flag we are doing reinitialization i want you to review that whatever sequence we are following is correct or not Main.c {Rfid Reinitialization sequence}Please help us fix this issue and could you provide or help us that through software funct
We visually inspected the surface of the die of MPXM2053GS, which was covered by gel. We found some of them were not intact. there were holes and cracks on the gel. Although the electrical tests were passed but we are concerned about the long term reliability. Could someone advise if this is a normal phenomenon caused by the packaging process?
hi Good day,Can we seek your expertise regarding TDE1798DP top markings.is the 3rd row KWM012 pertaining to manufacturer traceability code ’KWM’?. and Date code for the last 3 digit ‘012’ which YWW, yr 2020, week 12.Thank you for your feedback.
Hello,I’m recently working on utilizing ROM I2C bootloader on STM32C0116F6U6, Device ID: 0x443, Rev Z.It seems that bootloader is reporting wrong version 0x11 instead of 0x12, while I got reply to GET command (0x00) from protocol v1.2 instead of v1.1 - there is clearly a byte 21 (0xA1) in reply (which is protocol v1.2 according to AN4221). Get as well as get version command are both returning 0x11.Because of this bug utilities like stm32flash are failing by not reading all bytes after issuing get command. stm32flash will try to resync by writing bad command (0xFF) and waiting for NACK but bootloader can keep clock line low for up to 6.2s if all bytes from previous transaction were not read.LA outputs, Get version: Get command is returning 0xA1 byte which should not be there: stm32flash too short get command read (it was expecting protocol v1.1), clock line will be hold low for 6.23s after writing resync byte (0xFF):
Hello Team,I am currently reviewing the Secure Manager memory layout described in UM3254 (Secure Manager for STM32H573xx microcontrollers). The document provides predefined flash memory mappings for STM32H573 devices, including the Large Profile layouts shown in Figure 9 and Figure 10. Our plan is to use STM32H5F4, which provides 4 MB of Flash, and I would like to understand the recommended Secure Manager memory mapping for this device. Could you please help with the following:Is there a predefined Secure Manager flash layout available for STM32H5F4 (4 MB Flash)?If available, could you share the corresponding memory map.Could you point me to the exact documentation, application note, user manual section, or reference project that describes Secure Manager support for STM32H5F4 devices?If no predefined layout exists, could you provide guidance on how the memory regions should be scaled from the STM32H573 large profile/External Flash profile example to support 4 MB Flash devices? Th
The above Logic analyzer and debugger show a correct touch register If the simple GT911 library is used in bare bone STM32F429 but when the Code is integrated with the touchgfx and freertos of the sample STM32F429ZI Disco board then the I2C seems to get stuck and no I@C Communication happens as shown below. Touchgfx and Freertos integration This is the initial power on this is zoomed view of packet 1zoomed view of packet 2After this the interrupt is generated periodically and I2C Communication halts indefinitelyBare Bone Codehave been attached and the Touchgfx freertos main.c/* USER CODE BEGIN Header *//** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics. * All rights reserved.</center></h2> * * This so
I’ve implemented a sort of dynamic menu where there are 6 positions and you can resize the menu item to become 2x1 or 1x2 (see screenshot for a better understanding)It is achieved by a custom widget class built on top of ShapeThe elements can be dragged and moved around and I’m using handleDragEvent to achive that. When dragging around there’s a method that re-position the element to avoid overlapping.For some reason, sometimes, not always, when the elements are moved automatically around, some strange artifacts. Is there a reason for that; where should I watch?(at the moment I’m only using the simulator)artifactshow it should render
Hi,I am using STM32H747I-DISCO with MB1166-A09 (NT35510) and Zephyr + LVGL with MIPI DSI Video Mode.I am facing a diagonal/slanted tearing line when the display is configured in landscape mode.Portrait mode: works correctly Landscape mode: diagonal/slanted tearing appears during screen updates Hardware: STM32H747I-DISCO + MB1166-A09 / NT35510 Software: Zephyr + LVGL PROI have found several related discussions about this issue, but I haven't found a clear solution for landscape DSI Video Mode.Is this a known limitation/issue with the display/DSI configuration? Is there a recommended solution for running this display reliably in landscape Video Mode?Any guidance from ST or anyone who has solved this would be greatly appreciated.
Hello everyone,I'm working on a custom PCB (professionally soldered, LGA packages) builtaround an STM32G474RET6, and I'm stuck on a communication issue with twoof my three SPI sensors. I'd really appreciate some insight from anyonewho has run into this before.My setup:- Host MCU: STM32G474RET6- Shared SPI3 bus: SCK=PC10, MISO=PC11, MOSI=PC12- TMAG5170 (SPI-only magnetometer), CS=PA11- ISM330DHCX (IMU), CS=PD2- MMC5983MA (magnetometer), CS=PA12The symptom I'm seeing:My TMAG5170 communicates perfectly over SPI, which tells me my SPI3 bus,my shared SCK/MISO/MOSI wiring, and my power rail are all healthy.However, my ISM330DHCX and MMC5983MA never respond in SPI mode — WHO_AM_I/ Product ID reads keep returning garbage (0xFF).Here's what I've already tried:1. I ruled out a software bug by switching from separate HAL_SPI_Transmit / HAL_SPI_Receive calls to a single HAL_SPI_TransmitReceive — no change.2. I checked for solder bridges under the LGA packages with a multimeter (MISO to 3V3,
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.