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
I've been trying to flash a .tflite model onto my NUCLEO-L433RC-P, using STM32CubeMX and Keil uVision5 initially, and later with STM32CubeIDE. But for some reason I keep getting issues either with "Analyze" or with generating the code. I am on Windows 11. My computer is in the chinese language, but my system local is English (US).Initially, while using CubeMX/Keil, I was able to successfully analyze my model after downgrading to the 7.1.0 version of Cube-AI. Before that, with the newest version, I get "TOOL ERROR: 'utf-8' codec can't decode byte in position x in position y: invalid start byte". But after analyzing and successfully running the model on desktop, when it comes to generating the code to run on my device, it refuses to generate any .h files nor the middlewares folder. I looked online and couldn't find any solutions, and decided to download CubeIDE as I thought that this might fix the issues. But after downloading CubeIDE, I faced even more issues, as now on top o
Environment: STM32L4 + 32.768K LSEFunction: Wake up and work once every hour, then enter stop2 mode. During the one-hour sleep, wake up every ten minutes to feed the external watchdog.Problem: The device resets directly when waking up every ten minutes.Current known information: The device was tested in the company for over twenty days without any issues (including restarts, freezes, etc.). After the prototypes were given to customers, problems started to occur in about 10 to 20 days. Currently, there are two failed devices. After power cycling, the devices did not return to normal. External reset also did not restore them to normal. Re-flashing the devices allows them to operate normally, and they are currently under continuous pressure testing to see if the issue will recur.Current debugging progress: When the device restarts, the nRST pin has a low-level time of less than 1ms. The 3.3V power supply pin of the MCU is stable as observed by the oscilloscope. The TP5010_DONE_Pin has a 4
I am trying to deploy encoder only transformer model on STM32 by converting pytorch model to onnx format first and then using STM toolchain (STM32 CubeAI). However, I am constantly getting this error when I analyzed the model:TOOL ERROR: cannot reshape array of size 0 into shape () I tried to debug my model but couldn't find any issue in it. Any guidance will be appreciated. Thank you.
Hey Guys,I am currently in the process of running an object detection model on the N6. To make it accelerated on the NPU I quantize it during Training (QAT) in pytorch. I made some adjustments to the exported QAT model in onnx to make it run on the n6 NPU (I compared the original onnx output before and after my transformations and they are the same).When i try to validate my Model on the Desktop (MCU) however i get completely different output for the c model:This is a part of the onnx model in netronThe input is quantized and the output notWhat i observed is when i remove the layer after the Conv->Transpose->Reshape the Output of the C model somehow matches the onnx model:Why is this the case? Is there any problem with the slicing and reshape layer because St has channel last and not first?Thanks for the help,If you need more context let me know
Hi there!I already configured LwIP package and make it work on a NUCLEO-H755ZIQ following @Adam BERLINGER gude in the Knowledge base section:https://community.st.com/t5/stm32-mcus/how-to-create-project-for-stm32h7-with-ethernet-and-lwip-stack/ta-p/49308 Well, trying to move the LwIP heap memory to a larger memory location I experienced a n unexpected issue:When I locate the heap in the DTCMRAM of the M7 core, communication will no more work at all(no ping, no tcp connection...).Locating it in D1 (AXI RAM) or D3 RAM all work as expected.I checked also the MPU configurations ad all seems correct, it seems that in DTCMRAM there is a different behavior. Just for my comprehension, there is something wrong in locating such heap into the DTCMRAM?Thanks in advance! iTTy
Greetings,in one of my current projects i am using a STM32WB55 as peripheral which requests a secure connection with the host (bonding mode = 1). When the connection is newly established, everything works as expected - the "pairing" dialogue pops up once and when the procedure completed, the connection works. With Android there is no further problem.But iOS causes inconvenient behavior by not automatically re-pair when the information got stale or lost. I didn't find a way to at least reopen the pairing dialogue on a secured connection. iOS terminates the connection as soon as it receives a "key missing" error and there seems to be no way to let it re-pair. The user has to "forget" my device and restart the pairing procedure manually... However some approachers at least caused different behaviour:Set the bonding mode to 0 in the authentication requirements.If not done already remove the pairing information in iOS by forgetting the device.Do one of the following:issue aci_gap_slave
Reporting that this bug is sitll present in CubeMX v6.16.1Solved: We found a bug while using Hardware JPEG. - STMicroelectronics CommunityStill JPEG_SWAP_RG, not JPEG_SWAP_RB.I wish there would be user defined section in jpeg_utils.conf.h to workaround it.And there's another bug:Every time I regenerate code, CubeMX erases Utilities/JPEG folder. So the package code has to be manually restored.
I designed a PCB using the STM32H743 in the TFBGA240 +25 package.When I power the board, the STM32 gets hot. I measured the voltage across the VCAP capacitors, and it is 2.2 V, while it should be a maximum of 1.35 V.What could be causing the VCAP voltage to rise to 2.2 V?
ST moderator: updated the title with the MCU part number. I am working on an embedded web interface hosted on an STM32-based system using lwIP. The interface serves basic HTML pages along with multiple product images for browsing and preview.On pages that contain several high-resolution images, similar in structure to pages like this: I notice slower load times and occasional rendering delays when everything is served directly from the MCU web server.For those with experience building embedded web servers on STMicroelectronics platforms, what techniques have you found most effective for improving image delivery and overall page responsiveness?Examples could include compression approaches, external memory usage, filesystem choices, or caching strategies.Looking for practical guidance based on real implementations.
I’m working with TouchGFX in STM32CubeIDE. After creating a new project and copying over the IOC file and pin configuration from the verified design used for my custom PCB, I’m now running into errors. Some components fail to build, and I’m getting “file not found” errors for certain header files—even though the files clearly exist and I can open them in the IDE.Do you have any suggestions for fixing include paths or linker settings to resolve this?
I have an STM32H563 running FreeRTOS and LwIP with the netcon interface.For the most part its working OK, however when I send a lot of data (around 250KB/s for a few seconds) it crashes with a HARD_FAULTIt looks like the memory (pbufs) are being corruptedThe driver (etherentif.c) is based on LwIP/LwIP_HTTP_Server_Socket_RTOS/Src/ethernetif.ctaken from the STM32H7 cubeIs there an updated driver for the STM32H5 or one with known reliability ?
Expected Log using UART :[BOOT] UART initialized successfully[BOOT] Starting ThreadX kernel[NET] NetX Duo initialization started[NET] IP stack and protocols enabled[TX] ThreadX kernel running[NET] NetX application thread running[NET] Network stack ready[NET] Static IP: 192.168.1.1But the it breaks at [NET] NetX application thread running and i have found the following error using debugger and stucked at the error, so need guidance on bring up of Ethernet and perfect log using the UART I want to send the data from the pc to the STM Board through the ethernet [using] TCP and store the data at some memory so initially i want to bring up the flow and stucked at the error. main.c/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * Copyright (c) 2026 STMicroelec
Hi,I want to kick ADC1 IN5 with the Timer TIM2. I'm working with CubeIDE.I select:ADC1 -> ADC_Regular_Conversion_Mode -> External Trigger Conversion Source -> Timer 2 Trigger Out eventTIM2 -> Trigger Output (TRGO) Parameters -> Update EventBut ADC1 does not run, Data Register is constant.If I kick ADC1 by software everything is fine, I get some noisy numbers.TIM2 is running, the count register is counting.Why does TIM2 not kick ADC1 by the TRGO event?This setup used to work fine on STM32F303. What do I miss on the STM32F429?THX CheersDetlef
In rm0316 rev 10 for the stm32F303x, the documentation for the ABRQ bits in the CAN_TSR transmit status register states: Setting this bit has no effect when the mailbox is not pending for transmission. I am finding on my STM32F303 that setting ABRQx when the mailbox is empty will actually clear the RQCPx and TXOKx status bits in the CAN_TSR. This effect is important to note, because if you're using the TXOKx bit to determine if the message was transmitted or aborted and ABRQx was set after the mailbox finishes its transmission and becomes empty, you will think the message was successfully aborted (because TXOKx is cleared by the late abort) when it was actually transmitted. Even if you disable interrupts and check the mailbox status immediately before setting the ABRQx bit, it seems like there is still a race condition where the mailbox transmission could complete between the read and write operations, which could occasionally cause the abort to be late. Is there a way to do this
Hi everyone,I am trying to train a large dataset in NanoEdge AI Studio, where each class is around 500 MB in size.Totally 5 class.However, I am facing limitations related to the data structure, memory usage, and training workflow in NanoEdge AI Studio. I would like guidance on:Recommended data structuring or segmentation methods for very large datasetsBest practices to handle or reduce large data sizes (windowing, feature extraction, downsampling, etc.)Any tool limitations or configuration settings to be aware ofPossible alternative approaches if direct training with such large data is not supportedIf anyone has experience training large datasets with NanoEdge AI Studio, your guidance or references would be greatly appreciated.Thank you in advance for your support.Best regards,Vijepradeepan
hi, ive noticed that hand landmarks pre built binarys uvc output does not work on the C02 revision NUCLEO-N657X0-Q but does work on the c01 rev, could anyone guide me on how to get this demo up and running ont he c02?
Hey ho everyone I'm a Noob with all this, just surface level knowledge.I'm on Linux ((Ny)arch btw.) newest version. First everything worked switched boot mode (cant remember if boot 1 or 0 as no combination works now) and i could connect. Then i wanted to test 5V pins and out of laziness i shorted +5V with and LED. Had an error on the power status, repluged and everything worked again (proceeded testing pins without shorting). suddenly a few days ago i had the dev connect error solved it via boot 0 and 1 both to the right on the next day suddenly not even that worked. did a bit of switcheroo that worked until it suddenly didn't even with any position. tried reinstalling (MX, Prog and IDE) tried adding myself to the uucp group didn't work tried the whole procedure as root but Nyarch wouldn't let me open my files and i simply was to lazy to do it via CMD. now i have sometimes the problem with DEV_CONNECT_ERR in any boot position and sometimes it just tells me UR connection mode is define
I'm very new to this so be kind. I've been working on a display for CAN data. I have the display designed and it works and while building code for the CAN and using the GPIO5 LED for testing, when I Run it, I get a garbaged display. I have a working sample project that was provided to me as a guide, when I run it, it works fine, but when I go back to my project, part of the other project is still being displayed. It's as if it's not fully erasing and programming everything. I did some research and found suggestions to select Full Chip Erase, but there isn't one.
Hello, I was writing some code and one day a handler_reset() appears in the debug panel It is said that appears because it give the opportunity to the user to debug from the very begining. But why? if there is already the ability to set the breakpoint in the main... I cannot assign a value to a variable. And the other things is the fact that since it has appear I cannot longer debug and the variables make no sense. What causes all that and which is the solution??Thanks.
Hi,I am currently facing an issue while connecting to the STM32 board using STM32CubeProgrammer. The tool consistently shows the error: "Unable to read device ID from ROM table."I have already tried the following troubleshooting steps:Performed a hardware/software/core reset using the RESET buttonVerified that all required supply voltages are correctChecked the hardware connectionsDespite this, the programmer is still unable to establish communication with the M7 core via ST-Link. It appears that the device is not being detected properly, and at the moment the board has become unusable.Could you please guide me on possible causes or additional steps I can take to resolve this issue? I would be happy to provide any further information if required.Thank you for your support.Best regards,Prathiksha
I am using the ST Host library version 3.54 on an STM32F769 device, supporting HID devices. I am using the internal Full Speed phys.I have a USB mouse connected and all works fine, however I would like to save power when the mouse is not being used by putting it into suspend. I cannot see any support for this in the ST middleware, so I asked Ai and got this:USBH_StatusTypeDef USBH_LL_Suspend(USBH_HandleTypeDef *phost) { HCD_HandleTypeDef *hhcd = phost->pData; USB_OTG_GlobalTypeDef *USBx = hhcd->Instance; uint32_t USBx_BASE = (uint32_t)USBx; USBx->GINTMSK |= USB_OTG_GINTMSK_WUIM; /* Suspend the port */ USBx_HPRT0 |= USB_OTG_HPRT_PSUSP; return USBH_OK; }This works fine - the mouse powers down and there is a useful drop in power consumption.However, I cannot get the port out of standby. This is the code Ai gave me for the Host to awake the port:USBH_StatusTypeDef USBH_LL_Resume(USBH_HandleTypeDef *phost) { HCD_HandleTypeDef *hhcd = phost->pData; U
Hello, I wonder that examples could apply Nucleo-H753ZI board... There are some examples about H743 or another one but no example for Nucleo-H753ZI board. I understand 48k-2channel-16bit can be implemented easily, But I wonder that Nucleo-H753ZI can make 44.1kHz sampling or, 24bit input or, 4 ~ 6 channel input. I can't solve just 48kHz-24bit-2Channel input's buffer underrun problem, 44.1kHz-16bit-2Channel buffer underrun, and recognizing USB3300 ULPI to Nucleo-H753ZI. Is it can be done by this board? Or, Is there any spec making limits? edit: related thread <Nucleo - H753ZI> + <USB3300 ULPI> connecting to P... - STMicroelectronics Community
Heyho,I just changed a big PCB (1st revision working) with a H733 and added a micro SD cardholder and connected it to the SDMMC2 peripheral.Only to find out later that this #2 does NOT work with the extra IDMA controller.SDMMC1 is out of the question because I absolutely need I2SCKIN for the SAIs, and I didn't want to change the complete pin-out and PCB design (Altium says: Components on board: 1015).I'm pretty sure I've checked the RM, but maybe I oversaw something...So, is there any way to use another DMA with SDMMC2 ?Thanks in advance!
Hello Team, I am using stm32f769 controller. I am using timer 1 channel 4 for pwm output, and my APB1 clock is 180MHZ here I am taking prescaler : 17999 and ARR=1999 and ccr=1000 for this values I can see output of pwm by generating 5hz pulses. But when I want to generate 486 pulses where my psc:17999 , ARR=19, ccr=10, I cant see any output pulses, my pwm is not responding. (ARR+1)(psc+1)=180MHZ/frequency (ARR+1)(psc+1)=180MHZ/486 (ARR+1)(psc+1)= 370370 ARR+1=370370/18000 ARR+1=20 ARR=19 for some values upto ARR= 40 i am getting output over pwm but from values ARR=20 i am not getting output could you please help me Thanks vamshi kumar
Dear all, I would like to connect a camera to my Nucleo F756ZG board, with the goal to send images via the ethernet port. However, this board doesn't feature a 30-pin ZIF connector nor a 22‑pin FFC connector....Apparently, the STM32 F756ZG has a "DCMI". Is this accessible on the Nucleo board as well?Which module/camera do you recommend for the Nucleo F756ZG?Would you recommend Arducam? They seem suspiciously cheapThe B-CAMS-IMX is not compatible, right?Many thanks
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.