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,I am currently working to simulate my linear motor and its control algorithm (FOC) on Simulink for PIL and HIL with the STM32 Microcontroller Blockset.I am using the STM32C562, but the C5 series is not supported in the Matlab Blockset.Is the C5 series going to be supported on Matlab in the future? (If yes, would you have an estimated release?)In the meantime, can I use the H5 module for at least the shared functions between C5 and H5?
Hello,In the reference schematic of the STM32MP157F-DK2, the HSE clock is generated using the NDK NZ2016SH 24 MHz END4869F oscillator. However, this part is not readily available, and we are therefore looking for a suitable alternative.Could you please confirm whether the Abracon’s part ASE-24.000MHZ-LR-T can be used as a replacement to provide the HSE clock for the STM32MP157FAC1 device ? If this part is not recommended, kindly suggest a suitable alternative that is compatible with the STM32MP157FAC1.Regards
Hello,We are designing a custom board using the STM32MP157FAC1 device. In our design, we are not using the DSI interface or the ADC peripheral.We would like your guidance on the recommended handling of the corresponding unused pins.(1.) DSI Interface:Since the DSI interface is not used, how should the following differential signals be terminated ?(a.) DSI_CKP / DSI_CKN(b.) DSI_D0P / DSI_D0N(c.) DSI_D1P / DSI_D1N(2.) Analog Inputs:As the ADC is not being used, what is the recommended way to connect or terminate the ANA0 and ANA1 pins ?Could you please advise the recommended hardware implementation for these unused pins?Regards,
Hello teams,I tried to use STM32N6570-DK DCMIPP Pipe0 to read data from my camera that has own ISP. The camera output format is UYVY (YUV422 BPP16). The issue is that I can't get any data from DCMIPP and CSI-2 Host, I only received SOF and EOF events from CSI-2 Host. I've referred to other people's posts, but my issue still exists. Is my DCMIPP and CSI configuration wrong?Additionally, I'm not sure if the CSI and DCMIPP clock is set correctly, I just follow the example. If my camera out is 640x480@60fps and format is UYVY, how should I configure this clock?My settings are as follows.static void MX_DCMIPP_Init(void) { /* USER CODE BEGIN DCMIPP_Init 0 */ /* USER CODE END DCMIPP_Init 0 */ DCMIPP_CSI_PIPE_ConfTypeDef pCSI_PipeConfig = { 0 }; DCMIPP_CSI_ConfTypeDef pCSI_Config = { 0 }; DCMIPP_PipeConfTypeDef pPipeConfig = { 0 }; /* USER CODE BEGIN DCMIPP_Init 1 */ /* USER CODE END DCMIPP_Init 1 */ hdcmipp.Instance = DCMIPP; if (HAL_DCMIPP_Init(&am
On STM32U375KGU6 pull up on D+ does not work when calling function HAL_PCD_Start, USB hardware works because if I start chip with BOOT0 pin to “VDD” it boots in DFU bootloader. What did I miss?
hi, I created a project by the MCSDK, i tried running it as a C++ project, but im getting an error compilation that i cant solve: ../../MCSDK_v6.4.2-Full/MotorControl/MCSDK/MCLib/Any/Inc/revup_ctrl.h: In function 'void RUC_Stop(RevUpCtrl_Handle_t*)': ../../Inc/mc_type.h:77:32: error: invalid conversion from 'void*' to 'RevUpCtrl_PhaseParams_t*' [-fpermissive] 77 | #define MC_NULL (void *)(0x0) | ^ | | | void* it seems that there is a wrong casting issue. I tried to solve it in some fifferent wauys like: pHandle->pCurrentPhaseParams = (RevUpCtrl_PhaseParams_t*)(malloc(MC_NULL)); or pHandle->pCurrentPhaseParams = static_cast<RevUpCtrl_PhaseParams_t *>malloc(sizeof(MC_NULL)); but its not solving the issue. but when i tried to delete this line it keeps having the same error !!!!!! what could be the problem
Hello! We are using the STM32G431RBT6 microcontroller and designing our own BLDC motor driver. Everything was fine until a week ago, but recently we have been encountering a "Bad CRC Header" error. We have checked our Motor Control Workbench and Motor Pilot software; no changes have been made to either the software or the hardware. After Motor Pilot reports this error, the connection drops, then re-establishes, and the motor driver resets.Thanks in advance.
Hello,We are using STM32 Motor Profiler to identify the parameters of an IPMSM motor, but the profiling process always stops at approximately 7% and reports a “Driver Protection” fault.Hardware configuration: - MCU board: NUCLEO-F446RE - Motor-control expansion board: X-NUCLEO-IHM09M2 - Power board: STEVAL-IPMM15B -Motor type: IPMSM Thank you.
Hi Team,We are looking for detailed thermal information for the STD47N10F7AG MOSFET. I am new to power MOSFET thermal analysis and would appreciate your support.Could you please share the junction-to-ambient thermal resistance (θJA) value or any relevant thermal characterization data required for thermal calculations?From the datasheet, I could find:RθJC (Junction-to-Case) = 2.5 °C/W [st.com] RθJ-PCB (Junction-to-PCB) = 50 °C/W (mounted on a 1 in² FR-4, 2 oz copper board) [st.com]However, I could not locate the θJA specification and would like to use it for thermal analysis.Thank you for your support.Thanks & Regards,Surya
I’m trying generate code via MC Workbench for custom a board.I am getting a create failure notification for current sensing assignment.Could this be due to dual ICS sensing or ADC channel mismatch? In the MC Workbench, the current sensing has a red x at the heading and the notification of “Two ICS (isolated current sensing) Currents”I’m doing PWM generation by using TIM1 from STM32H563 for general purpose driver.Let me know and thank you.
Dear STMicroelectronics Support Team,I am writing to request technical clarification regarding the wake-up configuration of the L99DZ300G's EI1 pin. We are currently debugging an issue related to sleep mode and false wake-ups in our system.[Background]An external controller inputs a 50Hz (20ms period) PWM signal to the EI1 pin for Crash Unlock detection. The signal operates as follows: Steady State: High 16ms (80%) / Low 4ms (20%) Crash State: High 4ms (20%) / Low 16ms (80%) [Current S/W Configuration]The EI1 pin is configured to Cyclic Mode using Timer 2: EI1_FILT[1:0] = 0x01 (Cyclic mode with Timer 2) Timer 2 Period = 20ms (T2) Timer ON Time = 0.1ms (ton1) [Our Analysis & Concerns]Based on the datasheet, our understanding is that the "blanking time 80% of timer ON time" applies to the 0.1ms ton (i.e., 80µs), followed by a brief 16µs sampling window ($t_{WU\_cyc}$).Since the monitoring period (20ms) matches the input PWM period (20ms), we suspect an aliasing/phase lock issue
Dear All!I’m try to handle my Thesis project. With ETH block, when i download program to STM32H732Z nucleo kit, it can Pìn IP correctly. But when i download to my custom board, it fail to Pin IP, i compare schematic with STM32H732Z nucleo kit→ it same. right now i supplt 25Mhz from NB3L553DG( page 1, oscillator block), reset Pin use deafault( just have 1 pull-up resistor). 2 indicator led( green, and yellow) still blink. On RJ45 connector: The orange led is on, the green led flashes at first then stays on.I use oscilloscope to check some signal:signal REF_Clock to pin PA1: 50Mhz,MDC SIgnal: 2.5Khz,MDIO signal: 100~220Khz,VDDCR=1.244V,votage at pin 24 Rbias 1.248V, some can you share how to fix this issue. I tried many sample( FrerRTOS & non FreeRtos) already but stil can’t fix this issue.
I’m using VSC with the STM32 extensions.When running debug sessions at leat 50% of the time I get this error message:Error in initializing ST-LINK device.Reason: USB communication error. Please reconnect the ST-LINK USB cable and try again.cube has exited with code 3 I have a good quality USB lead and I’m running on macOS on a Mac Mini M2
Hello,I am using the STM32G031F4P6 (TSSOP20) and have a question regarding the PA11[PA9] and PA12[PA10] remapping.According to RM0444, PA11_RMP and PA12_RMP remap PA11→PA9 and PA12→PA10. However, in STM32CubeMX, the shared pins PA11[PA9] and PA12[PA10] only expose the Alternate Functions of PA11/PA12 (e.g., USART1_CTS, USART1_RTS/DE/CK), and USART1_TX/RX are not available.Could you please clarify:Is this a limitation of STM32CubeMX? Or is it not possible to use the PA9/PA10 Alternate Functions (e.g., USART1_TX/RX) on the physical PA11/PA12 pins after enabling PA11_RMP/PA12_RMP?If it is supported in hardware, what is the recommended way to configure it?Thank you.
I'm interested in improving my debugging workflow when working with STM32-based projects. Beyond using breakpoints and serial output, what techniques or tools have made the biggest difference for you?Do you rely on STM32CubeIDE features, hardware debugging tools, logic analysers, or custom testing methods? Are there any common mistakes beginners should avoid when troubleshooting timing issues, peripheral configurations, or communication protocols?I'd love to hear about the debugging practices that have saved you the most time in real-world projects.
hi all, I am trying to flash + run a relocatable / runtime loadable model. The problem is that the inference results are wrong (they never change, no matter what the buffer contains when I start the inference). If I use the stai_model files from the AI Cube Studio, the model works correctly, but is not relocatable… Am aware of matching the address where I flash the network_rel.bin and generating the model. (← see URL) I am using these docs. (← see URL) I am enabling all AXISRAM3...6 I generate the model as follows:stedgeai.exe generate -m "path/to/model.tflite" --input-data-type uint8 --no-inputs-allocation --no-outputs-allocation --target stm32n6 --st-neural-art --reloc# final output something like this:+--------------------------+-------------------------------+------+------------+--------+| name (addr) | flags | foff | dst | size |+--------------------------+-------------------------------+------+------------+--------+| xSPI2 (0x20009332
I am using seeed studio AI assistant board and I am not able generate the cube project using StudioI am facing Memory Overflow Issue Is there any way to solve thisAnd Seeed Board is not supported when Board is selected during project creation
I’m trying to convert an ONNX model which has a Conv layer that takes weights as input (has 2 inputs). Edge AI gives me:NOT IMPLEMENTED: Convolution with multiple not constant inputs not supportedAre there any short-term plans to support such layers in ST Edge AI?I also tried to change the name of the layer to some custom name (DynConv). The error in ST Edge AI changed to:NOT IMPLEMENTED: Unsupported layer types: DynConvI thought that I could bypass this error by using --custom with a JSON definition, but the JSON format is poorly documented. Also, many attempts at different formats seem to indicate that --custom only works for Keras. Is this correct?
Hi ST Community,I am working on the STM32N6570-DK board and need guidance on running two AI models together in a single pipeline:YOLO-FastestV2 for object detection (this is my custom train model) MediaPipe Face Landmark for facial landmark detectionMy GoalI want to:Run YOLO-FastestV2 to detect objects/faces from camera input Then run MediaPipe Face Landmark on detected face regions (ROI) Process both models efficiently on STM32N6570-DK Display final output with bounding boxes + face landmarksCurrent StatusI can run object detection examples on STM32N6570-DK. I have AI models available in ONNX/TFLite format. I am exploring deployment using STM32Cube.AI / ST AI tools. I am not sure about the best architecture for running both models together.QuestionsI need help with the following:Is it possible to run two AI models in parallel on STM32N6570-DK? What is the recommended pipeline? Camera → YOLO-FastestV2 → ROI extraction → Face Landmark → Display Output Should both models be merged into
Hello, We have a custom board with a STM32WB55VGY MCU on it.Originally, the FUS version that runs on it is 1.2.0 and we would like to upgrade the FUS and flash the latest version of the Wireless stack (BLE stack full) and safe boot.So, using the STM32_Programmer_CLI we run the following commands:STM32_Programmer_CLI -c port=swd -startfus STM32_Programmer_CLI -c port=SWD -r32 0x20010010 1 Read 0x20010010 : 01020000 → FUS version 1.2.0 STM32_Programmer_CLI -c port=SWD -fwupgrade stm32wb5x_FUS_fw.bin 0x080EE000 firstinstall=0 STM32_Programmer_CLI -c port=SWD -r32 0x20010010 1 Read 0x20010010 : 02020000 → FUS version 2.2.0 STM32_Programmer_CLI -c port=SWD -fwupgrade stm32wb5x_Safeboot_fw.bin 0x080F2000 firstinstall=0 STM32_Programmer_CLI -c port=SWD -fwupgrade stm32wb5x_BLE_Stack_full_fw.bin 0x080D0000 firstinstall=0All commands run successfully except for the SafeBoot where it returns the following error:Error: FUS_ERROR_INVALID_OB: Option bytes and UFB values do not match.Error: Old Fi
Hi ST Community,I need help regarding a version mismatch issue while deploying my AI model on STM32N6570-DK.Current EnvironmentI am currently using:ST Edge AI Core: v2.2.0-20266 (2adc00962) STM32Cube.AI: 10.2.0-RC1ProblemWhen I convert/generate my model using the current tools, the generated model version becomes:Generated model version: 1.1.3dev14But my board/application runtime is using:Runtime version: 1.1.3dev8Because of this version mismatch, I am unable to run the model properly.My UnderstandingI think I currently have two possible options:Option 1Install an older ST Edge AI version / STM32CubeAI version that generates a model compatible with:1.1.3dev8Option 2Upgrade my runtime/environment on the board so that runtime version becomes:1.1.3dev14QuestionsI need guidance on the following:Which option is recommended by ST? Where can I find the correct ST Edge AI / STM32CubeAI version that generates models for runtime 1.1.3dev8? How can I upgrade the runtime on STM32N6570-DK from 1.1.
I am working on STM32N6570-DK. If I want to deploy random forest model on this MCU, what is the procedure. As most of the time I was using STM32 Cube AI studio to generate IDE project and work on it . But , AI studio doesn’t support tree based models. So, what is the standard procedure for deploying random forest or tree based models on this MCU for real time detection ? Kindly guideThanks & RegardsChanchal
Trained Yolov8n on the coco text dataset, trying to import into STCube AI Studio and receive the following error message.Run failed: Error: analyze error: INTERNAL ERROR: 0 vs. 11. Please check the report for more details. Output: ST Edge AI Core v4.0.0-20500 359356bb0
Hello, I am working on a visual inertial odometry system. It basically contains a camera, a vision processing unit and an IMU. For vision processing part I was thinking of the STM32N6. Can you elaborate on the performance of the ST Neural-ART processsor? Can you elaborate on the inference time? How many images per second can it process?
Im using SPC58C80E5, working on Autodevkit studio, #include "components.h"#include "can_lld.h"#include "can_lld_cfg.h"#include "pal.h"#include "osal.h"/* Define your custom CAN packet ID for triggering the reset */#define FLASH_RECOVERY_CAN_ID 0x7F0UCANRxFrame rxmsg;void HandleBootloaderRequest(void) { /* Check Mailbox 0 of CAND2 (which your working reference project proves is the exact driver module tied to your physical PB9/PB10 pins). */ if (can_lld_receive(&CAND2, 0, &rxmsg) == CAN_MSG_OK) { /* FIXED INVERTED LOGIC: pal_clearpad pulls pin LOW, turning LED 2 (PH4) ON */ pal_clearpad(PORT_H, 4U); /* MATCH VERIFICATION: Using the exact '.SID' layout and array index bracket notation proven to execute successfully on your hardware bench. */ if (rxmsg.SID == FLASH_RECOVERY_CAN_ID && rxmsg.data8[0] == 0xAA) { /* Cleanly disable system interrupts before register access */ irqI
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.