Ask questions, find answers, and share insights on STM32 products and their technical features.
I am doing a DMA based I2C transmit using HAL_I2C_Master_Transmit_DMA and am seeing an issue with the state of the I2C. The transfer completes as expected as confirmed using an oscilloscope on the pins. However, the state of the I2C gets switched to ...
Hello,I tried to configure the STM32G031K8 Nucleo Board using CubeMX to send a request to an attached sensor using SPI1. To my request (2 bytes) the sensor should answer with 4 bytes. I configured the data size to 8 bits and the clock parameters core...
Hi everyone! I am using STM32F4 and IMU to read gyro and accelerometer, and than calculate IMU's euler angles. I can get data from IMU it is OK but when I try to add something from math.h program stops working but it also don't gives error or warninn...
Hi,I'm working on a project with a STM32L475RC.Depending on the operating status the STM32 is switched between different run modes like run mode, low power run mode and shutdown mode. When switching from run mode to low power run mode the clocks are ...
I am using NUCLEO-H743ZI2. I am trying timer to generate pulse using TIM_OCMODE_TOGGLE channel 1. my timer clock is 100MHz, I set pre-scaler as 9 and channel 1 pulse as 9 as well. It seems it is difficult to get pulse, except I add more count on chan...
I'm working on my first large-ish C++ embedded program running on a STM32F413. Bare metal, no RTOS at least so far. The program reads data from a dozen or so UART and I2C sensors. All the UART sensors currently use DMA for TX and RX. When a compl...
I had trouble to activate SPI communication with SPI in 40MHz frequency in 55cm long cable , even I modified output speed to "Very high speed" . Is any other register that I need to set to support high speed clock in long length cable ? 55cm long cab...
We have download the SPIN3204 FW (STSW-SPIN3204-V1.0.0) from ST website.But the Project_Potentiometer.uvprojx compiler error on keil SDK.Is there a way for me to run this project normally?