Ask questions, find answers, and share insights on STM32 products and their technical features.
I am using STM32L031F4P.I want to use it Programmable Voltage Detector to detect the voltage of its power supply.I am not finding any library to use.I want to have some coding help and its library file.
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