AnsweredAssumed Answered

STM32F4Discovery SPI1 last bit problem

Question asked by alevst on Sep 1, 2015
Latest reply on Sep 2, 2015 by waclawek.jan
I have a problem  with SPI1 using the STM32F4Discovery. The STM HAL(STM32Cube_FW_F4_V1.5.0 and V1.7.0  ) driver is used. When I use HAL_SPI_Transmit (master mode, bidirectional) last bit in returned byte is always zero. If I use a command with multiple returned bytes then last bit(if it is 1)  go over in last bit next byte. But the same code at the SPI2 works fine. An oscilloscope shows that a slave device works properly. The problem is tested on two the STM32F4Discovery boards.