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,On the SR6P3C4 page (https://www.st.com/en/automotive-microcontrollers/sr6p3c4.html) there's a databrief. But not much about a datasheet, specification, or any deeper information about the modules associated with it. Is there a way to access those?Also (still related to the first question), the data brief does say something about maximum junction temperature of 165C, with a note:Nominal specification up to 150 °C. Delta specification up to 165 °C.I'm not sure to understand what does the delta specification means.Thank You
Hello everyone,I am currently working on a project to develop drivers for STM32F4 microcontrollers, based on Reference Manual RM0090 (without HAL, only CMSIS and register access).The goal of the project is to design reusable low-level drivers for the following peripherals:USART / UARTSPII2CI am now in the code implementation phase.I would like the community's help with the following:Examples of source code or references (preferably bare-metal / register level) for:SPI : transmission et réceptionI2C : master transmit / master receiveUART : transmission et réceptionRecommendations on API structure and function naming, for example:SPI_Init(), SPI_Transmit(), SPI_Receive()I2C_MasterTransmit(), I2C_MasterReceive()USART_Transmit(), USART_Receive()Any help, code snippets, links to reference implementations, or feedback would be greatly appreciated.Thank you in advance for your help.Best regards, *This post has been translated from French to comply with the ST Community guidelines.
I want to interface STM32G474 MCU with DS18B20 digital temperature probe in my project. The DS18B20 uses one-wire interface. Is one wire interface supported with this MCU? Kindly provide a detailed explanation. Help please. Datasheet link for DS1B20: EVVO DS18B20Axx Regards,Sreejith
Hi STM32 experts, I've been digging through the STM32WBA65RI datasheet and the RM0515 STM32WBA6xxx advanced Arm®-based 32 MCUs but can't seem to locate the factory default values for the FLASH_OPTR register for the STM32WBA65. Unliked the solution from this thread, where the RM0440's Option Bytes Descriptions section indicates ST Production Value, the RM0515's Option Bytes Descriptions section starting on page 206 doesn't contain the factory production value. Am I missing this information elsewhere in the RM0515 or STM32WBA65RI datasheet? Thanks and Best Regards,-Eric
Hello everyone, I’m working on a project to interface an OV5640 camera module with an STM32H743 MCU via the DCMI interface. I’ve set up the STM32H743 in CubeMX and generated a basic project, but I’m looking for supporting documents, example projects, or reference drivers to help with the integration. Specifically, I am looking for guidance on: OV5640 initialization sequence (XCLK, SCCB/I2C configuration, reset/power-down sequence) Recommended CubeMX DCMI + DMA settings for QVGA RGB565 capture Memory placement for DMA frame buffers (AXI SRAM vs DTCM vs SDRAM) Minimal working register tables to enable QVGA or VGA output Any ST or community examples of STM32H7 + OV5640 projects I understand DCMI + DMA basics, but I am aware that OV5640 requires stricter timing and more complex initialization. Any pointers to example projects, application notes, or reference drivers would be extremely helpful. Thank you in advance!
Split from this thread for a new question. Thank you. I've changed the programmer, and it now programmed without errors. I however get a Hard Fault, sitting in HardFault_Handler(), as soon as I run. It happens before the code gets to main(). It also does not look like it is matching symbols to files correctly, because it is not showing code. I did check that Load Symbols is checked in debugger settings. Can this HardFault be related, or should I start new post to help with that?
I have been using Scool together with Keil for years, but last tuesday after I started my PC and a win11 update was installed, I started Scool but got this error: "The PC/SC access cannot be enabled for the reader (driver not installed?) SdtReaderDllLoader Function name:ENABLE_PCSC_ACCESSParameter 1:SCtool Virtual Reader" When trying to update driver in Device Manager, I get code 31. (Well known win error code it seems, and I've tried all sugested solutions from AI and others without success.)My HW card readers also failed, but I managed to find and install newer drivers for them from the internet, so they are running again, only Virtual SCtool drivers I can't find, so the question is, are there any new win11 drivers for SCtool? (My present SCtool Virtual Driver is version 1.1.0.0) Helpdesk sugested I tried to install Scool on a new PC win11 25H2, and drivers worked fine on that. (My present PC is version win11 23H2, and my collegue has exact same PC and win version, where dr
Post moved from this thread. @ STTwo-32 I am using the same STM32H755ZIQ board and facing the same issue where the target is not detected by ST-Link after uploading the program.This is the code link: https://github.com/kavyammengineer/stm32debug/tree/main/led_on_offThe code works correctly on the Nucleo-H755ZIQ board, but when I upload it to my customized board, the target gets stuck and is no longer detected by ST-Link.this is my sysclk 64Mhz
Hi,Since we haven’t received the datasheet yet, we’d like to confirm the following information:If the receiver side (RX) uses the STWLC89 15 W solution, what is the corresponding 15 W transmitter (TX) model?Which Qi standards are supported by STWLC89? (Qi 2.1 or ....)
Hello everyone,MCU in use: STM32H745XI (dual-core, Bootloader v9.1, CubeIDE 1.16.1, HAL v1.11.3, CubeProgrammer v2.17.0)Hardware status: BOOT0 HIGH works perfectly, I can access the system bootloader over USART1 (PA9/PA10), and program via UART. Hardware is validated and all connections are good. PB15/PB14 pins are floating, not connected anywhere.My need:I want to jump from user application (C code only, no BOOT0 pin) to the internal ROM system bootloader for firmware update purposes, so that I can upload new firmware over UART (using CubeProgrammer or similar), and then return to normal application on the next reset.Here are the methods I have tried (none worked):Set MSP to 0x1FF09800, jump to 0x1FF09804 (function pointer), disable all interrupts (NVIC->ICER), set PRIMASK/FAULTMASK, disable and invalidate caches (SCB), disable SysTick, deinit all peripherals (HAL_DeInit, RCC_DeInit, etc.).Disable MPU/SAU regions (including secure/privileged regions).Put all GPIOs (including used U
Title edited to correct part number: it is a Geehy APM32F103CBT6 - not an STM32.See this post.Hi everyone,I am working on a project using the STM32F103CB MCU and implementing Standby (low-power) mode in the firmware. Development is done using Arduino IDE v2.3.2. I want the standby mode to be implemented to reduce the current consumption since my device is battery-operated. Problem OverviewThe firmware flow is as follows:On power-up, setup() runs.In loop(), if the reset reason is a power-on reset, the device enters Standby mode.The MCU wakes up from Standby via an interrupt on PA0 (Wakeup Pin).Execution flow and timing are monitored using the Serial Monitor.With the same firmware and library versions, I am observing different behaviour on two PCBs that:Have identical schematicsAre manufactured by the same vendorObserved BehaviorWithout Standby mode implemented, both PCBs behave correctly.With Standby mode enabled:Serial prints before entering Standby appear corr
Hello,I am trying to integrate an STSAFE-A110 chip into my product for keys/data securely storage.The communication with the chip works fine (approved by simple command as echo or generate_random).So I tried to generate a key in a local envelope key slot (first step of command flow in the "Local envelope wrapping/unwrapping" process). For that I queried the STSAFE-A110 to randomly generate a local envelope key in slot #0 and #1, using the STSAFEA_CMD_GENERATE_KEY (0x11) command.> 11 07 00 00 AF C1> 11 07 01 00 B6 19The chip answers OK as status code (correct crc) but I missed to keep data.But when I query the STSAFE-A110 to retrieve local envelope keys information (slot number, presence & key length), I get a key presence flag to 1 but with zeroed key length for the 2 slots.> 14 07 89 09< 00 00 09 02 00 01 00 01 01 00 FC 88status=OK(0x00)slot_nb=2Slot #0:- key_presence=1- key_length=0Slot #1:- key_presence=1- key_length=0How is it possible?Unable afterwards to gene
Hi,We are trying to make use of the ethernet interface in this fashion:- The board is a custom one with a soldered module from Karo, the qsmp-2550, that includes an stm32mp255fa.- The eth2 is connected to a PHY (TI DP83869HM) in RGMII.- The PHY is then configured to output Base100-FX to an SFP cage.- There is no CLK125, we use ck_ker_eth2 configured at 125Mhz (confirmed in /sys/kernel/debug/clk/stm32_clk_summary), we use the `st,ext-phyclk` DT property.The PHY is reachable via mdio using the CLI from mdio-tools and seem to be working as intended.We checked that the PHY sends the correct clock, the RX one, with a scope: it does.Then when enabling the link using `ip link set up eth0` we are greeted with:```root@qsmp-2550:~# ip link set up eth0[ 16.583371] stm32-dwmac 482d0000.eth2 eth0: Register MEM_TYPE_PAGE_POOL RxQ-0[ 16.586971] stm32-dwmac 482d0000.eth2 eth0: Register MEM_TYPE_PAGE_POOL RxQ-1[ 17.123948] stm32-dwmac 482d0000.eth2 eth0: PHY [stmmac-1:00] driver [TI DP83869] (irq=
I just like to configure the ISM330DHCX for vibration measurement. Is that an example or a sample code(using its C driver ) of it somewhere. Please give me a pointer. Thanks.
Hello, I was told by the services to check out the forum for guidance.I am working on a project that requires surface reconstruction using non-optical based solutions. I was thinking of attaching a motion sensor module to track the handheld scanner which will be moving along the surface, and then using the obtained sensor data to plot the point cloud in 3D.Is this a feasible idea using the motion sensors for accurate tracking & reconstruction? If so, what are the recommended products (something like LSM6DSV)? How is the development experience using MEMS-Studio? Thank you!
Hi I'm looking for a developer for single-phase SPWM modulation using a Nucleo STM32G474. Thanks
Hey,I am trying to run a model on the n6 npu.Currently most layers are run on the npu as the should but there are some layers which are executed on the SW target, even though the documentation states that the layer should be HW supported (in this case its the HardSigmoid layer). Changing the activation to a Sigmoid layer will make it run on the HW side. I thought it could be the case since in the documentation it states that sigmoid supports X*Sigmoid(X) and the problem layer is at a skip connection but i have early occurrences of the exact same HardSigmoid Skip connection pattern which are executed on the HW. Its only 2 of these blocks that are executed on the SW. Is this a bug or intential due to some optimization being done by the compiler.I attached an image of the model graph and Cube AI Analyze output.Thanks in advance
In AN2606 Rev 69, the STM32WBA6x system bootloader section describes the UART interface as USART3, but there appear to be errors:1. Inconsistency within the same entry:The TX pin description mixes USART2 and USART3 in the same sentence:USART3_TX pin Output PA12 pin: USART2 in transmission mode. Kept in reset configuration until 0x7F detected on USART_RX.While the RX pin description correctly uses USART3:USART3_RX pin Input PA11 pin: USART3 in reception mode. Used in alternate push-pull, pull-up mode.2. PA11/PA12 are assigned to USART2, not USART3:According to the STM32WBA62 datasheet, PA11 and PA12 are mapped to USART2 (USART2_RX / USART2_TX), not USART3.Question:Does the STM32WBA6x system bootloader actually use USART2 on PA11/PA12? It seems the document should read USART2 throughout, and the current "USART3" label is an error.Could ST please clarify and correct this in the next revision of AN2606?Environment:- Document: AN2606 Rev 69- MCU: STM32WBA62CGU6- Section: STM32WBA6x boo
Hi, I'm developing a project for STM32N657X0HxQ MCU and I need to run a NN model on it. I installed the 10.2.0 package for X-CUBE-AI and I've selected Core for Artificial Intelligence X-CUBE-AI in the Software Packs component selector. However, whatever Device Application I select, I always get when I'm on the Configuration Tab in Pinout & Configuration "Warning: This peripheral has no parameters to be configured" and I cannot upload my NN model, even when Artificial Intelligence X-CUCE-AI checkbox has been selected.I'm using the 6.16.1 Version of STM32CubeMX.Thank you for the cooperation
Hi! I am working with a stm32h743zit6 + ov5640 combo. I am using STM32CUBEMX + Makefile on Ubuntu.Currently I am at the state of:- Camera setup is successful- Code gets into HSYNC event callback- Code gets into VSYNC event callback- Code doesn't get into Frame event callback Currently I am unable to capture any images. I would really appreciate your help! Thank you in advance!
When creating a new CMake-based project in STM32CubeMX, the "Toolchain Folder Location" field is auto-populated with the project folder path upon entering a project name. This behaviour is misleading because the field is intended (at least by its description) to specify the location of the actual toolchain binaries (e.g., GCC ARM) and it is unlikely that a toolchain is installed in a specific project folder.I have tried to understand what this is by consulting the User Manual UM1718 Revision 49, and there were two references that matched the text "toolchain folder", both of which provided no helpful guidance on what this is actually used for.This is pretty much the only reference that describes what this option is for, which basically tells you nothing but confirms the toolchain is located in the project folder by default.Steps to Reproduce:Launch STM32CubeMX.Select a target MCU (e.g., STM32C011F6Px).Choose CMake as the project type.Attempt to change the field before setting a valid pr
In section 19.6.2 LCD frame control register (LCD_FCR) of the STM32U0 RM0503 Reference Manual, the examples provided for PS and DIV initially count up in decimal, but finish in binary. This looks like an accident and is confusing to the reader. https://www.st.com/resource/en/reference_manual/rm0503-stm32u0-series-advanced-armbased-32bit-mcus-stmicroelectronics.pdfAll other examples further down in section 19.6.2 correctly count up in binary and do not mix in decimal numbers:
helloDescription:I'm currently working with the STM32U585 and encountered an issue related to USART3Most of the time the code works fine, but it occasionally gets trapped in HAL_UART_IRQHandlerI am using the DMA Receiver Timeout (RTO) and DMA TX, may code is:void uart_tx_complete_cb(UART_HandleTypeDef *huart) { if (...) HAL_UART_Transmit_DMA(huart, buf, len); } void uart_rx_error_cb(UART_HandleTypeDef *huart) { HAL_UART_AbortReceive(huart); if (huart->ErrorCode & HAL_UART_ERROR_RTO) { ... } HAL_UART_Receive_DMA(huart, rx_buf, rx_buf_len); } HAL_UART_RegisterCallback(&huart3, HAL_UART_ERROR_CB_ID, uart_rx_error_cb); HAL_UART_ReceiverTimeout_Config(&huart3, 100); HAL_UART_EnableReceiverTimeout(&huart3); HAL_UART_Receive_DMA(&TD_UART_HANDLE, rx_buf, rx_buf_len); HAL_UART_RegisterCallback(&huart3, HAL_UART_TX_COMPLETE_CB_ID, uart_tx_complete_cb); When the issue occurs, I found that the TC (Transmission Complete) flag is not being cleared:an
is there any way to suppress this error message I get every time I recompile my cmake project? Clang Language Server client: couldn't create connection to server.Source: STM32Cube clangd
HiMAC BOOK PRO is using apple silicon(arm), i downloaded STM32CubeCLT-mac, but it seems installation is not sucessful, maybe it because it's x86/amd64 version.Do ST have plan to release STM32CubeCLT apple silicon version? ThanksPeter
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.