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 ST Team,I am facing an issue while building an OpenSTLinux project for STM32MP255.EnvironmentBoard: STM32MP255 OpenSTLinux: 5.0.8 Yocto Distribution: openstlinux-weston Ubuntu: 22.04 LTS Kernel: 6.8.0-124-generic pseudo version: 1.9.0+git pseudo SRCREV: 28dcefb809ce95db997811b5662f0b893b9923e0 ProblemThe build fails during:build-info-openstlinux.bb:do_packageThe failure occurs inside Yocto's standard perform_packagecopy() while executing:tar --exclude=./sysroot-only \-cf - \-C image \-p -S . |tar -xf - \-C packageThe error is:got *at() syscall for unknown directory, fd 4unknown base path for fd 4, path buildcouldn't allocate absolute path for 'build'tar: ./etc/build: Cannot open: Bad addresstar: Exiting with failure status due to previous errors Investigation PerformedI verified the following:1. RecipeThe build-info-openstlinux.bb recipe is unchanged and only creates the /etc directory.The /etc/build file is generated by image-buildinfo.bbclass.2. Generated fileVerified that:ima
"I recently bought an STM32F030C8T6 chip, but when I was programming it, I didn't enable the debug interface as Serial Wire. As a result, although the first programming was successful, I can no longer program it through the Serial Wire interface. How can I solve this problem?"
Hi, how do I configure launch.json to use hot plug?
I am working on STM32WL55 dual core in which the current consumption is as not as expected as according to the datasheet. It is hardcoded for high power only. and the current consumption is coming for +17dBm and +14dBm as expected which is 58mA and 45mA approax but when switching to the +20dBm and +22dBm it is getting capped at 68mA only. It is not going above 68mA at any way. I have hardcoded it to 22dBm but it is still getting capped to 68mA only. I want to do changes in the code in such a way that the current consumption changes. what are the possible reasons of it and what are the functions where the code modification can help in changing the current consumption. Is there that ST has capped it to +18dBm or +17dBM and will never work above it? void SUBGRF_SetTxParams( uint8_t paSelect, int8_t power, RadioRampTimes_t rampTime ){uint8_t buf[2];int32_t max_power;if (paSelect == RFO_LP){max_power = RBI_GetRFOMaxPowerConfig(RBI_RFO_LP_MAXPOWER);if (power > max_power){power = max_powe
I have a custom board using STM32MP131D integrated with ethernet PHY TI DP83867CR. I am using RGMII interface with a Magjack RJ45.I have been benchmarking the ethernet performance at 100Mbps using iperf3 with the custom board as the iperf client and my Linux test PC as the iperf server.When I run iperf in client mode on the custom board (DUT) in TCP, I see really bad TX performance:root@stm32mp131-sga:~# iperf3 -c 10.10.14.200Connecting to host 10.10.14.200, port 5201[ 5] local 10.10.14.102 port 35028 connected to 10.10.14.200 port 5201[ ID] Interval Transfer Bitrate Retr Cwnd[ 5] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec 3 1.41 KBytes[ 5] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 2 1.41 KBytes[ 5] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 1 1.41 KBytes[ 5] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 1 1.41 KBytes[ 5] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 1 1.41 KBytes[ 5] 5.00-6.00 sec 0.00 Bytes 0.00 bits/s
@Pavel A. I am facing a similar issue. Cannot instal STLINK drivers on Windows 11 (STSW-LINK009 | Software - STMicroelectronics) Here is my system information: Any help would be greatly appretiated!
HiMost of you are using the HAL library, if you want to do something standard and if it works out of the box, what was generated, it speeds up your project. Sometimes it is not the case… so we need to adapt the HAL to make it work. Now the main issue, when we need to regenerate the project al the changes are gone and we need to change everything again by hand… Maybe this sound familiar to you?It this is the case how did you handle this? Patch file, list al the changes and do it again by hand?@ST, is it possible to support user code blocks added by the user and not only where CUBE decide to add. Or make it possible to generate / add code for some specific parts/ hardware? For example, I want to add or change UARTx, there is no need to update the SPI code…
Hello, I'm working on a project using the STM32F401RE board to perform real-time fault diagnosis on machinery.The board receives vibration data in real-time via a USB-type accelerometer (Digiducer 333D01), and a lightweight deep learning model running on the MCU determines whether the signal indicates a normal or faulty condition.All of this is running under FreeRTOS and must meet real-time constraints. The accelerometer is connected through a USB breakout board (YwRobot ELB050209), and the STM32 board is configured to operate as a USB Host with Audio Class support.The USB connection and device enumeration process (including descriptor parsing) have been completed successfully. Interestingly, the Digidecer 333D01 is recognized as a USB Audio Class device, specifically as a microphone-type interface.The device presents itself with an Audio Control interface and an Audio Streaming interface (Isochronous IN), similar to a standard USB microphone.Although the data represents vibration (acc
EnvironmentTouchGFX 4.26.1 (Engine + prebuilt library) LCD config: 8bpp, `LCD8bpp_ABGR2222`, 240x240 Reproduced on Windows simulator (MSVC), Linux simulator, and STM32U595 hardware. Same TouchGFX source across all three, so this is not platform-specific.SummaryWhen an ABGR2222 dynamic external bitmap is drawn with `LCD::drawPartialBitmap` and the source rect extends past the dirty (clip) rect on the Y axis, the clipping path writes the overhanging rows starting at the dirty rect's top (`dirtyRect.y`) instead of at the requested `screenY`. The result is a duplicated copy of those rows at the wrong vertical position.X-axis clipping is correct: `screenX` can be negative or off-screen with no issue. The defect is specific to vertical overhang. Trigger conditions (all must hold)Bitmap format `Bitmap::ABGR2222` (the other three 8bpp 2222 formats compile to identical code, so they are likely affected too) Bitmap registered with `Bitmap::dynamicBitmapCreateExternal` Drawn via `LCD::drawPartial
WebKit is now releasing a new upgrade for their WPE WebKit API so the web browser can run on the GPU instead of CPU.Here is what the WPE WebKit Dev Team is writing:In any case, try the new WPEPlatform API (https://wpewebkit.org/) instead of Cog, and that suggestion still stands. Cog is currently at the end of its lifetime and won't see more stable versions, as we are fully focused on this new API that will not only make integration much simpler but will also allow making the most of more modern features like dmabuf, which enables zero-copy buffer sharing both at the graphics and multimedia layers of WPE, therefore increasing performance, stability and smoothness.Now, while the new WPEPlatform API will be released as stable in September, it's still fairly mature and you can already try it out with ToT or with the latest unstable releases, as well with the latest stable release (2.52.3). See some links to the API docs below:https://wpewebkit.org/reference/unstablehttps://wpewebkit.org/re
Hello everyone,I'm a final-year Electrical and Electronics Engineering (EEE) student aspiring to build my career in the Electric Vehicle (EV) industry, particularly in areas such as Battery Management Systems (BMS), Power Electronics, Motor Control, Embedded Systems, and eventually R&D.I recently decided to learn the STM32 NUCLEO-F303RE as my primary development platform because I understand it is widely used for motor control, real-time embedded applications, and industrial systems.I am a complete beginner to STM32 and embedded systems (although I have basic C programming knowledge), and I'd like to learn it the right way rather than just following random tutorials.I'm looking for guidance on the following:What is the best learning roadmap from beginner to advanced for the STM32 NUCLEO-F303RE? In what order should I learn the peripherals (GPIO, Timers, PWM, ADC, UART, SPI, I2C, CAN, DMA, etc.)? Which official documents should I read first (User Manual, Datasheet, Reference Manual,
Both Micron and Samsung are putting LPDDR4 memories to EOF.What is the guaranty that STM32MP2 can support other affordable memories e.g LPDDR5?
Hi ,We are facing an RMII signal setup time violation on the RX side of the RTL8364.We have already discussed this issue with the Realtek team, and they have suggested verifying the STM controller side, as the timing issue may be originating there.Could you please review the issue and suggest a possible workaround or any recommended configuration changes on the STM controller side to resolve this setup time violation?For your reference, we have attached the schematics and waveform captures.Looking forward to your guidance. Thank you.
Factory flashing of the STM32MP135 will be part of some device testing (probably ICT) during production at an external manufacturer. So, SSP will play a part in this. Testing and flashing the device will be automated as much as possible with a custom app (GUI or CLI) running on a PC. This app will execute STM32CubeProgrammer_CLI with corresponding arguments in the background.As I understand it, once the whole SSP process has finished, it cannot be done on the same device again. I need a way to test the automation app numerous times before giving the whole package to the manufacturer. I didn't find a clear solution to this, and I don't want to buy many STM32MP135 development boards or HSM cards for it. For the HSM part: I read in the forum that the licence file can be extracted from the smart card and then use it with the STM32CubeProgrammer but I'm not 100% sure about that.So, my questions are:What is the recommended way to test flashing with SSP on a single device? Can a licence file
STM32CubeMX version 6.18.0.When generating “cmake/stm32cubemx/CMakeLists.txt” does not include source files from directory “Middlewares/ST/usbx/common/usbx_stm32_device_controllers”. My workaround is to add those sources in project CMakeLists.txt:# Set usbx_stm32_device_controllers code filesset(USBD_STM32_DEVICE_CONTROLLERS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/Middlewares/ST/usbx/common/usbx_stm32_device_controllers)set(USBD_STM32_DEVICE_CONTROLLERS_SRCS ${USBD_STM32_DEVICE_CONTROLLERS_DIR}/ux_dcd_stm32_callback.c ${USBD_STM32_DEVICE_CONTROLLERS_DIR}/ux_dcd_stm32_endpoint_create.c ${USBD_STM32_DEVICE_CONTROLLERS_DIR}/ux_dcd_stm32_endpoint_destroy.c ${USBD_STM32_DEVICE_CONTROLLERS_DIR}/ux_dcd_stm32_endpoint_reset.c ${USBD_STM32_DEVICE_CONTROLLERS_DIR}/ux_dcd_stm32_endpoint_stall.c ${USBD_STM32_DEVICE_CONTROLLERS_DIR}/ux_dcd_stm32_endpoint_status.c ${USBD_STM32_DEVICE_CONTROLLERS_DIR}/ux_dcd_stm32_frame_number_get.c ${USBD_STM32_DEVICE_CONTROLLERS_DIR}/ux_dcd_stm32_fu
Hello everyone, I’ve been working for a few weeks on a TouchGFX project using a MCU that is working with CubeMX2, so I used the documentation (Using TouchGFX with STM32CubeMX2 | TouchGFX Documentation) to setup my project, which is working.However I tried to add an SVG Image and then I got the “undefined reference to ‘touchgfx::VectorRenderer::getInstance()’” issue. Normally this issue can be resolved by enabling vector rendering in CubeMX, but because I’m on CubeMX2 it’s not possible in my case.Is there any way to enable vector rendering manually ? Also just to be sure it wasn’t already activated I tried to put a SVG image with the example project that I started with (the NUCLEO-C5A3ZG + RVA15MD project), and I got the same error.MCU used is STM32C552RET6.
Hello All i am making distance sensor using VL53L4ED I wrote code using VL53L4CD library and i found that my module is soldered with VL53L4ED , Can i run VL53L4ED project with VL53L4CD library? i compared ULD library and both seems almost similar although i doubt i might missing something, Regards
If I want to use tof to achieve gesture recognition, which can recognize all dynamic sliding and static classification: palm clenching, OK, digital gesture waving, static hovering, and can recognize the key points of the hand, which products should I choose
Hello everyone,I am experiencing a strange issue with the Ethernet interface on my STM32F207VC.Problem DescriptionAfter programming the firmware using STM32CubeProgrammer v2.12.0 with an ST-LINK debugger, the application works perfectly:- The board responds to ping.- My PC client communicates successfully with the TCP server running on the STM32.- Ethernet communication is fully functional.However, after performing a power cycle, the Ethernet stops working:- The board no longer responds to ping.- TCP communication fails.- The application itself appears to be running, but the Ethernet interface is non-functional.Hardware Details- MCU: STM32F207VC- Ethernet interface: RMII- Default STM32 RMII pins are used.- Programming/Debugging: SWD (ST-LINK)- The board has an external 8 MHz crystal, but in STM32CubeMX the MCU is configured to use the internal HSI clock (HSE is not enabled).- The Ethernet PHY has its own 25 MHz crystal and provides the required 50 MHz RMII REF_CLK to the STM32.The exac
Hello,I am looking for a BLDC motor controller with Hall sensor and Encoder interface. Hall sensor is used for commutation and Encoder will be used for position control. I could not find a motor controller with above mentioned interface. Can you suggest a suitable controller?Thanks,Anand
I am working on camera integration with both the STM32MP257F-DK and STM32N6570-DK development boards and would appreciate some guidance from the community.My setup Boards: STM32MP257F-DK STM32N6570-DK Camera sensor: Suggest One camera Sensor for both, currently I have VD55G1 and VD66GY Software: ST OpenSTLinux (Yocto) on STM32MP257F-DK My questions Is it possible to interface a camera to the STM32MP257F-DK using the DCMI peripheral, or is MIPI CSI-2 the only supported camera interface for this board? For the STM32N6570-DK, what is the recommended approach for connecting a camera through DCMI? Are there any supported camera modules or reference designs? Are there example projects available for image capture using DCMI? If the camera sensor provides only MIPI CSI-2 output (such as the VD55G1 and VD66GY), is an external bridge/converter required to use it with DCMI? Are there any ST application notes, reference designs, or GitHub examples demonstrating camera i
after selecting the pins from cube MX, it will generate code in c but i want that in cpp
It appears that the longest spi operation that could be used to access the LSM6DSV (and related parts) would read a single fifo entry (7 bytes) and it is not possible to read all the available fifo entries in a single dma operation. Am I missing something? Geoffrey
Hello, I'm trying to program a custom board equipped with an STM32WBA23CE.I've tried wiring it from a Nucleo board (MB1801D), but the programming is failing.CN3 pin5 -> Custom Board VDDpin9 -> PA13pin11 -> PA14Even when I press Connect in CubeProgrammer, an error dialog appears. It works normally when I disconnect the wiring to the custom board, so it doesn't seem to be an issue with the application or the Nucleo board.The custom board does not have 32 kHz support.Are there any resources or descriptions that might be helpful regarding this method?
I purchased a brand new Nucleo board. plugged it into my computer, USB device detected, please update firmware; yes; then the process stopped “Error 33” Now my BRAND NEW nucleo board seems bricked. Is there any recovery mode? I have tried several times on STM32 Cube Programmer; The board is detected, Does anyone have any suggestions? - This does not bode well for my first introduction to ST. What a flaky system. I have changed cables etc, several different combinations, changed USB ports, rebooted, all of the standard stuff. It seems as though the Nucleo board’s serial number is being detected. The firmware update process starts, runs for a few seconds, several red LED flashes, then halts and gives error 33.
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.