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,My name is Siyabonga.I am working with the STM32MP257F-EV1 board and have downloaded the STM32MPU-Ecosystem v6.1.0. I am trying to generate a pulse-per-second (1PPS) signal using the Ethernet module.I followed the guide titled "How to configure PTP PPS OUT" from the STM32MPU wiki. According to the documentation, pin PB15 on the MikroBUS can be used for PPS OUT, and when configured with AF10, it can function as ETH-PPS-OUT. I have added this pin configuration to the device tree and rebuilt the image.However, I am unsure how to correctly link the PPS output of the Ethernet MAC to pin PB15. When I connect an oscilloscope to PB15, the signal is either not as expected or, in some cases, appears to be only noise.I would appreciate your assistance and guidance on this matter.Thank you in advance.
Hello everyone,I’m working with the 1N5822UB1 Schottky diode and need forward current (If) vs forward voltage (Vf) characteristics at -55°C. The datasheet only provides graphs for 25°C, 100°C, and 120°C, but my application requires performance data at -55°C.Does anyone have a graph or table for If vs Vf at -55°C?Any guidance or resources would be greatly appreciated.Thank you!
Hi you all,as a breef summary; I set up a timer to trigger an adc that should than use the DMA to transfer the data to memory, i need 111 samples at a time. Sadly for some reason this only works for one sample so if i check __HAL_DMA_GET_COUNTER(g_hadc1->DMA_Handle) it will get stuck at 110.and subsequently my HAL_ADC_RegisterCallback(g_hadc1, HAL_ADC_CONVERSION_COMPLETE_CB_ID, ADC_LineScanComplete_Callback); is never called.Though the timer and ADC for sure triggeres as i can the see the DR register updating its value.And as far as the reference manual goes (Page 961 DMA One-shot) it should be possible to use HAL_ADC_Start_DMA(g_hadc1, (uint32_t*)dest, 111); to get like 111 sequential timer triggered samples, that are transfered to memory via DMA I tried various combinations of all possible adc settings, and all of them keep beeing stuck on 110 remaining DMA cycles. As well as trying to look up the resgisters for any errors that might have been accured, but
MCU: STM32H7S7L8H6HIssue: Choppy scroll animations after regenerating TouchGFX/target/generated in CubeMX files with TouchGFX 4.26 (previously 4.24.1 or 4.25)SymptomsScroll wheel with custom containers (toggle buttons + text) now shows low FPS when swiping. The same widget was way smoother before regeneration. I have a device with old generated files still running smoothly, confirming the regression is in the regenerated target code (check video, the smoother one is the bottom one).Unfortunately, I haven't git the TouchGFX/target/generated because I thought it was being generated by TouchGFX Designer and not CubeMX, so I have no idea what code it was running before. Sure thing is, the scroll wheel logic in the GUI folder is the same for both things.I was already using TouchGFX Designer updated to 4.26 when everything was smooth so, I think the file generated by it are ok.What ChangedRegenerated via CubeMX, replacing:nema_hal.cOSWrappers.cSTM32DM
Hello,I want to ask if it is possible to install STM32Cube extensions into Cursor.I looked in the normal extension list but I could not find them.Is this supported now or will it be supported in the future?Thank you.
I am currently using the X‑NUCLEO‑IHM16M1 expansion board and noticed a discrepancy between the Motor Control Workbench and the official ST documentation regarding the rated current.In Motor Control Workbench, the Rated Current is shown as 2.1 A.On the official product page and data brief, it states Output current up to 1.5 A rmshttps://www.st.com/en/evaluation-tools/p-nucleo-ihm03.html Could you please clarify the following:What is the basis for the 2.1 A figure shown in Motor Control Workbench (e.g., RMS, peak, or internal limit)?Which current rating should be considered as the actual board limit for design purposes?Does the difference relate to the STSPIN830 driver’s internal specifications or to a configuration setting in the tool?Thank you very much for your support.Best regards,HyeonSeok
M95P16 data sheets says chip erase cycle is 100, but an5866 says chip erase counts as a cycle every page. Which is correct? Datasheet:AN5866:
I have managed to create a template application on a NUCLEO-H755 that has several CM7 FreeRTOS tasks running to flash various LED patterns combined with a CM4 application that flashes one of the other LEDs. I have mainly been testing using a run configuration (with LEDs to verify behavior), but sometimes a debug configuration, and when working, the program behaves well and runs overnight. Flashing and starting the code has always been somewhat questionable (likely due to my inexperience with STM32CodeIDE (V 1.19)), but recently I am no longer able to successfully Run or Debug at all.The current behavior is as follows:1) The first time I try to Debug (or Run), I get a "Failed to execute MI Command" with the error indicating failure to finish loading the flash for the CM7.elf.2) The second time I try the same Debug or Run command, I get a "Failed to Start the GDB server", and I am not able to communicate with the ST-Link on the NUCLEO at all.3) The only way that I have been a
Dear @YutinhLin , 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 晶片型號 : STM32H723VGTx RX 與 TX Buffer 都已配置到 D2 區塊 使用狀況 : 第一次執行 HAL_UART_Transmit_DMA 正常 執行 HAL_UART_AbortReceive() -> HAL_UARTEx_ReceiveToIdle_DMA() 後 再執行 HAL_UART_Transmit_DMA 無法正常工作 請問這樣的使用方式是否正確 或是需要另外的設定動作才能再正常使用 Chip model: STM32H723VGTx Both the RX and TX buffers are allocated in the D2 domain. Usage scenario: The first execution of HAL_UART_Transmit_DMA operates correctly. After executing HAL_UART_AbortReceive() followed by HAL_UARTEx_ReceiveToIdle_DMA(), subsequent execution of HAL_UART_Transmit_DMA does not function as expected.
This https://blog.st.com/stm32wl5x-stm32wl5m/ seems to suggest that the wireless module could be either 900 or 800 MHz bands."Hence, coupled with the wide frequency range supported by its STM32WL5x, the module can work in Europe, Americas, and Asia."Does this mean that my product can be built with identical hardware for two different markets and the software could select the proper region? Does it need a special antenna to operate over a wider range? Or is it just that this module has different variants for different markets?
I’m attempting to learn BLE and IoT and have purchased the following boards to get started.NUCLEO-F401RE MCU brdX-NUCLEO-IDB05A2 BLE Expansion brdDownloaded:STM32CubeIDE Version: 2.0.0 Build: 26820_20251114_1348 (UTC)STM32CubeMX Version: 6.16.1x-cube-ble1 BLE DemoThe main program calls HAL-Init() which goes directly to the HardFault_Handler()My preliminary conclusion is that Version 20.0.0 is not compatible with the demo program based on help I sought on ChatGPT. It recommends Version 1.19.0. Is this correct?May need to back up and start from scratch and would appreciate a point in the right direction to avoid going down any unnecessary rabbit holes.Thank you, BareMetaler
Hi,I'm trying to figure out what to expect for current consumption for the SR5E1E570C30F01X. The datasheet DS13808 - Rev 8 - November 2025 notes under "3.7 Device consumption" that "The following table [table 10] reports each single contributor factor to the device consumption. Refer to Figure 3. Device consumption measurement to see where each contributor is measured.". However, upon inspecting figure 3, it does not contain the required information. Notably, I_DD_HV and I_DD_HV_SMPS_LKG are not shown in the figure despite their grave importance. In fact, only two of the currents listed in table 10 are depicted in figure 3.Is there a corrected figure or information on calculating the approximate total current draw of the MCU - does the I_TOT calculation under 3.7 truly represent the total current draw, including both the HV and LV side? This is presented in a very unclear way.Thank you
Hi Team, It appears that the varistor turned on at a voltage lower than the value specified in the datasheet.・Detailed V-I characteristics of the varistor・How significant is the variation between individual varistors?・Once a varistor turns on, does it remain on even after the power is turned off?・What is the tolerance of VBO?・Does the failure mode of this varistor result in a short circuit?Thanks
As mentioned in the AN2606 document for STM32F412VGTx MCU(Custom chip), I am using USART2 (PD6/PD5) for UART bootloader using STM32CubeProgrammer. But I am getting an error message as attached. Help me to resolve this issue.
Greetings,I'm trying to run an application using X-CUBE-ST67W61, but I'm encountering a problem at this line in w61_at_common.c: int32_t W61_AT_ModemInit(W61_Object_t *Obj) { (...) xReturned = xSemaphoreTake(mdm->sem_if_ready, pdMS_TO_TICKS(4000)); (...) } everytime, xReturned equals 0, which means that sem_if_ready is not received.My setup consists of STM32N6570-DK with X-NUCLEO-67W61M1, and the code I'm trying to run is mostly ble_p2p_server app from X-CUBE-ST67W61. Some of the SPI communication starts, as seen below: but these are the only signals that are appearing.
Hi ST team,I am using STM32U5G9 MCU. After modifying option bytes, HAL_FLASH_OB_Launch() would be called to apply the changes.But in the launch function, it states that "Option byte launch generates Option byte reset". I have other tasks need to be done after calling HAL_FLASH_OB_Launch(). I don't want device to be reset after calling HAL_FLASH_OB_Launch() immedately.Is there a way to trigger reset manually after modifying option bytes?1. Modify option bytes2. Call HAL_FLASH_OB_Launch()3. Reset device manually Thank you.
I am using ST25R3916B with differential antenna without varicaps.The antenna is configured to receive maximum signal from the smartphone on the RFI1.There is a TFT display between the antenna and the smartphone. The smartphone reads the tag with great difficulty even when pressed against the display.The ST25R3916B reads cards in card reader mode at a distance of about 2 cm from the display (when setting up the antenna to get the maximum signal from smartphone).Question: How can I increase the tag's reading range with my smartphone? ST25R3916B has sensitivity control registers, but there is no method for setting these parameters.Best regards.
Hi, I run ADC1 with DMA on my STM32F303RE with 72MHz clock. I take the number of samples flowing into the circular buffer per timeunit. I calculate a sample freq. of 1.305 Megasamples per second Ms/s. When I look at the sampled known signal I calculate a sample frequency of 1.518Ms/s. I'm losing samples somewhere !? Where? Is it due to ADC or DMA? ADC setup: Independent mode,Synchronous clock mode divided by 4, 12Bit, scan disable, continuous enable, enable regular conversions enable, DMA setup: ADC1 DMA1 CHANNEL1, circular buffer 15*1024*uint16_t, increment address memory, half word THX Cheers Detlef
I have a STEVAL-MKBOXPROm and I flashed "STM32CubeFunctionPack_DATALOG2_V3.1.0" (DATALOG2_Release.bin) to it. In the ST BLE App, I can start and stop an acquisition, edit which sensors are logged, and edit the fillenames. However, the acquistion_info.json file does not show my updates Acquisition Name, Description, or any of the Tag Names. I tried rebooting my phone and the device. Anyone have any suggestions?
Hello,Is the STM32CubeProg + STlink (v3) supposed to work with STM32MP257 ?I can't get any connection.Thank you
Hi!I’m working on a motor controller design that utilizes an stm32f4 and a magnetic angular position sensor which communicates via spi.My design currently performs current sensing; I use channel4 of timer1 to trigger ADC reads near the center of my center-aligned UVW PWM period.This works great so far, but now I’m trying to think through how/when to schedule SPI reads of my angular sensor. I can straightforwardly perform an spi read when the ADC conversion completes, as part of my inner torque control loop. Is this reasonable to do? Is there a better way? It seems like the best time to touch off such a read is at the same time as when I trigger my ADCs. But I can’t quite figure out how I might do this.Thanks!
Hello,I'm wondering if Cube's generated code for is thread safe. In particular, whether malloc can be safely used in a multi-threaded FreeRTOS setup.The broken malloc behavior was first described by Dave Nadler in 2019 here. He has also written about it on his webpage.In 2021, ST seems to have introduced some "fixes" to this problem, by adding a thread-safe code generation option in CubeMX and implementing the various __retarget_lock* newlib functions to make sure that newlib can behave correctly in a multi-threaded environment.However, it seems like that these implementations are buggy. One such issue is reported here, where the lock's nesting level is (incorrectly) modified before entering the critical section. I've just reproduced this exact issue today, with Cube version 6.11.1.I'm quite confused about the current state of this issue. Are the things described by Dave Nadler still relevant or applicable? Is ST going to fix the bugs in the __retarget_lock* implementations? For people
Hello. I am currently working on a NUCLEO-L152RE project in the latest version of the CubeIDE. I am running into an error where I can not install break points due to an "unmatched quote". I have tried the common fixes (New work space) for this that I could find online and it hasn't resolved it. I also ran fresh installs of the programs and encountered the same issue. Has anyone else encountered this problem? I have included a screenshot below for reference.
Hi,I am new on TouchGFX and UI making, i have make many screens with transition in between i want to add a qr Code,But when I just add a default qrcode no edit, but it dont show any thing, on that screen but when i change screen to different one and come back again the previous screen content print on qr code area.First screen:Qr screen: in the qr area the previous screen pixel shownQr next screen: when we go to next screen and again come back it again shows same issue. or if we set the qr screen as startup it shows black completely in the qr region. Kindly tell which issue causing this, as i does following troubleshoot from my sie;1- use the invalidate in constructor, setup screen of view, and with screen coding in view file.2- try to look every possible options like change qr versions, scale, ECC. mostly every option3- try https://www.qrcode.com/en/about/version.html qr version table combitions to correctly check4- change screens and try on different projects.screen 1:
Hi, I am using the NUCLEO-WL55JC1 board and referring to the PWR_STOP2_RTC example to measure current consumption. I have isolated the ST-LINK section and am powering the board with an external 3.6 V supply for accurate measurement. However, in sleep (STOP2) mode, the measured current consumption is about 1.64 mA, which seems higher than expected. Please let me know if this is normal for this configuration or if any additional steps are required to further reduce the current consumption.
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.