2009-05-25 07:36 AM
SPI Read Problem (16 bits read out instead of 8 bits)
2011-05-17 04:12 AM
Hi,
I've got a problem with the SPI functions included in the ST library. When I'm using the SPI_I2S_ReceiveData(...), the µC generates 16 clock pulses instead of only eight. The SPI is initialized with 8 bits. Before doing ReceiveData() I wait for Rx not empty. When sending something, only 8 bits are sent rightly. Anybody an idea what could be the reason?