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 read a couple of topics that discussed having to use the external xtal to drive the 48 Mhz as opposed to HSI48. When I run cube mx, the clock mux is greyed out and I cannot change the clock source.Am I chasing the right issue here and if so, how do I ungrey the clock mux?My IOC file is attached.
Hi, Can I Migrate a project from IAR to Cube IDE, It also Has third party Libraries Like, Threadx.
Hi team,i’m using a SensorTile.Box Pro and want to increase the Bluetooth RF power of the STM32WB07KC (BlueNRG-LP) with an external Power Amplifier and external Antenna. So, i appreciate to be able to modify the code of this chip, BlueNRG-LP, not the one of the STM32U585.Can ST provide the source project corresponding to:FP-SNS-STBOX1/Utilities/DTM_BlueNRG-LP/SensorTile.Box_PRO_R20_DTM_SPI.binThe image reports:DTM 1.2.0DTM Variant 0x02 (SPI)BLE Stack 3.1.1Build 49063The firmware has been successfully dumped and compared against the distributed binary, confirming that the running image matches the official ST binary.I would like to: Understand how aci_hal_set_tx_power_level() is handled in this firmware and whether RF output power is intentionally limited on STEVAL-MKBOXPRO. Determine whether TX_SEQUENCE / RX_SEQUENCE GPIO alternate functions can be enabled in this project. Drive an external 2.4 GHz PA/LNA front-end (e.g. SKY66118-11) using a dedicated TX control signal. Identify
Hello,I am trying to obtain the old STM32CubeExpansion_LRWAN_V2.0.0 package (I-CUBE-LRWAN v2.0.0), but I can only find the current versions on the ST website.I specifically need version 2.0.0 for compatibility with an existing project based on the original LoRaWAN stack provided by ST.I have already checked:The current I-CUBE-LRWAN page on st.com STM32Cube repositories and mirrors on GitHub Archived documentation and release notesUnfortunately, I have not been able to locate the original archive (STM32CubeExpansion_LRWAN_V2.0.0.zip).Does anyone know:Where this version can still be downloaded? Whether ST keeps an archive of legacy expansion packages? If there is an official replacement package fully compatible with v2.0.0?Any help or archived download link would be greatly appreciated.Thank you.
Hello STM32CubeMX Support Team,I am writing to request a quality-of-life feature for STM32CubeMX: the ability to choose the line ending format (LF vs. CRLF) for generated project files.Currently, STM32CubeMX aggressively generates files using Windows-style CRLF line endings, regardless of the host operating system. As a developer using Git in a cross-platform environment (specifically Linux), this creates constant and unnecessary friction in version control.Whenever I regenerate code via CubeMX, Git immediately flags dozens of files as modified purely because the line endings were forced back to CRLF. While this can be partially mitigated using .gitattributes or core.autocrlf settings, these workarounds are prone to breaking across different team members' machines, resulting in messy diffs, ruined commit histories, and broken CI/CD pipelines.Proposed Solution: Could you please add a simple toggle or dropdown in the Project Manager > Code Generator settings tab allowing users to sel
Dear Sir/Madam,We use ADC1283IPT in our unit. This IC has operating temperature range -40C...125C and storage temperature range -65...150C. Our unit must start operating at -55C. Will ADC1283IPT operate at -55C without being damaged and which parameters may deteriorate?Thank you,Alex
Hello, I have an application that set up TIM2 as a input capture timer that worked fine with HAL 2.0.0. After upgrading to HAL/template 2.1.0 I regenerated the code with MX2 but the code does not compile. The error occurs when compiling this line of code in LPDMA1_CH1_IRQHandler() mx_tim2.c: HAL_DMA_IRQHandler(&hLPDMA1_CH1);A different DMA channel variable is defined earlier in the file and MX2 also displays LPDMA1_CH2 as the DMA used for TIM2.static hal_dma_handle_t hLPDMA1_CH2;To make the code work I changed code in this file I had to replace LPDMA1_CH1 with LPDMA1_CH2 in several places in this file. Here is the new code:/** ****************************************************************************** * @file : mx_tim2.c * @brief : Peripheral initialization ****************************************************************************** * @attention * * Copyright (c) 2026 STMicroelectronics. * All rights reserved. * * This software is licensed under t
Hi all, we have developed a video capture application and are field-testing this right now. In order to optimize perceptual quality, we are tuning the quality parameters to find a good trade-off.I saw in the h263encapi.h some features mentioned that are interesting to our application but could not find out if the VENC hardware actually supports it, likeRegion of interest cyclic intra refresh Video stabilization (although I fear that memory bandwidth is a limit here)I have read the Hantro Software Integration Guide in the github repository but that does not go into detail on what is available on the STM32N6.It seems that there has been an earlier discussion in this topic mentioning an Internal ticket number: 209269Could we have a feature map on what the IP block actually supports and the related software documentation?Thanks a lot Simon
I am debug project for DMA, I want looking for interrupt vector related information, Copilot suggested use “Call Stack”.I did try “Reset ALL perspectives”, “Window → Perspective → Customize Perspective”, I can’t find this function.
Hello Team,We are developing a custom board based on the STM32N657 MCU. Kindly suggest a method to program the external flash using both SWD and USB1 interfaces. Additionally, please provide the required configuration for the BOOT0 and BOOT1 pins.Thanks
Good morning everyone,I need to drive an external pump using DAC out pheriperal.I am working with an STM32H562ZI microcontroller and have followed the guide available at the following link: Getting started with DACBelow is my current configuration:/** * @brief DAC1 Initialization Function * @param None * @retval None */static void MX_DAC1_Init(void){ /* USER CODE BEGIN DAC1_Init 0 */ /* USER CODE END DAC1_Init 0 */ DAC_ChannelConfTypeDef sConfig = {0}; /* USER CODE BEGIN DAC1_Init 1 */ /* USER CODE END DAC1_Init 1 */ /** DAC Initialization */ hdac1.Instance = DAC1; if (HAL_DAC_Init(&hdac1) != HAL_OK) { Error_Handler(); } /** DAC channel OUT1 config */ sConfig.DAC_HighFrequency = DAC_HIGH_FREQUENCY_INTERFACE_MODE_ABOVE_80MHZ; sConfig.DAC_DMADoubleDataMode = DISABLE; sConfig.DAC_SignedFormat = DISABLE; sConfig.DAC_SampleAndHold = DAC_SAMPLEANDHOLD_DISABLE; sConfig.DAC_Trigger = DAC_TRIGGER_NONE; sConfig.DAC_OutputBuffer = DAC_OUTPUTBUFFER_ENABLE; sConfig.DA
So, I was showing some friends in England how to use the Sensor TileBox Pro to measure a building, using the modified CLI_EXAMPLE program. So starting analysis, the X axis now representing gravity vector in the table, I knew I had the box sitting on its side in a slot in the column, so if I am looking at the box, I was wondering what axis system matched the box and the unit. Your data sheet showsThe whit dot is importantI think the white dot is in the bottom right hand corner, is the white dot on the board an indicator so X is parallel to the short axis of the box laying down, the Y axis is parallel to the long axis lying down and the Z axis is vertical. Please confirm, as I have no desire to take the box apart.
Hello Team,We are using Qulacomm board QCS8550 Aikri kit with LE r90 release for production, In that there is SSC driver support of LSM6DSV Our setup includes two LSM6DSVTR IMU sensors, and we are attempting to read and write sensor data over SSC using an I2C interface. The I2C bus has been configured in the JSON configuration file for the LSM6DSVTR. Use Case Requirements:Configuring both IMU sensors using the SSC driver with an I2C-based interface Using interrupt pins for data-ready signaling Specifically:INT2 must support an external pulse: Current Status:In the current driver implementation located at:source/adsp_proc/ssc_drivers/lsm6dsv From the driver code analysis, we observed that data is currently being received using a FIFO-based mechanism.Additionally, it appears that the default driver implementation supports only the INT1 interrupt, while there is no implementation observed for INT2. Problem Statement:Our requirement is to generate an INT2 pulse for every sensor data sample
Hello ST Community,I am working on a custom STM32-based board and would like to know whether STM32CubeMX provides any official feature to add our own custom board to the Board Selector, similar to ST Discovery, Nucleo, or Evaluation boards.My requirement is that when creating a new project, I should be able to select my custom board and automatically load the default settings such as MCU, pin configuration, clock settings, peripherals, and middleware from a predefined .ioc file.Is this feature officially supported by STM32CubeMX, or is the recommended method to manually create and reuse a base .ioc file for each custom board?Thank you. Vijaya
Hi,We are currently evaluating the possibility of booting an STM32N655X0-based custom board from an SD card and would appreciate some guidance before committing to this design.Current Setup MCU: STM32N655X0 Custom hardware Currently, the FSBL is downloaded directly into RAM during development. The FSBL then loads the application from external flash. We would like to migrate to SD card boot. Understanding from UM3234While reviewing UM3234 - How to Proceed with Boot ROM on STM32N6 MCUs, I found the following description (page 15):In data transfer mode, the Boot ROM searches for two FSBL images. It first looks for a GPT header at LBA1. If GPT is present, the Boot ROM uses the GPT table to locate the FSBL images. If GPT is not found, it falls back to the default locations: FSBL1: LBA 128 FSBL2: LBA 640 Our goal is to use a single SD card for both: Storing the FSBL used by Boot ROM Storing application data using FileX What We TriedOption 1: GPT PartitioningWe partitioned the SD
I need to create, read and modify files using filex. Such files have names that uses cyrillic characters set (they must be codified using unicode 16 bit). It is possible to manage such files? Thanks
Hello folks,I am investigating the Video Encoder on the STM32N6 and have been working through the reference project (VENC_SDCard_ThreadX).The user manual (RM0486) is very vague on detailing the Video Encoder, and lists over 100 pages of registers which appear to be referencing other Software Registers (VENC_SWREGx):There are approximately 500 of registers like these, and it doesn't really say much. Looking through the `asicRegisterDesc[]` structure in the Middleware has been useful to try and see what the registers are used for, but still is nowhere near the amount of detail that is needed.Any further info would be greatly appreciated.Kindest regards,
Hi everyone,I'm working on a project using the STM32F4 series with STM32CubeIDE. After the MCU wakes up from Stop mode, HAL_Delay() seems to get stuck and the program doesn't proceed as expected.I've already re-initialized SysTick after wake-up, but the issue still persists. Has anyone run into this before? Would appreciate any pointers on what might be missing in the clock/SysTick reconfiguration after Stop mode exit.Thanks in advance!
On the STM32WL55, when using LoRa and non-continuous receive mode, the RX timeout triggers immediately, i.e. the value passed to Radio.Rx is ignored. This can be demonstrated using the SubGHz_Phy example on the NUCLEO-WL55JC and setting#define USE_MODEM_LORA 1 #define USE_MODEM_FSK 0and also#define TEST_MODE RADIO_RX and modifying the call to Radio.SetRxConfig: Radio.SetRxConfig(MODEM_LORA, LORA_BANDWIDTH, LORA_SPREADING_FACTOR, LORA_CODINGRATE, 0, LORA_PREAMBLE_LENGTH, LORA_SYMBOL_TIMEOUT, LORA_FIX_LENGTH_PAYLOAD_ON, 0, true, 0, 0, LORA_IQ_INVERSION_ON, false);i.e. setting the last parameter to false such that continuous mode is disabled. The OnRxTimeout function will be called very quickly, even though the timeout is set to 2s. The red LED will flash very quickly. (No transmitter is present, just listening to "silence").Timeouts work fine on FSK RX in non-continuous mode (red LED flashes slowly).Strangely, when first setting the modem to LoRa TX and transmittin
I have used the HAL_Delay function as below, the micro is stm32g474ret6.while (1) { /* USER CODE END WHILE */ /* USER CODE BEGIN 3 */ HAL_GPIO_WritePin(LED2_GPIO_Port, LED2_Pin, SET); HAL_GPIO_WritePin(Buzzer_GPIO_Port, Buzzer_Pin, RESET); HAL_Delay(1000); HAL_GPIO_WritePin(LED2_GPIO_Port, LED2_Pin, RESET); } /* USER CODE END 3 */}The problem is the code always struck in the HAL_Delay function with uwTick always returning 0. The systick interrupt handler is not called. Another observation if i enable the timer1 interrupt (i assume enable any interrupt) the code is reset. I generated the PWM using timer1 without interrupts. What is the problem when i enable interrupts how do i check it? Is it something to do with the Interrupt vector table.
i am using a 256K flash version of the STM32G0B1RE. part of the code is to use page 127 for various settings. when the device first starts up i set these settings at address 0x0308F800 this works perfectly. when i update a settings i erase page 127 then write the new settings. For some reason i cannot erase page 127, i am using single BANK mode, i think. when i pause to examine registers and memory i cannot see all the bits in the FLASH register. Suspect there is an issue with the svd file.i have used this technique successfully on other CPU versions so i am confident the basic code works. i think i am missing something around the 1 bank or 2 bank settings for this processor.any help appreciated. Mark
Hello ST Team,I am reproducing the STEVAL-TDR014V1 evaluation board based on the PD55008-E RF power transistor and have attached the original schematic and BOM for reference.While sourcing components, I found that several parts listed in the BOM are either obsolete, difficult to source, or have ambiguous manufacturer references. Before proceeding with the PCB assembly, I would like to verify the component selections and obtain recommended replacements where necessary.I would appreciate assistance with the following: Identification of the original manufacturer part numbers corresponding to the BOM entries. Recommended currently available replacement components for obsolete or unavailable parts. Confirmation of critical specifications that must be maintained for equivalent replacements, especially for: RF matching network capacitors RF inductors and chokes Ferrite beads RF connectors Any other components with special RF or high-frequency requirements Any upd
Hi, For a reason that I cannot explain, the STM32U575ZI (on the nucleo board) is sending a CAN bus message with infinite repeats and 100% bus utilisation, but I have repeated transmission turned off (DAR bit set to 1) and I have confirmed this using the debugger. It continues to send this message at full rate even if I pause the device in the debugger. My code is configured to send a packet with a changing ID from 0 to 4, but the repeated message always has the same ID (0x1, the first message that was queued), indicating that the message is stuck in the TX FIFO. FDCAN_TXBRP is always 0x1. Interrupts for the FDCAN peripheral are not enabled. I have the following code as my main loop: if (HAL_FDCAN_Start(&hfdcan1) != HAL_OK) { Error_Handler(); } FDCAN_TxHeaderTypeDef header; header.Identifier = 0; while (1) { const uint8_t tx_data[] = {0x01, 0x23, 0x45}; while (HAL_FDCAN_GetTxFifoFreeLevel(&hfdcan1) != 3) { HAL_Delay(1); } header.Identifier = (header.Iden
I have a laser engraver that runs on an ESP32 S2 Mini microcontroller. It has the following signature: “Espressif CDC Device” and emulates a COM-type serial port. I had two identical cables; if I connect my engraver to my PC via a serial program (NinjaTerm), I can control GRBL. I cut one of these cables, and they have four wires: VBUS, D+, D-, and GND. After crimping some connectors onto the ends of the wires and testing the cable connected to the port to distinguish between my D+ and D-, Now I’d like to put an STM32F411 (WeAct BlackPill v3.0) between my engraver and my PC to control my homemade Z-axis. The PC side is on a UART port of the STM32 connected to a CH340, and on the engraver side, a USB (D+/D-) CDC Host (Note: I’m not using the USB-C connector already soldered onto the BlackPill). The UART programming side worked perfectly. Where it’s getting stuck is on the CDC side… no response… #include <stdio.h>#include <string.h>#include <stdarg.h>#include "usbh_cdc
I am testing STM32H755 MPU using the nucleo-144 (STM32H755ZI).I used the STM32CubeMX tool to automatically generate a basic FreeRTOS example and added an ledTask to toggle an LED. void ledTaskProc(void *argument){ /* USER CODE BEGIN ledTaskProc */ /* Infinite loop */ for(;;) { if (BspButtonState == BUTTON_PRESSED) { /* Update button state */ BspButtonState = BUTTON_RELEASED; /* -- Sample board code to toggle leds ---- */ if ( 0 == led_select ) BSP_LED_Toggle(LED_GREEN); else if ( 1 == led_select ) BSP_LED_Toggle(LED_YELLOW); else BSP_LED_Toggle(LED_RED); led_select++; if ( led_select >= LED_NUM ) led_select = 0; /* ..... Perform your action ..... */ } else osDelay(10); } /* USER CODE END ledTaskProc */}The operation proceeds without any issues.However, as shown in the image, if I set a breakpoint, I see many nested pxPortInitialiseStack() calls in the call stack.What kind of error could this be? This is not typically seen; i
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.