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
Hello,I’m working on a stm32h753 MCU and trying to use LwIP. I followed a lot of topics on that but I’m still not able to make it work.When I’m using debugger to identify issue, I’m always falling in unaligned access issue.backtrace in debugHere is my configuration :MPU_configvoid MPU_Config(void){ MPU_Region_InitTypeDef MPU_InitStruct = {0}; /* Disables the MPU */ HAL_MPU_Disable(); /* Configure the MPU as Strongly ordered for not defined regions */ MPU_InitStruct.Enable = MPU_REGION_ENABLE; MPU_InitStruct.BaseAddress = 0x00; MPU_InitStruct.Size = MPU_REGION_SIZE_4GB; MPU_InitStruct.AccessPermission = MPU_REGION_NO_ACCESS; MPU_InitStruct.IsBufferable = MPU_ACCESS_NOT_BUFFERABLE; MPU_InitStruct.IsCacheable = MPU_ACCESS_NOT_CACHEABLE; MPU_InitStruct.IsShareable = MPU_ACCESS_SHAREABLE; MPU_InitStruct.Number = MPU_REGION_NUMBER0; MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL0; MPU_InitStruct.SubRegionDisable = 0x87; MPU_InitStruct.DisableExec = MPU_INSTR
Hi,I am using an STM32N655X0H3Q interfaced with an NHD-7.0-800480EF-ASXN#-CTP display that uses the FT5426G capacitive touch controller. I have created a TouchGFX screen containing a single button widget. No interactions are currently assigned to the button (I had previously tested it with a screen-change interaction, but the behaviour remained the same, so I removed all interactions and am now testing with only the button widget present on the screen).The touch controller appears to work correctly otherwise. I can continuously poll touch events inside STM32TouchController::sampleTouch() and successfully print the touch coordinates and number of touch points when touching any area of the screen outside the button.However, as soon as I touch the button widget, the application hangs. The button disappears and the display turns into a plain screen. At the same time, the continuous polling inside STM32TouchController::sampleTouch() stops completely, indicating that TouchGFX is no longer ca
I am using an LDL1117S50R fixed voltage, 5 V regulator. I am regulating down from +12V to +5V. Our +12V supply is clean.It’s a pretty simple circuit; one 1 uF capacitor at the input, and one 100 nF, one 1 uF, and one 4.7 uF capacitor at the output. I don’t need an enormous load; 500 mA is sufficient.It was working great at first, but once I reach a load of about 200 mA, it began oscillating unstably at about 2.2. kHz. See the screenshot below. I was using a Rigol electronic load to test this. This problem also appears to be intermittent. See the screenshots below. It’s fine, and then unstable, and then fine again, and unstable. The period of instability is not consistent. My PCB is good. The input and output caps are close to the pins and I’ve used low ESR ceramic capacitors.Does anyone have any idea what this may be?
Hi!I wonder why ST have chosen to implement a 10 kOhm pull-up (R34) on the clock line of the SD-card?I have seen this on the STM32MP257F-DK board from ST.Normally, you chould not have a 10 kOhm pull-up on the clock signal, only the other data/command signals.That’s the reason why the EMI filters for the SD-card e.g ST products EMIF06-HMC02F2 and EMIF06-MSD02N16 does not any pull-up onto the clock signal.
I require urgent technical support regarding a VIPer22A-based dual output power supply design (5V/800mA and 12V/200mA).I have designed and manufactured the transformer according to my calculations; however, the power supply is not operating properly. I have attached the following documents for your review:Schematic PCB Layout Transformer Design DataI would appreciate it if you could review the attached files and provide your feedback and recommendations as soon as possible, as this matter is highly urgent and is currently affecting our development schedule.Thank you in advance for your support. I look forward to your prompt respons
Have successfully worked throughSTM32Cube_FW_U5_V1.8.0/Projects/B-U585I-IOT02A/Applications/SBSFU/readme.htmlI need to port this (..boot, ..loader, ..appli) to a custom board running STM32U585VIT6.Within the readme it states "This example has been tested with STMicroelectronics B-U585I-IOT02A board and can be easily tailored to any other supported device and development board."Is there an example / idiots guide to work through doing the above?Thanks
Dear ST team,I have configured the ST87M01 for sending +CEREG URCs when registration state changes with AT+CEREG=5.But the modem attaches, but does not sent +CEREG notification (see traces below): Is this a nominal behavior ?AT+CEREG=5OKAT+CEREG=?+CEREG: (0,1,2,3,4,5)OKAT+CEREG?+CEREG: 5,2,"","",,,,"",""OK+CEREG: 0,"","",,,,"",""+CEREG: 2,"","",,,,"",""+CSCON: 1+CEREG: 0,"","",,,,"",""+CSCON: 0+CEREG: 2,"","",,,,"",""+CSCON: 1+CEREG: 0,"","",,,,"",""+CSCON: 0+CEREG: 2,"","",,,,"",""+CSCON: 1+CEREG: 0,"","",,,,"",""+CSCON: 0+CEREG: 2,"","",,,,"",""+CSCON: 1+CEREG: 0,"","",,,,"",""+CSCON: 0+CEREG: 2,"","",,,,"",""+CSCON: 1+CSCON: 0+CEREG: 0,"","",,,,"",""#STENG: ECID=08507721,SRV1=FFB11868,PLMN=0002F802,EDRX=00000001,PSM=00000000,ENRG=000045D7#SLEEP DRX 2.4s#WAKEUP DRX#STENG: ECID=08507721,SRV1=FFB21868,PLMN=0002F802,EDRX=00000001,PSM=00000000,ENRG=00000016#SLEEP DRX 1.7s#WAKEUP DRX Best regards,Thierry
我尝试使用 STM32L4R9 与 AD7768 通信,使用 8 个通道。我想知道的是:是否可以使用 DCMI 建立 AD7768 与微控制器之间的通信(微控制器支持,但我不确定 AD7768 是否支持 DCMI。)如果 AD7768 也支持,我想知道 PCB 应该如何正确布线。Translation to English I am trying to communicate with the AD7768 using the STM32L4R9, using 8 channels. What I want to know is: is it possible to use DCMI to establish communication between the AD7768 and the microcontroller (the microcontroller supports it, but I'm not sure if the AD7768 supports DCMI.) If the AD7768 supports it as well, I would like to know how the PCB should be wired correctly.
Hi community, I have been facing some instability in transmission of the UART in STM32 LQ5CGU6P, When we measure the TX and RX line when it fails to transfer the data, both TX and RX are low, is this ever experienced before? help us out to troubleshoot this, has anyone come across this kind of scenario with UART before?
Hello,I'm currently integrating the SBSFU 2.8 for one of our board, that use a STM32H753, with a dual-slot configuration.I'm adapting the example for the STM32H753ZI. For now, this mostly involves modifying the USART (use the 6 instead of the 3).I am currently trying to set up the system to resume operation after a power outage. I defined ENABLE_IMAGE_STATE_HANDLING in the projects SeCoreBin and SBSFU.This is my scenario:Download of a UserAppValidation of the downloaded UserAppDecryption of the UserAppStart of the swap between the DownloadSlot and the ActiveSlot/!\ Power outage!Power returnResume of the installation processCurrently, the resume always fails when checking the trailer (in CheckTrailerMagic).I checked what he wrote as trailer (in WriteTrailerHeader), and what is written is indeed what is read after the reset.What's strange is how he slices up what he's checking.If we look at the names of the arrays in the CheckTrailerMagic function, we have:FieldValue readm
Hello,I’m working with the STM32CubeWB package and trying to understand ST’s plans regarding VEX documentation following annoucements here https://wiki.st.com/stm32mcu/wiki/Security%3ASTM32%20Software%20security%20policies%20Q%26A# Could you clarify the plan for STM32CubeWB specifically?Is VEX publication still planned for STM32CubeWB? If yes, is there an estimated timeline or target STM32CubeWB release version? Where will the VEX files be published: inside the STM32CubeWB package, on st.com, on GitHub, or next to the existing sbom_cdx.json file? Will VEX documents be provided per STM32CubeWB version, or only for the latest available package? Will VEX entries map directly to SBOM components using bom-ref or Black Duck component IDs from the associated SBOM, or another identifier? Can we expect more detailed vulnerability information than what is currently available through PSIRT bulletins, for example affected/not affected status, justification, fixed version, remediation, or workaroun
Dear ST Team,As per datasheet, found on page 30/36: Parts marked as “ES” or “E” are not yet qualified and therefore not approved for use in production. Does this refer to chip body marking or refer to other things?Parts we received have a body top mark of 6 1E. pictue attached.Can you advise if this item is mass production part or not qualifiedAlso, according to datasheet we found dimension slight bigger than spec, could you please help review the picture and advise?Actual: 0.77mm (measured in top view)Required: 0.751mm (maximum)Thank you for your help.
as per the the datasheet its show max is upto 90MHZ but i cannot even set for 72mhz in cubemx for mp135F. whats going on
Hi, I face the problem with the touchgfx frame rate render has drop periodic after 1000ms that make the animation image (wait circle) has choppiness.My project run on custom STM32U5 has 3MB RAM and 4MB FLASH (I don’t use the external memory). The LTDC configuration at 60Hz(24.5Mhz) for screen 800x480 resolution. The signal when screen not update(full)The signal when screen not update(full)The signal when screen not update(zoom in to see the VSYNC signal)The signal when screen not update(zoom in to see the VSYNC signal) The signal when screen animation the imageThe signal when screen animation the imageThe VSYNC signal is perfect at all.You can run the LogicSystemTimingAnalysis.html in .zip then load the .csv file to see the signal. Thanks,Phat
Hello, I am trying to convert my Onnx model with the ST Edge AI Core tool to the .nb format for the STM32MP25-DK target.Since the results were not matching I stripped down the model into the single operations and tried to debug them It looks like the problem comes from the MatMul operation. My model looks like this: When I run my test script were I compare the Onnx model with the NB model, then I get the following results:================================================================================ ONNX OUTPUTS ================================================================================ [ONNX] matmul_result shape=(1, 16, 8) dtype=float32 min=-10.684526 max=7.463792 mean=-0.168686 values=[3.1317086219787598, -0.7650761604309082, 0.822991132736206, -6.243682384490967, -1.3690400123596191, 0.5091162323951721, -3.2105088233947754, 3.2010514736175537, 1.773209571838379, -2.338696002960205] ========================================================================
Hi, Is there a way to disable Boot0 on PA11 on STM32WL33 ? I can’t find any Bytes Option. The only thing I can find, is we can re map PA11 to another pin.Thanks
Hello, I have attempted to set up threshold interrupts with the VL53L1X using the library from pololu, but the lesser known version implementing the ST API. As such, my code looks like this: #include <Wire.h>#include "vl53l1_api.h"#include <Arduino.h>// Timing budget set through VL53L1_SetMeasurementTimingBudgetMicroSeconds().#define MEASUREMENT_BUDGET_MS 50// Interval between measurements, set through// VL53L1_SetInterMeasurementPeriodMilliSeconds(). According to the API user// manual (rev 2), "the minimum inter-measurement period must be longer than the// timing budget + 4 ms." The STM32Cube example from ST uses 500 ms, but we// reduce this to 55 ms to allow faster readings.#define INTER_MEASUREMENT_PERIOD_MS 55VL53L1_Dev_t dev;VL53L1_DEV Dev = &dev;int status;void printRangingData();void setup(){ uint8_t byteData = 0; uint16_t wordData = 0; Wire.begin(5, 6); Wire.setClock(400000); Serial.begin(115200); delay(3000); Serial.
I have 3 physical buttons: next, enter and previous. After next or previous clicked I have to move the frame which select the flex button on the screen. When I clicked the enter button selected button on the screen should be pressed and released. I mean the selected button should do what I set in TouchGFX Designer. How to simulate the real pressing on touch screen using physical button ? Also I have a container including the keyboard with the flex button. I would like to use the same approach.
Hi all,I am bringing up an ISSI IS66WVO8M8DBLL OctalSPI PSRAM (OctaRAM) on an STM32H563VIT6 overOCTOSPI1 in memory-mapped mode (window at 0x90000000). Reads, register access, and"write a location then read it back immediately" all work perfectly. But any SUSTAINEDor SCATTERED write workload corrupts data: rows that are not continuously re-writtenlose their contents within a few seconds, and some writes come back wrong.This matches errata ES0565 section 2.5.12 ("Variable latency is not supported when arefresh collision occurs during a write access to some OctaRAM memories"). I applied thedocumented workaround - forcing FIXED latency in the memory's configuration register -and I run in the documented MTYP=0b011 (Macronix OctaRAM) mode. The corruption persists,byte-for-byte identical, with the workaround correctly applied and verified by read-back.I have reproduced this on TWO separate boards with identical results, so it is not asingle bad device.Has anyone got OCTOSPI memory-mapped WRIT
STP80NF55-06 MARKING is not same datasheet.Product show marking : P80NF55@
Hello Mates, What you are viewing in the image is the cyan(bue colour) is i2c clk an yellow pulse is an gpio trigger mechanisim .You can see that the low pulse is i2c clk that means an operation read or write , in that particular case the is no gpio triger is working why what is the reason. → the i2c is running in the polling mode → the gpio triger is in the timer interrupt in 20hz → what acutally done in the gpio is trigger in the 5hz enable the flag inside the 20hz timer trig. → using the mcu stm32h503rbt6
Hi everyone,I am using an EVSPIN32F06Q1S1 board to drive a turbomolecular pump motor. Since the exact motor was not available in Motor Control Workbench, I imported a different motor and manually updated the parameters.The project was generated using MCSDK with FOC + Sensorless Observer (STO+PLL) and flashed successfully. Motor Pilot connects correctly, and VBUS is reported as approximately 316 VDC with a 220 VAC input.However, when I press Start in Motor Pilot, the motor does not start and I receive:MotorControlProtocol: ASPEP_RESP ERROR: CMD_NOKThe state eventually changes to FAULT_NOW, but no detailed fault information is shown. Motor Pilot also reports several register access warnings such as:Accessing register [...] resulted in error[5]although communication with the board remains active.At present, no motor is connected to the inverter. We are trying to verify the controller operation before connecting the actual turbomolecular pump.My questions are:Is it expected for an MCSDK se
Hello,I have inherited some code where a 5kHz 50% PWM is output in center aligned mode using TIM1. CK_PSC is 275MHz, CK_CNT is 137.5MHz (I think) because PSC = 1.The pattern output matches the implementation: The yellow trace is a GPIO pin that is toggled in the ISR HAL_TIM_PeriodElapsedCallback(). I want to to keep the same 50% duty but half the frequency to 2.5kHz using the prescaler.From the TRM, it seems I just have to modify PSC from 1 to 2. However, when I do this by poking the SFR register using the debugger, I get the following output: As you can see, the PWM ratio changes but the frequency does not. I’m at a loss to understand why. So would be grateful for any suggestions.Thank you. In case it helps, here’s my register dump. I have no idea what DMAR is that is my next step.
Hi everyone,I'm working on an STM32 project where UART communication uses DMA for receiving data. The application works correctly after startup, but after running for a few minutes, the UART stops receiving data intermittently.Project details: MCU: STM32F407VG STM32CubeIDE 1.16 HAL drivers UART2 configured with DMA in Normal Mode FreeRTOS enabled I've already tried: Increasing the DMA buffer size. Lowering the baud rate from 115200 to 57600. Verifying the UART wiring. Checking for overrun errors. The DMA interrupt still occurs, but the receive callback is not always executed.Has anyone experienced a similar issue? Is there a recommended way to keep UART DMA reception running continuously?SolutionThe issue was related to how DMA reception was configured.The following changes resolved the problem: Configure the DMA channel in Circular Mode if continuous reception is required. Restart DMA reception inside the HAL_UART_RxCpltCallback() when using Normal Mode. Check for UA
Hi, Could you please explain the proper command sequence for smoothly transitioning a motor from Forward to Reverse operation?Currently, my sequence is:STOP → DIR → SET_SPEEDThis assumes the STOP command was issued while the motor was already in the RUNNING state. However, with this sequence, the motor will not reverse direction. The only sequence that consistently works is:STOP → DIR → START → SET_SPEEDWhile this does reverse the motor, I'm running into another issue: every time I issue a START command (this applies at any given point in time), the motor immediately accelerates to approximately 2000 RPM before settling. After that, SET_SPEED commands work as expected.Is there a recommended sequence for changing direction, or is there something I may be overlooking in my implementation?Any input would be greatly appreciated.Thanks.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.