Ask questions, find answers, and share insights on STM32 products and their technical features.
According to my understanding, I can read/write data directly through the "DR" register. Why do I have to set the FIFO Threshold value? How to use the FIFO correctly during the reading and writing procedure? And another question is that How to set ...
Hello,I would like to use TWO circular DMA buffers for ONE I2C interface.Depending on received address byte, in the ADDR interrupt I would always enable the correct circular buffer (disabling the other one - so at one time always only ONE buffer is a...
Hi, I am trying to use an STM32G031J6-DISCO board to get a grasp on the 8-pin STM32G031J6 MCU that I consider for building small IoT sensors (for teaching purposes). I am new to STM32 products (or ST MCUs in general). I managed to write a few variati...
SPI receive funtion not working correctly. Only one time is working, where is my mistake ?thanks void SPITransReceive(SPI_TypeDef* SPIx,uint8_t data,uint8_t *pbuff,uint8_t dataSize){ while(dataSize > 0){ while((SPIx->SR & SPI_I2S_FLAG_TXE) == R...
How do I measure the time between the rising edge and falling edge of a square wave
Hello,I am working with ADS7046 i need to generate 24 cloacks for calibarration and for data I need the 15 SCLK .Its SPI COnfigurable. So how I can genertare the 24 SCLK and 15 SCLk