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
Introduction: While testing the U575 with external PSRAM connected over OCTOSPI1, certain memory test scenarios fail deterministically. Setup: Using a STM32U575, connected on OCTO-SPI1 to PSRAM (IS66WVH8M8) 8MB in size. The STM is configured in memory mapped mode, hyperbus enabled, no DMA or Cache enabled, & wrap/burst mode disabled. While testing the PSRAM using Barr tests, found that the data bus and address bus test pass, but the device test had a deterministic pass/fail behavior. The device test passed for any size as long as the test wasn't crossing the 2MB boundary. Base (start) address Size Result 0x9000 0000 2 MB Test passes (also for 0x9020k,0x9040k, 0x9060k resp.) 0x9010 0000 2MB Test fails, around 0x9020 0000. 0x9030 0000, 0x9050 0000 respectively 2MB Test fails, around 0x9040 0000 and 0x90600000 respectively. 0x901FF000 2 kB Test fails around 0x9020 0000. While debugging/analyzing code found something inter
Hello there,I'm trying to create a project for stm32h7s7 with external loader. But when i added the external loader in IOC file the all indexes were lost in editor mode. But I checked for building, i can't see any problem. I tried index -> rebuild but it could not help me
Hi!I'm working on a Trustzone enabled application in STM32U5A5 nucleo board and have some questions in my mind. I have used the configurations of the example project for the Trustzone, which you can find below: - TZEN=1 - SECWM1_PSTRT=0x0 SECWM1_PEND=0xFF meaning all 128 pages of Bank1 set as secure - SECWM2_PSTRT=0xFF SECWM2_PEND=0x0 meaning no page of Bank2 set as secure, hence Bank2 non-secure I have enabled SAU and left it with the default configuration. I've also enabled the GTZC_S. In my application, I'm using TAMP mechanism of the RTC to create an interrupt when the output signal doesn't match the input signal. First question:My application can boot from the secure app and jump to non-secure app without any problems. But in the MX generated NonSecure_Init() function, after the line SCB_NS->VTOR = VTOR_TABLE_NS_START_ADDRThe SCB->VTOR_NS register doesn't change, remains as 0x0 (according to the SFR in the debug interface). After the boot to non-secure
Hello, I am trying to record audio with external digital PDM microphones using the MEMSMIC1 example but it is not so straightforward without the nucleo expansion board. Because the CCA02M1 has a direct connection to the pc it is able to be detected as a microphone in the device manager, it is easily used through audacity. How can I implement this project and use audacity with my microphone setup if they are directly connected only to the development board (I am using nucleo-wb55rg)?
I have an ILI9341 SPI screen and a small self-made library that can display different numbers on the screen. I want to be able to update the screen (display a new number) every time there is an interrupt. I have tested the screen functions independently, and they work properly. But when I call them from the interrupt handler, they fail. The board is STM32F407G-DISC1. Timer configuration static void MX_TIM2_Init(void) { /* USER CODE BEGIN TIM2_Init 0 */ /* USER CODE END TIM2_Init 0 */ TIM_ClockConfigTypeDef sClockSourceConfig = {0}; TIM_MasterConfigTypeDef sMasterConfig = {0}; /* USER CODE BEGIN TIM2_Init 1 */ /* USER CODE END TIM2_Init 1 */ htim2.Instance = TIM2; htim2.Init.Prescaler = 999; htim2.Init.CounterMode = TIM_COUNTERMODE_UP; htim2.Init.Period = 335900; htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; if (HAL_TIM_Base_Init(&htim2) != HAL_OK) { Error_Handler(); } sClockSourceConfig.ClockS
I have previously used a large quantity of LSM6DSV16XTR products from batch 426, and their data was completely normal. My device utilizes 16 gyroscopes simultaneously. Recently, I started using products from batch 509, and they have exhibited a peculiar phenomenon. Specifically, it includes two parts: (1) When the temperature slowly increases from -40°C to 85°C, observing the data of a gyroscope at rest, some gyroscopes show data jumps at certain temperature points (the jump temperature point varies for each gyroscope). For example, the data may jump from -0.98°/s to -0.08°/s. (2) For the same gyroscope, at the same temperature, the bias data varies significantly at different times. This phenomenon does not occur in every gyroscope, but it greatly troubles me because I cannot record and compensate for the bias data in the temperature chamber, as these biases have become highly irregular. This phenomenon did not occur in batch 426. Does anyone know why this is happening?
Our product is a space device and as a result, we've had to recently do some radiation testing of the device. In particular, focused on the STM32H755 processor that runs the board.I'm looking for any papers/references/app_notes, anything, that can help me to gather details about how the processor performs in a radiation environment.And yes, I realize this is not a rad-hard or rad-tolerant processor. 8-)Thanks.-brad w.
Hi there !i work with DS2482 I2c to one wire . After i send the command reset i need the read the status register until i find one bit at 1, so i wrote my routine in this way static uint8_t DS2482_Status_Register(void) { uint8_t register_status=0; uint8_t data=0; while(register_status !=0x02 ) { Master_Recive_Data(DS2482_Addr, &data, 1); // HAL_Delay(1); dato= data; register_status = data; register_status &= 0x02; } if(register_status != 0x02) { return HAL_TIMEOUT; } return HAL_OK; } when i run the program i recive error 4 from i2C formvoid HAL_I2C_ErrorCallback(I2C_HandleTypeDef *hi2c) { } But if in the code below i put one delay of 1ms everything work perfect . So there is one "elegant" way to resolve the problem ? or there are other solution ? Thanks a lotSergio
STM32CubeIDE Version: 2.0.0When trying to create a new project from the IOC of another project, I can't find a way to do it. Is this feature lost or BUG ? Thanks in advance.
HI, I've been trying to uploading my program to my Nucleo F411RE using STM32CubeIDE however I keep getting this error:"Log output file: "****"ST-LINK SN : 066CFF495365495067182356ST-LINK FW : V2J46M33Board : NUCLEO-F411REVoltage : 0.01VSWD freq : 4000 KHzConnect mode: Under ResetReset mode : Hardware resetDevice ID : 0x431Revision ID : Rev ADevice name : STM32F411xC/EFlash size : 512 KBytes (default)Device type : MCUDevice CPU : Cortex-M4BL Version : 0x0 Opening and parsing file: ST-LINK_GDB_server_btEB5C.srec Memory Programming ...File : ST-LINK_GDB_server_btEB5C.srecSize : 7.82 KB Address : 0x08000000 Erasing memory corresponding to segment 0:Erasing internal memory sector 0Error: failed to erase memory Error: failed to erase memoryEncountered Error when opening /Applications/"****"Error in STM32CubeProgrammerShutting down...Exit."I did accidentally short the board for a second and it was still working after that but after a minu
I'm considering migrating from STM32F469NIH6 to STM32F769NIH6. From data sheets it is apparant that these two MCU's have compatible pinout, however the pinout compatibility tool of STM32CUBEMX V6.15.0 doesn't show these MCU's as compatible, why is this?
Hi all.I want to do read/write on eeprom microwire 93c66 but there is no open source HAL library that I can find. how can I do it? I am new to stm32.Thanks
Hello, I’m starting a new design with the STM32H755. I also have the dev board (Nucleo-H755ZI-Q), but I do not have its schematic. So far, the closest schematic/design reference I’ve found is Figure 18 in AN4938 (“Getting started with STM32H755”). Could you please share more schematic references? I was thinking about the following: The complete NUCLEO-H755ZI-Q schematic and the BOM Any additional pages/details related to the Figure 18 schematic (it appears to reference a multi-page schematic, but we only have the first page in this document) Any other official schematic/reference design examples for STM32H755 that I could use as a starting point Thank you for your time and help!
Hi,I can't debug my application through GDB and ST-Link when the computer has no internet connection. I get this error:All bundles, both System and project, are up-to-date. When I connect to the internet, I can debug fine, but when I then disconnect and immediately try again (without exiting VS Code), I can't debug anymore.IMO debugging should be possible without an internet connection, e.g. when having to fix an error in the field.Regards,Niklas
Title edited from just "login" to identify which particular login is affected.I can't log in to my account through the program and I can't open code generation. Can you help me with this?
I am working on STM32N6570-DK board. I am trying to run a code for three channels ADC+DMA, INP8, INP10, INP16. The output at USART is coming out to be zero in all three channels. I am attaching the code here.
Wir haben keine Möglichkeiten die Sofware anzupassen. Wir brauchen fogende Eingänge : PWM-Enebel-DIR-Break möglichst mit Energierückgewinnung. Wer kann uns helfen und mit welchen Kosten müssen wir rechnen. Vielen Dank J.Negraszus English translation (by Google): We develop motor controls for operating room doors. State of the art - H-bridge. Tests with Spin 32G4-ACT or B-G431B-ESC1 could work well. We have no way to customize the software. We need the following inputs: PWM-Enable-DIR-Break, preferably with energy recovery. Who can help us and what costs should we expect? Thank you J. Negraszus Please note that the Official forum language is English - see the Terms & Conditions.
Hello,Looking at the HRS FreeRTOS example applications code for STM32WB55, I see several task configured with osPriorityNone as priority.This priority level is defined as meaning 'no priority, not initialized' in cmsis header.Why is it used here ? How are the tasks supposed to run if they don't have priority ? Does that in effect act as a very high or very low priority ?Regards.
Hello, I want to drive a BLDC motor using the EVAL-L9907 in combination with the Nucleo-401RB board, and I want to use the STM32 Motor Control Workbench. I have tried to configure a custom board for the EVAL-L9907 in the Motor Control Workbench, but I cannot set some of the functionality (e.g. current sensing, enable GPIOs). Is there a way to obtain a JSON file for the EVAL-L9907 that I can import into the Motor Control Workbench? Many thanks in advance.
I have a project for a battery-powered clock using the STM32WBA55 chip. The battery is replaceable; the device can sit unused on a shelf for up to 4 months without the battery. Since the STM32WBA55 doesn't have VBAT or VRTC pins, how can I keep the backup recorder, time, and date active?
After updating and restarting my PC with Windows 10, my old version of CubeProgrammer would not open at all. The version number is unknown. Other STM32 software works without any issue such as CubeMX and CubeIDE.I then tried installing the latest version, 2.21.0. The program launched (even when run as administrator), but it did not function fully. I attached a screenshot for reference. None of the four icons on the top-left responded, and I received error messages when clicking the icons on the right.I also tried installing previous versions from 2.16.0 to 2.20.0, but none of them worked. Specifically:Versions 2.16.0, 2.18.0, and 2.19.0 briefly showed the launch logo, then closed immediately.Versions 2.20.0 and 2.21.0 would open, but the program remained unusable.
I get no message if i send some bytes about my terminal tool. Because i have no schematic i dont know waht going wrong. Do i need an external supply( target ) or do i need pullup resistor or someone else? A target board isnt still connected.
Hi everyone,I am bringing up a custom board based on the STM32H743VIT6. I am trying to connect via ST-Link (SWD), but I am getting the standard "Can not connect to target" error in STM32CubeProgrammer.The Setup:MCU: STM32H743VIT6Debugger: ST-LinkInterface: SWD (SWDIO, SWCLK, GND, 3.3V detected)Power Supply: External 3.3V. Board voltage source to provide the necessary power for the system, something that ST-Link alone cannot do.The Problem: After failing to connect, I probed the power pins and found abnormal values:VCAP Pin: I measured 2.7 V on the VCAP pin. As I understand it, VCAP corresponds to the internal LDO output for VCORE and should normally be around 1.2 V. Does a reading of 2.7 V indicate an internal short circuit to VDD or a blown LDO?VDD Drop (Pin 75): On Pin 75 (VDD input), I have a known bad solder connection (trace compromised). I measured 2.3V on this pin.Question: Since the other VDD pins are correctly supplied with 3.3V, shouldn't the internal silicon power mesh maint
The EDS tool has been reporting "Unable to reach service for commercial transformer" now for a few weeks whenever you work on a flyback design with a transformer in it. Could this be looked into by someone?
My STM32H533VE works as PD Sink.We connected CC1/CC2 with DBCC1/DBCC2 (as AN5225), STM32 cannot power up with a USB PD adapter. The adapter supplies power for ~20ms then stops the supplying.If I remove the long time initialization code (LSE initialization), system can boot up and USB PD works fine (PDO can switch).Is this normal? if yes, I may move the LSE initialization later.
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.