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
We are working on a miniature Low Power AprilTag / Barcode Reader with the VD55G1 and STM32U3C5.For Development we build an EVAL-Board (CAM-5G1-079CLR + STM32U3 + DC/DC) where we can measure the Current Consumption on VCORE, VANA and VDDIO.We ported the STSW-IMG506-H5 to the U3 and modified the while-loop in “display_qvga_streaming_i3c”platform_set_gpio_state(streaming_led, PLATFORM_GPIO_STATE_TOGGLE); while (1) { platform_acknowledge_event(PLATFORM_GPIO_IT_EVT); ret = platform_wait_for_event(PLATFORM_GPIO_IT_EVT, 2000); if (ret) { handle_error(p_dev); } platform_acknowledge_event(PLATFORM_GPIO_IT_EVT); platform_disable_event(PLATFORM_GPIO_IT_EVT); ret = vd55g1_i3c_read_async(p_dev, 0x2000, p_line, width); if (ret) { handle_error(p_dev); } ret = platform_wait_for_event(PLATFORM_I3C_DMA_RX_EVT, 100); if (ret) { handle_error(p_dev); } platform_acknowledge_event(P
Hello ST team,We are developing a commercial product based on the STM32N6570 and are planning to use OEMuRoT with Secure Boot and firmware encryption.We are currently investigating how to securely provision cryptographic secrets into OTP during mass production, especially when using a third-party contract manufacturer.According to ES0620 Rev. 5, section 2.2.17, Secure Secret Provisioning (SSP) is not supported on STM32N6 due to limitations involving the BSEC_DBGCR and BSEC_AP_UNLOCK registers. The errata also states that no workaround is available, and the limitation appears to affect silicon revisions Z, B, and X.We would appreciate clarification on the following questions: What is ST's recommended approach for securely provisioning OTP secrets on STM32N6 during mass production? In particular, how can we prevent a contract manufacturer from accessing sensitive secrets such as OEM_SECRET_FOR_CRYPTED_BOOT and the OEMuRoT application encryption private key? Is there any alternative sec
Dear STMicroelectronics Team,We are developing a DC arc-fault interrupter (AFCI) for PV string combiner boxes, using the ST AI-based solar AFCI solution as our reference. We studied the presentation "AI-based AFCI solution for solar inverter" and "AI based smart solar AFCI solution," as well as the Industrial Summit 2023 demo video.The materials describe the development flow well: data collection, signal check, 2-class training on a PC, CubeAI conversion, and lab verification. They also say that data collection should be repeated in several rounds until performance is good. However, we could not find an explanation of how this works for real installations, nor what the two MCUs exchange with each other. We would appreciate your guidance on the following points.1. Field data collection (our main question)Arc data cannot be generated on a live PV site, so we plan to collect arc data in the lab with an arc generator, and normal operating data at the installation site. Is this the intended
Hello,We asked multiple VL53L5CX sensors for the same ranging frequency for different frequencies and measured what each one actually delivered. No two ran at the same rate, and none ran at the rate we asked for for higher frequencies.Commanded 10 Hz, result read every frame — the parts delivered 10.06, 10.14, 10.21, 10.26, 10.06 and 10.28 Hz. Commanded 30 Hz, same parts — 29.38, 29.62, 29.80, 29.94, 29.44 and 30.00 Hz. The deviation is different for every part, it changes sign between 10 and 30 Hz, and we see no pattern that predicts it.Is this normal? Is there a specified tolerance on the achieved ranging frequency? That is our main question.Two things we can add:It is not jitter. Each part's deviation is reproducible. Repeat a run and it returns to within tens of parts per million (ppm); power the part down for two minutes and re-initialise it, and it still comes back to the same value. The spread between parts is ≈ 2 percentage points, i.e. ≈ 20 000 ppm; the scatter within one part
GreetingsI have a Nucleo-446RE board which I have attempted to power without the USB cable on a battery system (effectively using the on-board LDO). Knowing that doing this eliminates the MCO from the on-board ST-Link, I have installed a 12MHz, 20ppm crystal with a load capacitance of 16pF. Furthermore, I have taken two 20pF capacitors from a scrap STM32F29I-DISC1 board I have and soldered them onto the Nucleo board. I removed SB50, SB16 and added 0 Ohm SMD resistors on the R35 and R37 traces which were initially vacant.When I attempt to flash my demo code, I cannot because the core is held in reset. I will disconnect the board and sometimes it will connect, but I still cannot flash any code. I reinstalled the serial bridges and removed the ones which connected the crystal to the MCU, rendering me able to undo the write lock which the MCU somehow sustained. I reverted to the abovememntioned settings as stipulated in one of the user manuals and I am still unable to do anything with the
Hello ST Team, I have developed a custom board based on the STM32MP257, using two DDR3L devices in a 32-bit fly-by configuration.During board bring-up, I encountered a failure when running STM32DDRFW-UTIL. The DDR initialization and training completed successfully, and the initial data-bus tests passed, but the AddressBus test failed consistently.After further investigation, I narrowed the issue down to the address/command mapping, specifically the following connection:STM32MP257 DDR_A19 -> DDR3L A11As a test, I modified the DDR configuration to disable/bypass A11, reducing the available DDR capacity from 2 GiB to 1 GiB. With this configuration, the complete STM32DDRFW-UTIL test 0 suite passes, including the AddressBus test and all subsequent tests. This suggests that the DDR_A19-to-A11 mapping is the source of the issue.However, STM32CubeMX does not report any conflict or invalid configuration for this address/command mapping.I am using STM32CubeMX 6.19.0. My DDR configuration is s
Hi!I tried the application open source OpenNOW from Github, for game streaming at my MP2 with 2GB RAM. It worked. I had to modify some parts of OpenNOW e.g run a separate wayland window for video stream because OpenNOW's pipeline streaming directly from video decoder to the GPU and the GPU renders the graphics inside an Qt QML application. So my modification only streams directly from video decoder to a wayland window.Summary:- Input controls feels smooth - Graphic resolution is 1080p- Audio is perfect - About 55-60 FPS The only bad thing is the color. If you look at this game when I stream, you can see that it's quite dark and the color red is very red. Does this has to do something with how the video decoder uses the colors? First, I don't know if it's the video decoder that causing this. When I stream from Gstreamer or Youtube using my Qt Youtube Client (included in the meta-layer) or optimized web browser for MP2 (made with QtWebEngine - included in the meta-layer), then the colors
Hi, I am having some issues with concurrent peripheral connections when using the stm32wb5x_BLE_Stack_full_fw version 1.21.0.I created a minimal project using CubeMX according to STM32WB Bluetooth® LE - STM32CubeMX Application Conception, targeting an STM32WB5MM-DK board with the following modifications:Targeted to v1.20.0 repository. RFWKP clock set to HSE/1024. Added restarting advertising until 2 connections are established. Added advertising at the shortest connection interval of any existing connection (or default if there are no existing connections)The firmware for this is attached to this post.When running this on the STM32WB5MM-DK with stm32wb5x_BLE_Stack_full_fw version 1.20.0 I can successfully connect 2 central devices to it, however if I change the stack version to 1.21.0 the second central device connects and immediately disconnects.In both scenarios it is the same to central devices connecting.iOS device using BLEHero App (Connection interval 30mS, timeout 720mS) nRF Co
I was seeing some network issues, and saw javaw.exe continuously sending and receiving network traffic.I traced it back to STM32CubeMX. It was open, and minimized. I had it open for a day, and the whole time it seems to have been sending and receiving something.As soon as I exit STM32CubeMX, the traffic goes away.What is this traffic? Why is it necessary?Below is a snapshot from Windows Resource Monitor. You can run process monitor by running resmon.exe (it is included in the base Windows install).
The VENC peripheral on the N6 boasts a hardware handshake path with the DCMIPP peripheral, potentially allowing full compression of each frame to occur with very little active RAM. From what I can find, the DCMIPP capture starts, then the VENC is told to start encoding, and the application only then receives notifications when a frame is complete. There should be no further interaction. However, I am unable to get this working for MJPEG. The examples for this sort of streaming are all for h264, and the JPEG is thrown to the side as a one-time encoding. I have reasons on this project to use MJPEG encoding, but I cannot get the VENC to perform this handshake with the supplied example code. I have attempted to modify the JPEG Encoding Example that uses the VENC, and have successfully used the VENC for JPEG encoding of a full in-RAM frame, so I know the peripheral can work. Relatedly, the only articles on the handshake algorithm I can find is for the H264 compression.I'm looking for any wo
Hello, In my application using the STM32U073 series MCU I must erase one of the last pages of flash (actually several of them but for this example I’ll just use one).Page 62, addresses 0x0801f000 - 0x0801f800, and when I call HAL_FLASHEx_Erase I get no errors either from the function return or the pageError parameter that gets written to inside the erase function, both report success.However when I look at the memory with the memory viewer I see that the first words at that page are still not erased. I moved the erase function out of the many layers of other code and tried to execute it directly in main after the peripherals and initializations have been done, but the outcome was the same. This version of the code is attached, as well as screenshots of the debugger with memory view and the UART terminal for debug output. Memory View after eraseMemory view before erase Start of DebugUART Outputint main(void){ /* Reset of all peripherals, Initializes the Flash interface and the Sy
Hello,I have a problem with multiple devices except one with UART and I can’t figure out why are (not) they working. I assume my code logic is correct since it works on one device.All power voltages are correct, I have pull-up resistor on both lines (MCU’s internal pull up), ST7580’s TX pin is permanently on 3V3, it’s not transmitting anything.
Hello, I wanted to learn something about embedded Linux. So, I bought a stm32mp157f-dk2 eval board. I setup a yotco project, so that I can use remote desktop on it.I took the original M4 example project from the STM32MP1 workshop. Copy&paste via remote desktop and started it. The orange LED is blinking as expected. As next step, build the project with CubeIDE and wanted to debug it.But I cannot connect to M4. Any idea ?The StLink/USB is basicly working, because - the serial interface / COM port is working - the STLINK is show in windows - I was able to make a firmware update of the stlinkBR
Hi,I'm working on a project in STM32Cube AI Studio for the L4R5ZI board, using a ResNet8 model (int8 version from MLPerf Tiny for the CIFAR10 dataset) with default settings. During model validation on the target, I encounter the following error:INFO [ST Edge AI Core] Running the ST.AI c-model (AI RUNNER)...(name=network, mode=TARGET)INFO [ST Edge AI Core] E200(ValidationError): TARGET: Unable to bind the ST.AI runtime with "network" c-model: []INFO [ST Edge AI Core] E801(HwIOError): Invalid firmware - COM10:115200INFO Command for ST Edge AI Core finishedERROR Command for ST Edge AI Core failed, return code 4294967295INFO Target 0670FF525282494867194720 releasedERROR Error during run, due to ST Edge AI Core error. TARGET: Unable to bind the ST.AI runtime with "network" c-model: []INFO Tasks: usb [STM32CubeProgrammer v2.23.0], analyze [ST Edge AI Core v4.1.0], generate [ST Edge AI Core v4.1.0], download_pack [STM32CubeMX v6.19.0], create_project [STM32CubeMX v6.19.0], ge
When the LSM303AGR temperature is changing over time we see flat spots in the temperature readings at 24degC and every 16deg above and below this, with 24deg being the most noticeable. Other readings appear to be normal.We have tested in a temperature chamber (heating and cooling cycles), but this can also be seen when allowing the device to warm up naturally on a bench. The following graph show temperature values returned from the device over the first 16 minutes after powering on the device. Any ideas?
I have spent the last 18 months working on a device that I hope will soon go into production which uses the STM32L433RCT6P.I am about to get a pre-production board fabricated and assembled, but there is a hold up because STM32L433RCT6P is out of stock.Digikey are due to receive 810 in stock next month, but then the next re-stock will only be 150 and will not be until the end of next year !This is very concerning if my device soon goes into production, its already causing a delay to my pre-production board.The website shows the part is active, so presumably its not about to go obsolete ? Are stock levels an issue with all STM32 devices ? Do I need to consider changing to a different part ? If I have to change to a different part, is there a compatible replacement (preferably with no or minimal changes to hardware and firmware)
Hi,I am planning use STM32MP131 controller for 6 x ADC I/P, 1 x 1G ETH, 6 x GPIO, 2 x I2c, 1x SPI, 2 x UART application.Please confirm , can i use directly without external memory interface.Kindly send the reference schematic / Design guidelines for the same.
Hello, I am using a custom STM32CubeProgrammer external loader for an AT25SF641B 8 MB SPI NOR Flash connected to an STM32U575.Start address: 0x00000000 Total size: 0x00800000 Page size: 0x100 Sector size: 0x1000 Number of sectors: 0x800, or 2048 sectorsRead and write operations work correctly from the STM32CubeProgrammer CLI using the .stldr file.However, this external flash sector erase command does not work:STM32_Programmer_CLI.exe -c port=SWD mode=UR reset=HWrst -el AT25SF641B_STM32U575.stldr -e [704 735] -vb 3The result is:Erase sector(s) …Error: sector 704 does not existError: Sector erase operation failed at least for one of the existing specified sectorsSector 704 is valid according to the external loader geometry:0x002C0000 / 0x1000 = 704If I use:-e 4the command succeeds, but it erases sector 4 of the STM32U575 internal flash. The external loader SectorErase() function is not called.Similarly:-e alltargets the internal MCU flash instead of calling the external loader MassErase(
I have a problem during the installation procedure of STEdge Ai Core, in particular I cannot login into my ST Account. This is what I tried to fix the problem:1. Change password2. Switch to another wifi connection3. Turn off firewall4. Create a new accountNone of these things fixed this issue, I have this problem not only on linux mint, but also on my laptop windows 11. What can I do?In the secon screenshot you see the output of the terminal after I launcher the command:./stedgeai-linux-onlineinstaller --verbose
I tried downloading STSW-LINK007 without success. It doesn’t work in Firefox, it doesn’t work in Google Chrome, it doesn’t work as guest and it doesn’t work as a registered user. When I click “Download latest”, I get the popup to accept the license term, and then nothing happens, or it scrolls back to the top of the page. There are old forum topics that describe the same problem, that either got not answer at all or claimed that the issue was fixed. Please advise.
Hi all, I’m working with a provisioned STM32H533 (TZEN=1, DA unlocked with `per=eh`). I ran into a problem where `STM32_Programmer_CLI` v2.23.0 fails to program secure flash. It prints `Fail to read NVM Size`, then reports `File download complete` and exits with code 0. The actual data in secure flash doesn't change. But the same command works fine in the Open state:STM32_Programmer_CLI -c port=SWD mode=HotPlug ap=1 -vb 3 \-w sec_flash_demo_s.elf -w sec_flash_demo_ns.elf -rstHere are some more details:Setup - STM32CubeProgrammer v2.23.0 (STM32CubeCLT 1.22.0), Ubuntu- NUCLEO-H533RE, on-board ST-LINK (FW V3J17M10)- Firmware based on the STM32CubeH5 V1.7.0 `NUCLEO-H533RE/STiROT_Appli_TrustZone` example- TZEN=1, product state Provisioned (same result in Closed)- DA unlocked with ST's sample DA keypair & certificate, `per=eh` I attached the full log attached. I think the issues are: 1. The secure flash erase command goes through the non-secure controller (0x40022xxx):w ap 1 @0x40022028
I am using a NUCLEO-F446RE (MB1136 rev C) board with no external wires or shields connected, and I am consistently getting FAIL.TXT (The interface firmware FAILED to reset/halt the target MCU) on the NOD_F446RE drive, Target no device found (Reason: No device found on target) in STM32CubeIDE's ST-LINK GDB server, and Error: Unable to get core ID / Error: No STM32 target found! in STM32CubeProgrammer even though target voltage reads 3.24 V and STLink Virtual COM Port (COM5) and ST-Link Debug show up properly in Windows Device Manager. So far, I have verified the USB drivers, updated the on-board ST-LINK/V2-1 firmware to V2J46M33 (confirmed in DETAILS.TXT and STM32CubeProgrammer), checked the CN2 jumpers and U5V power jumper setting, inspected the back solder bridges, and tried connecting under reset / hardware reset at lower SWD frequencies, and I also noticed LD1 shifts from red to green after around 5 minutes of being powered, yet the target MCU still cannot be detected.
Hello,The L9963E datasheet (DS13636 §6.6.2, Fig. 38) describes balancing with external NMOS/PMOS FETs driven from the Sx pins. Is the same approach supported on the L9965A / L99BM218? I could not find it in DS15021 or AN6387.The L9965A has one S pin per cell tap, with the internal FET between Sx and Sx-1. The L9963E circuit would therefore need to be adapted. Every second S pin would act as a "gate" pin, connected to the tap through a drive resistor and driving the PMOS of the cell below and the NMOS of the cell above. The other S pins would be "common" pins, connected to the tap through a low resistance. Odd/even swap would keep the two channels that share a gate pin from being on at the same time.Is external-MOSFET balancing supported or validated on the L9965A? Is there an application note or reference schematic? During the open-load diagnostic, IBAL_DIAG flows through the drive resistor. Is there a recommended maximum value, and does the balance-open diagnostic still work? Are IBAL
We are designing a board based on the STM32H533ZET6 (LQFP144). We plan to implement a serial console in our application firmware to output debug logs (printf) and exchange commands and responses with a PC terminal.Before finalizing the pin assignments, could you please confirm the following?Can we use any of the available serial peripherals—USART1, USART2, USART3, USART6, UART4, UART5, or LPUART1—for this console in asynchronous mode? If we select a valid TX/RX pin pair and configure the corresponding GPIO alternate functions, are there any additional restrictions or recommendations for this package? If so, please point us to the relevant documentation. Separately, if we want to use the built-in system memory (ROM) bootloader for firmware programming over UART, which USART instances and TX/RX pin pairs are supported on the STM32H533ZET6?
Hello,I have created a framework for OEMiROT + OEMuROT boot path wherein I have tried implementing a two-boot stage. This boot path isn’t included in the ST template examples unlike that for OEMiROT or STiROT_OEMuROT. I was able to run both existing examples on my board correctly.For OEMiROT + OEMuROT boot path, I have made changes in the scripts specific to boot paths and UBE. The memory layout is also defined depending on the image sizes where I am using the flash memory divided for OEMiROT, OEMuROT , secure application and nonsecure application referring the below boot path when TZ is enabled. Post reset the control jumps to OEMiROT in this case.I could write the OEMiROT binary at base address 0x8000000 and OEMuROT at 0x800E000 using the scripts.I am able to verify if they are flashed by reading the respective memory addresses using ST programmer. I could see the non-zero or non-FF values at both memory addresses. I have shown one for base address 0x8000000 Besides the images gettin
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.