STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! I2C DMA not triggering callback function

Hi,Could you please suggest a direction with my problem?I try to read and write data to a sensor via i2c with DMA1 in an STM32 Nucleo F401 board where a FreeRTOS is running.I can read the sensorata with polling methode, and next to the I2C an UART is...

DMedv.1 by Associate II
  • 5 replies
  • 0 kudos

How to round division on STM32G0

I'm trying to implement an integer division with rounding. Obviously, by default integer division does floor and I was thinking I could use the remainder to determine if I should add 1 to my result.Processor cycles are at a premium in this solution (...

Konami by Senior
  • 7 replies
  • 0 kudos

Resolved! WARNING: CPU random generator seem to be failing, disable hardware random number generation WARNING: RDRND generated: 0xffffffff 0xffffffff 0xffffffffff 0xffffffffffffff

Hello community,since I updated the STM32 Cube IDE the following problem is displayed when entering the run or debug session.WARNING: CPU random generator seem to be failing, disable hardware random number generationWARNING: RDRND generated: 0xffffff...

TWI by Associate
  • 2 replies
  • 0 kudos

I want to develop a C program on the STM32F303 board that uses the SPI interface where the microcontroller is the master and the L3GD20 gyroscope is the slave: I want to perform a transmission to ask the gyroscope to provide me with the x, y, z coordinate

Considering that the gyroscope's chip select is the PE3 pin, how should I do this? The program below doesn't work#include <stm32f30x.h>void GPIO_Config();void SPI_Config();uint8_t L3GD20_Read(uint8_t reg);void L3GD20_Write(uint8_t reg, uint8_t data);...

FPalo.1 by Associate II
  • 2 replies
  • 0 kudos