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 working on the STM32MP257F-DK board and would like to use two Ethernet interfaces simultaneously for industrial network communication.The board provides:One onboard RJ45 Ethernet connector. One USB Type-C connector that, according to the documentation, can also provide Ethernet connectivity.My objective is to establish a network ring topology, where both Ethernet interfaces are connected to external devices using RJ45 Ethernet cables.I would like to understand:How can the USB Type-C Ethernet interface be converted to a standard RJ45 Ethernet connection? Does the USB Type-C port support Ethernet through a USB-to-Ethernet adapter (USB Ethernet dongle)? If yes, are there any ST-recommended USB-to-RJ45 adapters that have been validated with STM32MP257F-DK? Under Linux/OpenSTLinux, will the onboard RJ45 and the USB Ethernet adapter appear as two independent network interfaces (for example eth0 and eth1)? Has anyone implemented Ethernet ring topologies such as MRP, RSTP, PRP, or c
Hello Support Team,I am trying to start SWD debugging for the STM32MP135DAF7 in STM32CubeIDE using an ST-LINK V2 probe, but I cannot get the debugger to work correctly.My development board is MYD-YF135-256N256D-100-I based on STM32MP135DAF7.I enabled Engineering boot mode (B2 = 1, B1 = 0, B0 = 0)Software versions:STM32CubeMX v6.17.0STM32CubeIDE v2.1.1STM32CubeMP13 Firmware Package V1.2.0Debugger:Original ST-LINK V2Serial number: 30FF6F064E58373521xxxx43Firmware version: V2J47S7I created a simple project in STM32CubeMX and enabled only RCC and SWD debug. Then I opened the project in STM32CubeIDE and configured debugging through OpenOCD with “Connect under reset”.The debugger can detect the target correctly:SWD DPIDR is detectedCPU examination succeedsThe core sometimes halts correctlyBut after that, the debug session fails with many OpenOCD errors such as:timeout waiting for DSCR bit changeError waiting for InstrCompl=1Error waiting for cortex_a_exec_opcodeFail reading CT
Hello ST Community,Before releasing the next revision of our prototype board, we would like to verify that the hardware implementation of the ST33KTPM2I is correct and that there are no hardware design issues.Currently, the ST33KTPM2I is implemented as an optional component on our board. Before modifying the board design, we would like to perform some basic functional checks to confirm that the device is operating properly.Our interface is SPI.Is there any recommended way to verify communication with the ST33KTPM2I? For example, is it possible to read a device ID register or any other status information to confirm that the device is responding correctly?We reviewed the datasheet, but it does not appear to provide details about accessible registers or a register map. Therefore, we are not sure what commands or procedures can be used to perform a basic hardware validation.Thank you very much for your support.Below is our hardware schematic:
Hi all - first post here!I’m trying get Riverdi’s LVGL demo working. This is the first time I have ever used STM32, LVGL and Cube IDE - so I’m hoping Riverdi’s video guide has just omitted something simple but crucial!I’m using:STM32 Cube IDE (v2.1.1) ST-LINK V3SET (firmware version V3J17M10B6S1) Riverdi development board (LINK) Riverdi EVE4 7” display (LINK)I’m following this video guide word for word and I have not done anything whatsoever over and above what is described in the video. The code seems to build successfully however when I try to debug/run I get the following error message (“not able to get mcu target”), which I assume is the crux of my problem. I’d really appreciate some help getting over this (hopefully very simple hurdle) so I can start to familiarise myself with STM32 and LVGL.Thanks,James
One of the AF options on SPI1 is to use the SWD debug pins PB3-PB5.How can this be used in reality?Pretty obviously you can't do SWD breakpoints when SPI1 is thus mapped!But assuming no SWD debugging is needed, and you use SWD just to program the FLASH, how does one implement this? AFAICT one would need - on SWD inputs, FLASH loading will work- on SWD outputs (e.g. SWO - the SWV ITM debug output), FLASH loading works because these pins power up in some mode suitable for SWD FLASH programming.Then when the code starts running, you will need some logic to disconnect the debugger, so the clock and data SPI signals can come out, without contention with the debugger.Maybe I am missing something obvious. Or maybe this SPI1 AF mapping option is intended for FLASH programming not via SWD but via a UART, CAN or the weird USB mode.PB3 may not need anything because the SPI CLK is an output and the SWD SWO signal is also an output
Hello!I am designing a product using the stm32u073 that aims to use the least power. Does internal oscillator use more or less power than the external oscillator on the stm32u073? Is there any white papers on how to achieve the lowest power consumption on the u073?And meanwhile, is there some example implementation for the stm32u073?Thanks
I am developing an application on NUCLEO-N657X0-Q using Getting started image classification as base code. I need to add to the project the standby mode and right now when it enters standby mode, then it fails to resume correctly, i guess because part of the application is lost when system wakes up (retention is only 80 KB).The total size of the application is much bigger then 80KB and I am not sure how to extend the actual retention memory in use adding the TCM retention memories.Actually the application code is placed at 0x34000400.Is there an example on how to place the application also in TCM? I thought that another solution could be placing in retention at 0x34000000 the fsbl code and maybe in axisram2 the application, so that when the system wakes up after a standby it executes again fsbl and gets from external flash the application code.I tried this last part changing the linker files, setting 0x34000000 for fsbl and 0x34100400 for application, then in fsbl code i set address 0x
Hello everyone,Has anyone successfully used the "ST25R95 EMI FILTER CALCULATION.xlsm" spreadsheet?I'm currently trying to use it for tuning the matching network of an ST25R95 design, but it doesn't seem to work correctly on my side. As soon as I modify any parameter or use the reset function, all the graphs disappear and I can no longer obtain any meaningful results.At the moment, this tool would be very useful for optimizing the matching network, and without it I'm having some difficulties proceeding with the tuning process.Has anyone experienced the same issue? Is there a specific Excel version, macro setting, or workaround required to make the spreadsheet work properly?Any suggestions, advice, or alternative methods for tuning the matching network would be greatly appreciated.Thank you in advance for your help.Marco
I wanna implement Master and Slave ethercat protocol on stm32h7 series. Is there any examples available on subject?. Where should i start. Any resources?
win11 install st edge ai core(version4.0.1) ,everything is ok,but doesn't have a shortcut(try 3 times), and it doesn’t work, what's wrong? st edge ai core has bugs? Help me!
Hello, For a personal, open-source project I need to regulate 12V down to 3V, while consuming as little power as possible (a few uA quiescent current at most) in order to control a motor via BLE, all on batteries. While I was able to find ICs like the STBLW35, I am unable to find ready-to-use small boards/modules with those ICs. To me, it seems like the field of ultra-low-power is quite novel for the open-source space. As such, I wanted to ask whether ST couldShare insights about suitable modules with meSupport me and my project with products/evaluation boards Thank you for your time,Kind regards,Daniel Dakhno
HiI am implemented flash write protect on STM32U5 using option byte register FLASH_WRP2AR.Following these steps to write protect page 0x4C and 0x4D page in Bank 2- Unlock flash - Unlock Flash option register(FLASH_OPTR)- Unlock flash page by setting UNLOCK bit(31) in FLASH_WRP2AR- Write WRP2A_PSTRT[6:0] of FLASH_WRP2AR with value 0x4C- Write WRP2A_PEND[[6:0] of FLASH_WRP2AR with value 0x4D- Lock flash page by clearing UNLOCK bit(31) in FLASH_WRP2AR - Initiate option byte programming by setting OPTSTRT bit FLASH_NSCR register - Wait for flash operation to complete - Lock FLASH_OPTR register - Lock FlashThis sequence works some times , however most of the time after option byte programming FLASH_WRP2AR value resets to following value and write protect is disabled. - WRP2A_PSTRT[6:0]: 0x7F - WRP2A_PEND[[6:0]: 0x00OPTWERR bit sets in FLASH_NSSR indicating that invalid configuration, however configuration looks right.Regards,Hareesha
I need to use embedded STM32H573 bootloader to update customer application using UART1 or uart3.I try to use AN2606, but no success. May you provide correct code to jump from application to the embedded bootloader for specific processor model: STM32H573, please?
.clangd is constantly being modified appending the same compileflags: CompileFlags: Add: - '-ferror-limit=0' - '-Wno-implicit-int' CompilationDatabase: CM7/build Diagnostics: Suppress: - unused-includes - unknown_typename - unknown_typename_suggest - typename_requires_specqual If: PathMatch: CM7/.* --- CompileFlags: Add: - '-ferror-limit=0' - '-Wno-implicit-int' CompilationDatabase: CM4/build Diagnostics: Suppress: - unused-includes - unknown_typename - unknown_typename_suggest - typename_requires_specqual If: PathMatch: CM4/.* --- CompileFlags: Add: - '-ferror-limit=0' - '-Wno-implicit-int' CompilationDatabase: CM4/build Diagnostics: Suppress: - unused-includes - unknown_typename - unknown_typename_suggest - typename_requires_specqual If: PathMatch: CM4/.* --- CompileFlags: Add: - '-ferror-limit=0' - '-Wno-implicit-int' CompilationDatabase: CM7/build Diagnostics: Suppress: - unused-includes - unknown_typename - unknown_typename_suggest
Added dual-core to title - may be significant ...Hello.I've tried rename my project in the past, and this always generate a lot of errors due to the dependencies.Which is the properly way?I am working with STM32H755. Yes, dual-core.Thanks!
We have been using the ST MP23DB01HP microphone to measure the shockwave signature of assault rifles. When comparing the time signal with measurements performed with other microphones (e.g. B&K model 4948), we noticed that the typical N-wave signature looks different with the ST microphone. The initial compression wave of the shock appears negative when measured with the ST microphone, which is counter intuitive. Also, the expansion phase of the shockwave, which appears relatively clean when measured with the B&K microphone, is severely perturbed when measured with the ST microphone. Could it be that the perturbation observed with the ST microphone is of internal nature, e.g. caused by some internal flow due to the shockwave and not properly vented out of the casing? What other possible causes would you see? Exceeded acoustic overload point? Tthe shockwave has very strong gradients, that might interact negatively with the ST microphone.
Good morning, I try to compile a CNN model for the STM32N6 board but I get the following logs :Generate ProjectCopying previous project files from C:\Users\maick.huguenin\.stm32cubeaistudio\workspace\test-N6\.ai\run\run-9 to C:\Users\maick.huguenin\.stm32cubeaistudio\workspace\test-N6\.ai\run\run-9\.ai\generate\backupCalculating memory footprint...Run failed: Error: analyze error: E103(CliRuntimeError): Error calling the Neural Art compiler. Please check the report for more details. Output: ST Edge AI Core v4.0.0-20500 359356bb0PASS: 0%| | 0/103 [00:00<?, ?it/s] >>>> EXECUTING NEURAL ART COMPILER C:/ST/STEdgeAI/4.0/Utilities/windows/atonn.exe -i "C:/Users/maick.huguenin/.stm32cubeaistudio/workspace/test-N6/.ai/run/run-9/.ai/st_ai_output/model_int8_OE_3_3_1.onnx" --json-quant-file "C:/Users/maick.huguenin/.stm32cubeaistudio/workspace/test-N6/.ai/run/run-9/.ai/st_ai_output/model_int8_OE_3_3_1_Q.json" -g "network.c" --load-mdesc "C:/ST/STEdgeAI/4.0/Utilities/c
Hello,would someone confirm my mistakes on this TDA7850 schematic??There is a ground loop isolator BA3121 on inputs and softstart mosfet to limit inrush current.Ignition/remote ON provides a buzzing noise, as soon as engine or cabin heater/fan starts you can hear the whine amplified trough speakers….Any tip is welcome :)
The Data Brief for the STEVAL-CAM-M0I adapter board references the FH12-24S-0.5SH(55), which is a 24-pin connector. However, the cable pinout appears to be the usual 22 pins. Is this a mistake in the Data Brief, or is there something I'm overlooking?Data brief - STEVAL-CAM-M0I - P-Board: Hardware MIPI CSI-2 kit for the evaluation and integration of promodules on embedded processing platforms
I am a user of the NUCLEO-N657X0-Q board. I am using the NUCLEO-N657X0-Q board with Root of Trust enabled, and I want to use the RTC.Out of the 3 stages (FSBL → Secure App → Non-Secure App) I want to use the RTC in the Non-Secure App. My development environment is as follows:1> Development tool: Keil uVision V5.422> Example source: STM32Cube\Repository\STM32Cube_FW_N6_V1.2.0\Projects\NUCLEO-N657X0-Q\Applications\ROT\OEMuROT_Appli3> Development board: NUCLEO-N657X0-Q The biggest problem is that when HAL_RTC_Init() is called in the Non-Secure App, it hangs. The source for STM32Cube_FW_N6_V1.2.0\Projects\NUCLEO-N657X0-Q\Applications\ROT\OEMuROT_Appli was created by referencing STM32Cube_FW_N6_V1.2.0\Projects\STM32N6570-DK\Applications\ROT\OEMuROT_Appli. The code I added is as follows.1. Added to the main function of the Secure App.HAL_RIF_RISC_SetSlaveSecureAttributes(RIF_RCC_PERIPH_INDEX_RTC, RIF_ATTRIBUTE_NSEC);2. Added a function to the Non-Secure App.RTC_HandleTypeDef RtcHa
Most of the default settings on the ST workbench for the Charge Boot Capacitor Time are 10ms. However, with the B-G431B-ESC1 Discovery kit with STM32G431CB MCU, calculations show that the charging time for a 1-microfarad capacitor should not exceed 10 microseconds. So why is the default setting 10ms?
Starting with the http server example i inserted LwIP SNTP and RTC based on medium-high LSE and smooth calibration with a PI controller. After some hours of SNTP comparisons every 120 seconds the calibrator settles at -12.3 units. My firmware implements fractional calibration by tracking remainders. The running average over 10 consecutive time comparisons exhibits < 1 msec rms. A nice result.Then i modified predivider setup from standard 127/255 to 31/1023 in order to improve resulation. After a backup domain reset the new setup works and delivers consistent time comparisons. I also unsoldered R11 in order to separate PC13 from the “SD card present” switch in order to look at the RTC calibration output.The calibration output shows 4 Hz instead of 1 Hz. I may try an RTC alarm to get the 1 second output pulse. The smooth calibration feature no longer works as expected. Apparently the mapping between CALR register settings and what the circuit really does no longer follows the referenc
I just spent some time trying to get a debug session going in VSCode ony to be given the rather obscure error message: "bound doStepConnectToTarget Failed: could not connect (error 138): The system tried to join a drive to a directory on a joined drive."Eventually I realised what it was - I had enabled RDP protection on the device (STM32C5) so of course it could not connect.May I suggest that a more appropriate error message is given in such circumstances? (this is with stlink gdb debugger, latest version.)
Hello group,I'm a humble hardware guy integrating the LSM6DSV16X into a robotic application.We are going to use it in control loops, between 3kHz and 5kHz sampling.Between the main mode and the OIS mode, there are tons of ODR to choose from.However, is there a way to make the ADC sample at EXACTLY 5kHz?? Like a triggered or synced ODR?Or do I have to set the ODR at 7.68kHz and read the latest value from the FIFO and deal with the small discontinuities?I see the Triggered-ODR section 6.6 in the datasheet. Does it means enabling this will sync the ADC with an external INT2 pulses? Does the new values appears in the FIFO after a defined short delay?Thanks!
STM32CubeIDE 2.1.1: My program works if I choose the GCC compiler “none” optimization and it doesn’w work if I select any other optimization; anyone may help me ? Thank you
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.