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, we are having an issue where our cell voltage readings are drifting when discharging. When there is no current, the voltages all read correctly. However, during discharge, we see that cell 5 and cell 1 have lower voltage readings by about 150mV at 5A. Once discharge is ended, the voltages level off again. I have checked that this is reflected in the registers. These are our filter settings:
Hi,We are currently using STM32H753 and are setting up USB Fifos. There is some contradictory information about the available sizes. AN4879 mentions that the available SRAM size is 1.25kBytes for OTG_FS:In the reference manual RM0433 I can only find 4kB for both OTG_HS peripherials, where OTG_HS1 is used for OTG_FS:What information is correct?Thanks and best regardsDaniel
Hi, Can I use lis3mdl as gyroscope as I observe this behaviour while reading it's raw values.Thanks
Hi,Is it possible to open a .ioc project file for STM32CubeMX directly from the Windows command line? If yes, what is the correct syntax?Thanks
Greetings,I am working on a project involving RTC and TAMP mechanism of U5 series MCUs, specifically STM32U585. I have some questions about the working principle of the TAMP pins. In the reference manual RM0456, it is written that the TAMP pins checks if the line is opened or it is shorted (Section 64.1: "Active tamper which increases the security level by auto checking that the tamper pins are not externallyopened or shorted.").I was able to make the open circuit detection work but I couldn't make the shorting detection work, that might be my fault though. The shorting detection is available in U585 right? Also I was wondering how precise is the shorting detection? Let's assume I have a 50 meters long transmission line, can it detect if the line is shorted about 50 centimeters (the line is now 45.5 meters)? If not, how much length of the tranmission line must be removed to make the TAMP pins detect it? In addition, should I do anything to make the shorting detection active o
Hello, I am using an STM32U585 with STOP mode and FreeRTOS in tickless idle mode. The datasheet says the current consumption should be around 4.5uA, however I am measuring 35uA on my custom board that only has the MCU and some decoupling capacitators. Can someone tell me if I need to add something in the code to lower consumption? Are the datasheet consumptions possible running an RTOS? I will leave my code and measurements in attach: void PreSleepProcessing(uint32_t ulExpectedIdleTime) { /* place for user code */ (void)ulExpectedIdleTime; __HAL_RCC_GPIOC_CLK_DISABLE(); __HAL_RCC_GPIOH_CLK_DISABLE(); __HAL_RCC_GPIOA_CLK_DISABLE(); __HAL_RCC_GPIOB_CLK_DISABLE(); HAL_ICACHE_Disable(); HAL_SuspendTick(); HAL_PWREx_EnterSTOP2Mode(PWR_STOPENTRY_WFI); } void PostSleepProcessing(uint32_t ulExpectedIdleTime) { /* place for user code */ (void)ulExpectedIdleTime; SystemClock_Config(); __HAL_RCC_GPIOC_CLK_ENABLE(); __HAL_RCC_GPIOH_CLK_ENABLE(); __HAL_RCC_GPIOA_CLK_ENABLE()
Hello, I am trying to run Validate on target on a NUCLEO-N657X0-Q board using X-CUBE-AI 10.2.0, but it consistently fails. I would appreciate any guidance. Environment: Board: NUCLEO-N657X0-Q X-CUBE-AI: 10.2.0 STM32CubeMX / STM32CubeIDE: latest OS: Windows 11 Model: ONNX (MobileNetV4-Small based, input [1,4,224,224] float32, 2 outputs) What works: Analyze: OK (Flash 46.75MB, RAM 3.78MB) Generate: OK Validate on desktop: OK (acc=100%, nse=1.0) Board detected: ST-Link Virtual COM Port on COM5 Firmware flash reports: Start operation achieved successfully Problem: When running Validate on target via STM32CubeMX: Running the ST.AI c-model (AI RUNNER)...(name=network, mode=TARGET)Proto-buffer driver v2.0 (msg v3.1) (Serial driver v1.0 - COM5:921600)Warning: C-network signature checking is skipped on ST Neural-ART NPULOAD ERROR: STM32 - read timeout 50000msValidation ended When running stedgeai CLI directly (after manual build via n6_loader.py):  
Dear all,For the STM32N6570-DK kit, is there a simple tutorial that shows the workflow for integrating a model generated by STM32Cube AI Studio into a project?A simple example would be: if an image is detected, we could turn on an LED on the kit.A guide would be very welcome. Many thanksCheersEmmanuel
..
Hello to all, I am looking for the min-max humidity working ranges of the STTH10002TV1 diode (in %) as I can't find it in the product specification.Is there a general value for all the ST's diodes? If so, where can I find it ? Thank you for your time, Best regards,
Hi ST community,I create a simple application using USART1 baudrate 9600 TX pin - PB6 & Rx pin - PB7. I send uart frame each 1 second. J22 connects to CP210x. I see that the RX led of CP210x toggle each 1 second but when I open terminal screen on the laptop with same baudrate, nothing is shown. HAL_transmit return HAL_OK. Tx pin and Rx GPIO pin is configured as default, no pull up and pull down. What is problem here? void SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; /** Configure the main internal regulator output voltage */ if (HAL_PWREx_ControlVoltageScaling(PWR_REGULATOR_VOLTAGE_SCALE3) != HAL_OK) { Error_Handler(); } /** Configure LSE Drive Capability */ HAL_PWR_EnableBkUpAccess(); __HAL_RCC_LSEDRIVE_CONFIG(RCC_LSEDRIVE_MEDIUMHIGH); /** Initializes the CPU, AHB and APB buses clocks */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI48|RCC_OSCILLATORTYPE_HSI |RCC_OSCI
The data sheet for the G474RE says it has a Memory Protection Unit. The article on how to enable/configure it in STM32CubeMX shows a CORTEX_M# node under "System Core". I don't see that node. Thank you.
JW
I am able to flash the binary into external flash memory successfully. However, I am facing issues with handling multiple binaries and execution flow.Issues:FSBL & Application Binary FlashingI have two separate binaries (FSBL and Application). I am able to flash only one binary at a time.Kindly guide how to flash both binaries properly (same address 0x70000000 or different memory sections like 0x70010000).Jump to ApplicationFSBL should run first and then jump to the Application.Kindly explain how to implement the jump to application correctly and ensure proper execution flow.Project Structure & Peripheral AllocationThe project has multiple layers (FSBL, Application, External loader).For reference i tried the suggested example project VENC_RTSP_Server does not include .ioc file, so i didn't get clarity to enable peripherals in which sub projectes.Kindly clarify:How these layers work togetherWhich functionalities/periphe
I have this Fatal Error. Plese help me" [Fatal Error] 2.STM32CUBEMX.5.6.0.AnalyticsServer.xml:1:1: Premature end of file. [Fatal Error] 2.STM32CUBEMX.AnalyticsServer.xml:1:1: Premature end of file. [Fatal Error] 2. AnalyticsServer.xml:1:1: Premature end of file. [Fatal Error] 2.STM32CUBEMX.5.6.0.AnalyticsServer.xml:1:1: Premature end of file. [Fatal Error] 2.STM32CUBEMX.AnalyticsServer.xml:1:1: Premature end of file. [Fatal Error] 2. AnalyticsServer.xml:1:1: Premature end of file."
I am using stm32f756zg. In which i configure LWIP with FREERTOS cmsisv2. I am getting hard faults when ping devices from other devices.It works fine when I change FREERTOS cmsis v1 and increase the default task stake.
When TxRSTU and RETRIG are enabled with CONT disabled, will the timer still trigger a register update when it's counter reaches it's PER value? Since it says in the image below that the PER event is generated but says it re-starts from 0 when it's reset but doesn't mention roll-over, and the image above says it'll update registers on timer reset and rollover. Essentially what I'm asking is does it count as a roll-over when the timer reaches its period value when CONT=0? Since I need to know if it'll update it's registers at the end of it's period or no.Any help is much appreciated :)
I am using sr6p3e and I tried to access Gicr registers but I got aport exception, I tried several things like check if clock control the module and if there is a protection registers but I didn't find anything, I know that it use axim for interface so I tried to write on another module GTM registers after making necessary configuration but I got sameh issue I check the startup code coming with mcal and found it configure mpu for Gicr and prephiral section and when I apply it in my code it solve the issueI don't need to use mpu, is there another way to access Gicr and gtm ?
Dear Support,Good morning, I have assembled the STEVAL-ROBKIT1 as described here: https://www.st.com/en/evaluation-tools/steval-robkit1.htmlI have followed the assembly instructions as seen here: https://www.youtube.com/watch?v=8fzpv_j343UWhen I switched on the robot and paired with my iPhone application the robot doesn't respond to the manual commands. For example if I only move forward or only turn the direction or a combination nothing happens:When I move it to the "Follow me" mode it seems to go around in circles and moves at random. The same also goes when I move it to the "Autopilot" mode. It seems that one wheel moves more than the other. I've checked the connections (removed and reconnected). I have also ensured that nothing is blocking any of the components. I have also uninstalled and re-installed the application (restarting my mobile phone). I have also used different locations and also have have ensure that the phone
I am developing using AutoDevKit and SPC582Bxx.When the device wakes up from STANDBY0 to WKPU, it jumps to IVOR0.This occurs when the Trace32 debugger is connected during wake-up.I would appreciate your advice on if there are any specific settings I need to configure in advance.Is this related to the startup code (boot.s, crt0.s)?
I am using an stm32u585, specifically the b-u585i-iot02a development kit board.I set up a basic project using stm32cube ide to test clock configurations. System is clocked from the MSIS at 24MHz with PSC of 1 -> HCLK is 24MHz.I enabled the RNG peripheral, clocked with the HSI48. In the default SystemClock_Config() function I commented out the code related to enabling the HSI48. RNG initialization is left as default.Interestingly, the RNG can still generate random numbers with HAL_RNG_GenerateRandomNumber(). The MX_RNG_Init() function succeeds as well.Reading HSI48ON and HSI48RDY bits from the status registers give both values as 0.How is the RNG still working and generating valid numbers?Another curiosity: In this state, the whole MCU takes less power than if I leave the SystemClock_Config() as generated (explicitly enabling the HSI48). See code snippets below: System clock config/** * @brief System Clock Configuration * @retval None */ void SystemClock_Config(void) {
Hello,I am currently experiencing some unusual Ethernet transmission (STM to PC) issues with a few of our custom PCBs. We use the STM32H753II chip and the KSZ8081RNB. The KSZ8081RNB is connected to the MCO2 and the RMII-interface of the STM.The IP/TCP/UDP checksum check primarily fails due to corrupted payloads ranging in size from 1 to 20 bytes, or, more rarely, due to corrupted protocols. It doesn't happen regularly, but it happens too often.This means that, for TCP, two or more retransmissions are sometimes needed.udp bad:udp good:Sometimes, packets with complete defects are sent. These defects are not sent by the application. Even, when I paused the application, I could still see these packets.For tests the PCB and the PC are directly connected. Using different cables does not solve the issue; only using different PCBs does.I set up the LwIP example project in CubeIDE 1.19, as described in Github STM32H7-LwIP-Examples#how-to-create-project-from-scratch.This project's
Hello, stm32h7b3lih6q controller has support ethernet connection give me proper solution I want the Communication in beteen Ethernet and Controller. Thanks.
We had three Sensor TileBox units. In an interesting morning of work, I got the one I have in the USA running, in the hope that the people in the UK who have them could use them. I got it running, during the reading to get it running, I found a note in one of the PDF files that said the CSV files would be padded to the highest ODR. First time I had actually seen that other than in a ST reply. The TileBox recorded nicely once I worked out the boot key, which is one of three buttons and the PDF does not show it that I could find. I knew I had seen it once, but I could not find it. I enjoy playing with the combinationsThe CLI_Example program worked nicely. The sample files json files were challenging. Following the instructions, it proved difficult, I could not do transfer the data to CSV, Unicleo GUI did not help as suggested. Anyway we are throwing them away, but it was some fun. Once you establish a standard metho
Hi Team, Greetings! Mems studio is used and LSM6DSV320X is kept on the sensor tile box pro, We are currently performing drop tests using the SensorTile Box pro platform mounted on a flat board casing. The tests are conducted from the same height under two configurations: Wired mode with an ODR of ~7.6 kHzWireless mode with an ODR limited to ~1 kHzWhile analyzing the accelerometer (high-g) data, we observe a variation in peak acceleration values of approximately ~20 g between different runs, even though the drop conditions are kept identical.We would like to understand the following:Is such a variation (~20 g) in peak acceleration expected under these conditions?Could the difference in ODR (7.6 kHz vs 1 kHz) significantly impact the captured peak values for short-duration impact events?Are there any known limitations in wireless mode (e.g., filtering, bandwidth constraints, or data handling) that could lead to underestimation of peak g values? and Free Fall interrupt
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.