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
Hi! I use LL drivers to work with UART as follows: LL_USART_SetRxTimeout(USART1, 3 * 11); LL_USART_EnableRxTimeout(USART1); LL_USART_ClearFlag_RTO(USART1); LL_USART_EnableIT_RTO(USART1); LL_USART_EnableIT_RXNE(USART1);and it works fine until I switch the MK to STOP1 mode HAL_SuspendTick(); HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI); // STOP1 HAL_ResumeTick();What do I need to do to get this to work in STOP1 mode?
Hi, Can I use DAC of STM32L476RCTX for audio application. I have to give output of DAC to MAX97220(Audio amplifier IC). Frequency range of audio is 10Hz to 20kHz. Can you please suggest any application note for this. Audio files will be fetched from SD card with SPI interface.Can you please suggest any code example or library that is already available for this type of example. Regards,Anurag
I have added a wolfSSH ICube repo to my project. It does not compile, showing: Cube/Middlewares/Third_Party/wolfSSL_wolfSSH_wolfSSH/wolfssh/src/internal.c: In function 'GenerateKey':Cube/Middlewares/Third_Party/wolfSSL_wolfSSH_wolfSSH/wolfssh/src/internal.c:2215:15: error: implicit declaration of function 'wc_SSH_KDF'; did you mean 'wc_HKDF'? [-Wimplicit-function-declaration] 2215 | ret = wc_SSH_KDF(hashId, keyId, key, keySz,I checked the configwolfSSL.I-CUBE-wolfSSL_conf.hand it seems to be missing the wolf repo has:/* Enable wolfSSL features needed for wolfSSH */#define WOLFSSL_WOLFSSH /* Enable wc_SSH_KDF function */ Do I have to manually add it? Am I missing some other config that enables it?wolfSSH example referencewolfip/src/port/stm32h563/user_settings.h at master · wolfSSL/wolfip
Hi,I modified the BLE_HeartRate example for Nucleo-WBA25CE1 by adding another channel - IN8 - to read the voltage of a solar panel. The input is between 0V and 3V because i use the divider. In CubeMX I added an additional channel IN8 and generated the code. In the code I define the handle for ADCCTRL:ADCCTRL_Handle_t LLVoltageRequest_Handle ={ .Uid = 0x00, .State = ADCCTRL_HANDLE_NOT_REG, .InitConf = { .ConvParams = { .TriggerFrequencyMode = LL_ADC_TRIGGER_FREQ_LOW, .Resolution = LL_ADC_RESOLUTION_12B, .DataAlign = LL_ADC_DATA_ALIGN_RIGHT, .TriggerStart = LL_ADC_REG_TRIG_SOFTWARE, .TriggerEdge = LL_ADC_REG_TRIG_EXT_RISING, .ConversionMode = LL_ADC_REG_CONV_SINGLE, .DmaTransfer = LL_ADC_REG_DMA_TRANSFER_NONE, .Overrun = LL_ADC_REG_OVR_DATA_OVERWRITTEN, .SamplingTimeCommon1 = LL_ADC_SAMPLINGTIME_814CYCLES_5, .SamplingTimeCommon2 = LL_ADC_SAMPLINGTIME_1CYCLE_5 }, .SeqParams = { .Setup = LL_ADC_REG_SEQ_CONFIGURABLE,
Hello,I am evaluating IIS3DWBG1/IIS3DWBG1TR and AIS25BA/AIS25BATR for a data acquisition system where sensor data timestamps need to be aligned with GNSS time.I would like to ask whether these devices support any GNSS-related time synchronization interface or equivalent mechanism, such as GNSS/GPS 1PPS or PPS input, UTC/NMEA time reference input, PTP/IEEE1588 synchronization, external sync input, external reference clock input, FSYNC/CLKIN/EXTCLK, or any pin/register mechanism that can reset, latch, align, or discipline the internal timestamp counter using an external timing signal.Based on my review of the publicly available ST documentation and product pages, IIS3DWBG1/IIS3DWBG1TR appear to provide an internal timestamp counter and FIFO timestamp function, but I have not found any clearly documented pin, register, or configuration mechanism to align this timestamp to GNSS 1PPS/PPS or UTC time.For AIS25BA/AIS25BATR, the publicly available documentation shows TDM interface signals such
I am working on STM32H745BIT6 (dual-core: Cortex-M7 + Cortex-M4).Issue:DMA is functioning correctly when used from the CM7 core The same DMA configuration does NOT work when executed from the CM4 core
Hello, I'm trying to convert a project to vscode the first error I incurred to was this one: I'm trying to convert to cmake using the extension a project for the STM32U585OIYXQ, when I load the source folder and set the output folder then i push on convert and this is the output that I get : [Error] [ide-project-convert]:Generating project... [Error] [ide-project-convert]:The specified 'STM32U585OIYxQ' device is unknown [Error] [ide-project-convert]: Project conversion failed with exit code: 35. Which has been solved with this work around: "you can enable the stm32cube-ide-project-manager.conversion.ignoreMissingDevice VS Code setting".That went through and I have the following new error: [Info] [project-manager] STM32CubeIDE project manager activation.... [Info] [ide-project-convert] Starting project conversion... [Info] [ide-project-convert] cube wrapper version: 0.10.2 [Info] [ide-project-convert] Invoking STM32CubeIDE Eclipse exporter... [Info] [ide-proje
I am using a stm32h562agi6 and configured fdcan2. It works!But then I wanted to create a zephyr os project and saw that there the fdcan2 is not available for stm32h562xx in general. I did some investigations and also the datasheet actually states that fdcan2 is not available (features and peripheral counts). I basically read everywhere that it has only one fdcan peripheral. I use PB5 and PB6 which are only listed for FDCAN2. So what is true now? Is it because it’s a UFBGA169?
Hi everyone I have a bit trouble initializing the JPEG peripheral on the N6. See the stack trace: I feel like this has something to do with the RIF? I don’t know, this chip is very new to me. If anyone can help me, it’d be greatly appreciated. Best regards
Hello, In the STM32CubeMX2 v1.0.1, I've noticed an issue with the ETH1 peripheral configuration in RMII mode. The application forces the PA_10 pin to be used as ETH_CLK, even though I want to use the clock generated by the PHY and supply it to the PA_1 pin (ETH_REF_CLK). In my project, the PA_10 pin is already used.The question is, is the ETH_CLK signal on the PA_10 pin necessary in RMII configuration and should I redesign the project, or is this the STM32CubeMX2 issue ? Best regards
Device A is an Ethernet implementation based on the STM32F107VCT6 microcontroller and the LAN9303 Ethernet transceiver. It connects to a host computer via a Layer 3 switch, with Device A and the host computer assigned IP addresses in different network segments.Two batches of STM32F107VCT6 microcontrollers are currently deployed. With the Layer 3 switch properly configured, the following test results are observed:For the older batch of STM32F107VCT6 devices, the host computer can successfully ping Device A, regardless of whether the Layer 3 switch is a Huawei or TP-LINK model. For the newer batch of STM32F107VCT6 devices, the host computer cannot ping Device A when using a Huawei Layer 3 switch; however, ping communication is successful when using a TP-LINK Layer 3 switch.The above observations indicate a batch-specific anomaly in the network functionality of the STM32F107VCT6. What is the specific root cause of this issue?Upon verification, the defective STM32F107VCT6 units have lot co
Hi,I am working with an STM32H7 microcontroller and the EVB-LAN9252-SPI board from Microchip Technology.I would like to establish communication between the STM32H7 MCU and the LAN9252 over the SPI interface. Could you please provide guidance on the hardware interfacing, software setup, and initialization procedure required to bring up the communication?Additionally, please let me know the software packages, drivers, middleware, or example projects that would be needed for this implementation.
I'm using an STM32H7S78-DK board and I have a part of the firmware that, from the boot, updates the FLASH from a .bin inside an SD cardThe code is pretty simple as I loop the FLASH comparing every sector with the one in the SD card and, if different I erase the internal flash sector and write the new one.Everything was working correctly until a update the code via CubeMXThe read seems to still workingif (EXTMEM_Read(0, fw_offset, flash_buf, br) != 0)but as soon as I do theif (EXTMEM_EraseSector(0, fw_offset, FLASH_SECTOR_SIZE) != 0)I got an errorThe crash happens in if (EXTMEM_DRIVER_NOR_SFDP_OK != EXTMEM_DRIVER_NOR_SFDP_SectorErase(&extmem_list_config[MemId].NorSfdpObject, local_address, sector_type)) { retr = EXTMEM_ERROR_DRIVER; }I've rolled back just the driver in the STM32_ExtMem_Manager, and everything started working againI've noticed that quite a few files have been changed, including the addition of #define EXTMEM_DRIVER_CUSTOM 0In the conf_temp
Hi everyone,I am developing a custom board using an STM32U5 and the LSM6DSV16BX. I am using MEMS Studio to train and configure the Machine Learning Core (MLC), but I noticed that the generated .h configuration file seems to set INT1_MLC1 bit at MLC_INT1 register by default.Even though I haven't explicitly set up physical pin routing in my project, the exported C array includes bank-switching logic that forces this configuration. I see the following sequence in my generated header: { .type = MEMS_CONF_OP_TYPE_WRITE, .address = 0x01, .data = 0x80 }, // Switch to Embedded Bank // ... [other configs] ... { .type = MEMS_CONF_OP_TYPE_WRITE, .address = 0x0D, .data = 0x01 }, // MLC_INT1: Route MLC1 to INT1 // ... [other configs] ... { .type = MEMS_CONF_OP_TYPE_WRITE, .address = 0x01, .data = 0x00 }, // Return to Main Bank Because of this, INT1 pin is firing on MLC state changes. Since this is a custom design, I need strict control over my interrupt routing.My questions are:Can s
Hi,ASM330LHH datasheet states that "compensation for high stability over temperature" are embedded in the device. Could you provide more information about the correction algorithms applied ?In particular, when we measure the bias at 0°/s of the ASM330LHH in a temperature chamber, we get strange non-linear behaviors that we suppose to be a consequence of these algorithms. For instance, in the following figure (filtered bias at 0°/s depending on temperature) some "steps" can be observed. Could you provide a description of the corrections applied / the reason of this behavior ? It would make the device more predictable for us.Furthermore, is there a way to disable these corrections ?Thank you a in advance.
I am currently working with SBSFU on the STM32H743ZIT6 series and have implemented several modifications to its core functionality. I would like to clarify the potential impact of these changes.1. Modification to SBSFU FunctionalityI have altered the default SBSFU behavior by replacing the traditional firmware swapping mechanism with a bank-switching approach to reduce application downtime.Both Bank 1 and Bank 2 will contain the bootloader and the application. Bank selection is managed using the swap option byte.2. Relocation of Swap AreaI plan to relocate the swap area from Sector 8 to Sector 15, considering that Bank 2 spans from Sector 0 to Sector 7.The swap area is used during the decryption process. It requires 128 KB of memory.3. Clarification RequiredI would like to understand whether these modifications will have any impact on the system:Will the transition from a swap-based mechanism to a bank-switching approach affect the core functionality, integrity, or reliability of SBSFU
In the reference manual RM0440 Rev9 of STM32G4 family the bit combination 0b000 for the BLANKSEL setting in the comparator registers COMP_CxCSR is not documented: (Screenshot of page 771 and 773)I assume 0b000 means blanking input disabled, but it should be written in the rm.
When will the NUCLEO-C5A3ZG be available via distributors?The st.com site lists it as available(mass production), but none of the distributors has listed it at all. And the estore lists it as coming soon. Do you have any more concrete dates, will it be available anytime soon? Best
Hello,I’m working on a design using the STM32H750IBTx (LQFP176) running at 400 MHz with FreeRTOS, and I’ve encountered a strange intermittent issue with the display that only appears after long periods of operation.Problem Description:After about 30–40 days of continuous operation, the display starts to flicker and glitch.Once the flicker begins, it persists continuously for around 24 hours and then self-corrects without reboot.Performing a power cycle or reset also immediately clears the issue.No other functional failure is observed (system remains responsive, logs continue, etc.)System Overview:Display: 800×480 RGB LCD connected via LTDC interface (RGB565 format)SDRAM: 32 MB IS42S16160J-6TLI, 8192 rowsQSPI: 64 MB MX25L51245GConnected via FMCFMC clock: 200 MHz, SDRAM clock: 100 MHz (FMC clock divided by 2)Refresh rate: Configured for standard 64 ms / 8192 = ~7.8 µsREFRESH_COUNT and other parameters are set as below#define REFRESH_COUNT ((uint32_t)1539) /* SDRAM refresh counter 200MHz
Hello,I have provisioned two STEVAL-MKBXPRO Rev A boards using the FP-SNS-BLEMESH1 firmware and the ST BLE Mesh mobile application.My goal is to configure one board as a sensor node and the other as a relay/receiver node. Both nodes have been successfully provisioned and added to the same mesh network.However, I am unable to make them communicate correctly using only the ST BLE Mesh application. I cannot get sensor data to be transmitted from the sensor node to the receiver node.Could you please help me
Hi Does anyone know how to stabilize the gyroscope and accelerometer signals. I am getting signals back but I am trying to move a radio button on a bullseye and can't seem to smooth out the signal. I am using I2C communications.
I am currently working on a project using Steval mkboxpro and I would like to implement BLE Mesh communication between them. I am still learning and I was wondering if you could give me some guidance or recommend resources on how to do this Any help or advice would be greatly appreciated.
Hello, I’m having some problems with regression tool configuration for pedometer.I'm having some issues with the regression tool configuration for the pedometer. I’m using the STEVAL-MKI109D and STEVAL-MKI238A with MEMs Studio tool (FW: 2.10.2).First, I set up the sensor using 'Easy Configuration' and changed the Full Scale to ±4g, the Output Data Rate (ODR) to 25 Hz, enabled High-Performance mode, and set the bandwidth to ODR/2.Quick setup configurationFirst, I recorded and saved different walking types (slow, normal, and fast, with 20 steps each) using the 'Save to file' tab. This only saves the Accelerometer data.Next, I opened the Pedometer tab and ran the regression tool using these three files (fast_steps20.txt, normal_steps20.txt, and slow_steps20.txt). I selected the LIS2DUX12 sensor and tested it with the default settings for error type (Mean) and complexity level (50%). The generated results are in the attached zip file.After that, I went to the debug page to test the result
STM32N6570-DK: BOOT0/BOOT1 switches appear to have no effect. In DEV boot (BOOT1=H), external loader MX66UW1G45G_STM32N6570-DK fails with "Init function fail with timeout" via both STM32CubeProgrammer 2.22.0 CLI/GUI and STM32CubeIDE (ST-LINK FW V3J17M10, hot plug and under-reset modes, AP1). In serial boot (BOOT0=H), no USB DFU enumeration on USB1 and no UART acknowledgement on the STLink VCP (115200 8E1). SWD debug access works normally; the board previously booted user firmware from flash. Official STM32N6-OOB readme procedure reproducibly fails at the first sector erase.
I’m using CubeMX to generate the code for the STM32H7S7, more preciously the LTDC code that should be the same for Boot and the AppliFor some reason the HAL_LTDC_MspInit is generating different pins configurations for the Appli and the BootFor instance it generates the code for the PIN PF0 ------> LTDC_R2 in the boot meanwhile in the Appli there’s no PF0I would like to attach my .ico but it seems there’s no attach option in the new community UI
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.