Posted on March 08, 2018 at 14:55Hello,Before I have written a SPI function. std peripheral library at stm8l0 serie. Here is a part of code. if(SPI_GetFlagStatus(SPI1, SPI_FLAG_TXE) && (spi_ri < lenght)) // Check tx flags here { SPI_SendData(SPI1, ...