STM32 BSP LPSPI Library Implementation

STM32 BSP LPSPI Library Implementation

Previously, I used the RT1052 development board, but now STM32 is obviously more popular among everyone. Therefore, I am providing this C file for everyone to benefit from the driver I wrote earlier. #include "bsp_lpspi.h" SPI_HandleTypeDef SpiHandle; void Spi_delay(uint32_t count){ volatile uint32_t i = 0; for (i = 0; i < count; ++i) { __asm("NOP"); … Read more