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
Dear ST Support Team,Thank you for your continued support. We are working with the STM32MP257F-EV1 evaluation board and have two issues we need help resolving.Hardware: STM32MP257F-EV1 Evaluation Board (MB1936D)Software Package: OpenSTLinux v26.02.18 (stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18)Host OS: Ubuntu 26.04STM32CubeIDE: v2.1.1STM32CubeProgrammer: v2.22.0Flash Layout Used: FlashLayout_sdcard_stm32mp257f-ev1-ca35tdcid-ostl-m33-examples-optee.tsv---ISSUE 1: ETHERNET PORT (end0 / ETH1) NOT WORKING---The Ethernet interface end0 shows NO-CARRIER even when a cable is physically connected.Observations:- ip link show end0 → state DOWN, NO-CARRIER- cat /sys/class/net/end0/carrier → 0- ethtool end0 | grep 'Link detected' → Link detected: no- udhcpc -i end0 → broadcasts DHCP but gets no response- The Ethernet driver loads correctly: stm32-dwmac 482d0000.eth2 end0- We have tried ETH1 and ETH2 ports on the board- We have tried different cables and different router ports- The boar
I am using an STM32G030C8T6.I have 10 boards built from the same PCB design and BOM. All boards use the same firmware.8 boards work correctly, but 2 boards show abnormal ADC readings.ADC channels used: PA1 = ADC_IN1 PA5 = ADC_IN5 PA6 = ADC_IN6 PB0 = ADC_IN8 PB1 = ADC_IN9 PB2 = ADC_IN10 VREFINT ADC configuration: 12-bit resolution Continuous conversion enabled Scan conversion enabled DMA circular mode Sampling time = 160.5 cycles VREFINT included in the scan sequence Problem:On the failing boards, when the battery is connected, some ADC channels become 4095.Example:LOAD_I_ADC = 4095PV_A_ADC = 4095BAT_A_ADC = 4095VREFINT_ADC = 4095Other channels still show valid values.Measured VDDA: Battery disconnected: 3.32V Battery connected: 3.33V To isolate the issue, I created a separate test project using only the following: ADC_IN9 (PB1) VREFINT Results with battery disconnected:adcBuf[0] = 1415adcBuf[1] = 1518These values appear normal.I then created another test proje
I’m setting up a new project in STM32CubeMX for an STM32L073RZ using the internal LCD controller in 1/3 bias mode.According to the STM32L0 reference manual (RM0367), the LCD voltage rails should be configured as:PB12 - VLCDrail1PB2 - VLCDrail2 However, in STM32CubeMX, the GPIO configuration only allows:PB12 - VLCDrail2PB2 - VLCDrail2There does not appear to be any option to configure either pin as VLCDrail1.Am I misunderstanding the LCD rail configuration for 1/3 bias mode on STM32L073RZ, or is this a limitation/bug in STM32CubeMX?Thank you!
7.3.4 FLASH read operations4. If the application reads … high-cycle data not previously written, a double ECC error is reported …When storing a variable amount of data to high-cycle flash, or dealing with setting up a new/blank MCU, the SW needs to check high-cycle flash which may be empty.I am looking for a good best-practice for how the flash is meant to be used. One option I am looking at disabled the ECC NMI (ironically) and checks if non-0xffs are present before clearing faults and re-enabling the NMI and reading the data.This only really works if it can be assumed the data is complete. It will still results in faults if data is not complete for some reason.Another option I can think of is handling the ECC NMIs and just allow normal reads, catch and clear ECC errors and report failure.Is there any solid recommendation on what to do? I can’t find any application note with examples.
The STM32G474RE support 3 FDCAN and that fit my design well. When I checked the nucleo board, the firmware does not have any CAN example. I searched the ST website, the user, programmer and reference manual do not have any information on the registers and their memory map information. Although I found “STM32 FDCAN running at 8 Mb/s on Nucleo boards” helpful, it does not give me enough information of the FDCAN 2 & 3’s interrupt vector location, calls, setup and etc. I need a example template to set up my FDCAN. Where can I find that?
Hello Friends,I am looking for MCU. Kindly suggest. Below are the minimum requirementsNeed two SPI. Need to read data of two sensors via SPI simultaneosly & continously. Need one UART Need smallest possible foot print. WLCSP12/TSSOP20/UFQFPN20 Do not want to use external cyrstal for clock. Want to use internal clock Robust for shock, vibration. Pricing is no issue.Kindly suggest..
Hello ST Team, We are evaluating the STM32H747BIT6 in the LQFP208 package for our application. To verify the feasibility of our design, we created a CubeMX project and configured the required peripherals, including LTDC RGB888 (24-bit), FMC SDRAM (32-bit), USB FS, I2C1/I2C2/I2C3, USART1/USART3, SPI1 and TIM PWM outputs. While configuring the project, CubeMX allowed us to assign all the required signals, and all pins are shown in green. We also checked the LTDC and FMC SDRAM signals and found that they are assigned to unique pins with no visible pin conflicts in the pinout view. Could you also review the attached .ioc file and confirm whether there are any pin conflicts that we may have overlooked? However, CubeMX displays the following warning on the FMC peripheral"Partly disabled conflict with:FMC (SDRAM1): Clock and chip enable SDCKE0 + SDNE0 and/orLTDC: Display Type RGB888 (24 bits)". Could you please help us understand what this warning indicates and why CubeMX is reporting it? We
Split from this post.I’ve just tried testing the out FIFO depth.The STM32F427 is operating at 179.8MHz.The DMA2D is configured for memory-to-memory transfers (so only the out FIFO is used - this is how I intend to configure the peripheral to drive the DAC).The DMA2D dead time is configured for the maximum value (255), which allows one AHB transfer to the DMA2D every 1.4 microseconds.The timer generating the NWAIT signal is held low for several hundred microseconds after the DMA2D is enabled and then generates NWAIT pulses that allow the FMC to write a value every 8 HCLK cycles (every 44.45ns).This is the resulting output on the FMC NWE signal, with the controlling NWAIT signal (from the timer) also shown: This suggests the FIFO depth is 48 (16-bit) words.But what happens next raises another question. This screenshot shows the first burst of 48 writes to the FMC, followed by the next 3 bursts:The subsequent bursts are only 16 writes long, and the time between them (the first interval i
Hi everyone,I am working with STM32H757 device and debugging from VS Code using st-link V3. how can i configure the SWO output, how can i see SWO output in vs code. in vs code complete project setup is done using STM32CubeIDE for vs code.
Currently, I am using the STM32F412RGT6 64-pin package to drive an 8-bit MCU interface screen. However, I am unsure if this MCU supports FSMC.
What are the sizes and configurations of the FIFOs (foreground, background, and out) on the STM32F427 DMA2D (Chrom-Art)?
Dear original factory support team,Hello. Recently, we have purchased your eSIM chip ST4SI2M0020TPIFW(ST4SIM‑200M series) twice through the distributor Mouser Electronics, and found that there are doubts about the working mode and activation ability of the eSIM in the two batches. We hereby ask your company for confirmation:1. Purchase batch information:First order: 550 piecesSecond order: 1010 pieces2. Mode confirmation request:According to your product specifications, ST4SI2M0020TPIFW supports two eSIM configuration modes: GSMA SGP.02(M2M mode) and SGP.22(Consumer mode).All the chips of the same model we used many times in the past are SGP.22 mode and run normally. However, this time, two batches of chips were suspected to be preset in SGP.02(M2M) mode after customer test feedback, which caused the customer to be unable to confirm the "preset" carrier profile (ICC ID/ISDP) when the chips were shipped from the factory, so the activation and subscription service could not be completed.
My STM32F303VCT6 discovery board is not connecting with my STM32CUbeIDESTM32CubeProgrammer gives a "Error: No STM32 target found!" I'd appreciate any suggestions about how to fix this issue before I try rolling back the firmware on the debugger.Here's the error I get in the CubeIDE Console windowSTMicroelectronics ST-LINK GDB server. Version 7.5.0Copyright (c) 2023, STMicroelectronics. All rights reserved. STMicroelectronics ST-LINK GDB server. Version 7.11.0Copyright (c) 2025, STMicroelectronics. All rights reserved. Starting server with the following options:Persistent Mode : DisabledLogging Level : 1Listen Port Number : 61234Status Refresh Delay : 15sVerbose Mode : DisabledSWD Debug : EnabledInitWhile : Enabled Target no device found Error in initializing ST-LINK device.Reason: No device found on target. Here's the error that pops up the CubeIDE "Problem Occurred" windowError in final launch sequence:Failed to execute MI command:target remote localhost:61234Error message from debugg
High Packet Loss in IN865 Field Deployment (30–40%) with STM32WLE5CCU6 – Looking for Root Cause Analysis and Scalability Guidance Hello Community,We are currently facing a packet loss issue in our LoRaWAN deployment and would appreciate guidance from members who have experience with large-scale deployments, particularly in the IN865 region.System ConfigurationEnd Device MCU: STM32WLE5CCU6 LoRaWAN Version: 1.0.4 Device Class: Class A Message Type: Unconfirmed Uplinks ADR: Enabled Initial Data Rate: SF10 (ADR manages the final data rate) TX Power: TX_POWER_0 (ADR controlled) Payload Size: 1 Byte Uplink Interval: Every 30 Minutes Network Infrastructure Gateway: Milesight UG67 Network Server: ChirpStack Region: IN865 Channel ConfigurationThe following 8 uplink channels are configured: 865.2 MHz 865.6 MHz 865.8 MHz 866.1 MHz 866.3 MHz 866.5 MHz 866.7 MHz 866.9 MHz Deployment ScenarioWe currently have approximately 150 end devices deployed.Office TestingWhen
When I was developing the stm32u575, I needed to set the threshold for the bor (power-on reset). I wanted the device to reset when the voltage was below a certain level. While configuring the bor threshold for the stm32u575, I followed the configuration process of the stm32f405, but it didn't work. The program got stuck at HAL_FLASH_OB_Unlock(). Why did this happen? What was the problem? FLASH_OBProgramInitTypeDef OBInit; HAL_FLASHEx_OBGetConfig(&OBInit); OBInit.USERType = OB_USER_BOR_LEV; OBInit.USERConfig = OB_BOR_LEVEL_1; HAL_FLASH_OB_Unlock(); HAL_FLASHEx_OBProgram(&OBInit); HAL_FLASH_OB_Launch(); HAL_FLASH_OB_Lock();
I’m reading the getting started manual of STM32MP257 (AN5489) and it displays that there are internal pull-ups on CMD and D0, but not CK.Also there is a confusion if the dashed lines means they have internal pull-ups as well.My question is:If CMD, D0, D1, D2 and D3 have internal pull-ups. Why does the STM32MP257F-DK board have external pull-ups?Can I skip these external pull-ups? According to the datasheet of STM32MP257C/F (DS14284 - Rev 5), the CK, CMD and D0 MUST be high at initialisation of the BootROM.
what is edge ai
In this documentation, I can find a detailed description of the torque/flux (current) PI controller implementation, but there is no clear explanation of the speed PI controller design or tuning. Could you please explain how the speed PI (KP, KI) is derived, and what criterion ST MC Workbench uses to compute these parameters automatically?
Hi all,I'm having trouble connecting to an STM32F373C on a custom PCB via STM32CubeProgrammer, using an STM32F072B-Discovery board as a standalone ST-Link/V2. The custom PCB is an open source synthesiser module and was manufactured by JLCPCB - many others have built this PCB with no issues. I've followed the correct procedure for using the Discovery board as an external ST-Link (removed CN5 jumpers, opened SB10), and wired CN4 to my PCB's dedicated SWD header which has RESET, SWCLK, SWDIO and GND pins.**Setup:**- Programmer: STM32F072B-Discovery (ST-Link/V2), CN5 jumpers removed, SB10 opened- Target: STM32F373C on custom PCB- Connection: Via dedicated SWD header (RESET, SWCLK, SWDIO, GND). Discovery board connected to Macbook using Mini USB to USB C cable.- Software: STM32CubeProgrammer, SWD mode, various frequencies tried down to 480 kHz- Reset modes tried: Software reset, Hardware reset, Connect under reset**Error in CubeProgrammer:**ST-LINK SN: 38FF68063050453420251743ST-LINK FW: V
Hi, i have NUCLEO-L073RZ with shield I-NUCLEO-LRWAN1 SX1272.I want to activate it with ping pong code and it’s stuck and I don’t understand why.I can see that LD2 is blinking but PuTTY is empty, I also get this after running:
Hi,I’m setting up a bash script (under Ubuntu Linux) to automate STM32H563 provisioning for my application using the command-line version of STM32 Cube Programmer. As part of this script, I’m setting it up to automatically perform Full Regression prior to new provisioning if the board is already provisioned. (This is being used for testing and software development, so I am likely to need to do this.)The help text tells me that I can use the “key”, “cert” and “per” arguments on the command line, along with debugauth=1, to specify paths to the key, certificate and requested permission to request debug authentication. However, the application seems to ignore these arguments completely and always asks for them to be entered in the console, so I can’t perform a scripted Full Regression as should be possible.I tried working around this by piping the output of a bash printf command into the application instead. Oddly, this seems to work for passing in the key and certificate but the selection
Hi,I am developing software for a GPS tracker based on the TESEO VIC6A module. Our goal is to achieve the highest possible fix rate.I was able to establish communication with the module via UART0 using the ST/NMEA protocol. After that, I started modifying the firmware configuration to improve performance. I sent several PSTMSETPAR commands and received PSTMSETPAROK responses for all of them.However, I did not observe any changes in the module's behavior. I then attempted to save the modified parameters to non-volatile memory using the PSTMSAVEPAR command and received what appeared to be a successful response. Despite that, the module still behaved exactly the same.The last command I sent was PSTMSRR. Since then, I have been unable to communicate with the module. I have tried all available combinations of baud rates and flow control settings without success.The parameters I attempted to modify included:increasing the UART baud rate,enabling a higher fix rate,customizing NMEA output list
My autoomplete shows "no default proposals" when plrssing CRTL+Space and do nothin when typing "." or "->" or any other trigger...Some people solved this enabling "Parsing-based Proposals" in the "Content Assis -> Advanced" tab but mine is enabled and not working... I've tested a lot of things and the ContentAssis still not worling... Any help???Thanks
I m quite negatively surprised that suddenly (Ctrl+Space) stoped proposing any functions, as it is shown below:orI didn't change any settings, and suddenly it stopped working. That is why I ve searched for any similar issues like mine on the forum and I ve found:https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-auto-complete-ctrl-space-is-not-working/td-p/342759orhttps://community.st.com/t5/stm32cubeide-mcus/why-does-the-index-not-work-and-how-to-make-it-work/td-p/269134and none of these solutions worked for me..I ve also tried to revuild the C/C++ indexer or just simply to create a new project but still no changes...
Hello ST team,I'm facing the issue with STM32N6 DCMI DMA configurations, I could see the data flowing down from the cmos & clocking at 50MHZ. I could spot the first 4 pixels data (2 words) on live watch window. the next word data is intermittent & getting into DMA error 0x41,The cube MX (6.17.0) unable to generate the DMA init functions appropriately for DCMI, however i’ve added the Config explicitly, Any suggestions on the below configurations? /*** @brief DCMI Initialization Function* @param None* @retval None*/static void MX_DCMI_Init(void){/* USER CODE BEGIN DCMI_Init 0 *//* USER CODE END DCMI_Init 0 *//* USER CODE BEGIN DCMI_Init 1 *//* USER CODE END DCMI_Init 1 */hdcmi.Instance = DCMI;hdcmi.Init.SynchroMode = DCMI_SYNCHRO_HARDWARE;hdcmi.Init.PCKPolarity = DCMI_PCKPOLARITY_FALLING;hdcmi.Init.VSPolarity = DCMI_VSPOLARITY_LOW;hdcmi.Init.HSPolarity = DCMI_HSPOLARITY_LOW;hdcmi.Init.CaptureRate = DCMI_CR_ALL_FRAME;hdcmi.Init.ExtendedDataMode = DCMI_EXTEND_DATA_12B;hdcmi.Init.J
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.