AnsweredAssumed Answered

STM32F4Cube HAL_SPI_TransmitReceive_IT()

Question asked by sparky.marky on Jun 19, 2014
Latest reply on Jun 23, 2014 by sparky.marky
I am interfacing an STM32F407 (on DISCOVERY eval) to several devices using SPI bus.  One of the devices clocks 4 bytes of data out simultaneously as 4 bytes of config data is clocked in (LTC2446 ADC).  I am attempting to use the HAL driver routine HAL_SPI_TransmitReceive_IT() to perform this transfer. I am finding that I only get 3 bytes and then the SPI hangs in a busy state.  Has anyone used this driver and could perhaps tell if there is a limitation or different approach? I could bit-bang the SPI to the ADC, however, I have successfully interfaced to another SPI temperature sensor and don't have run-time to deinitialize the SPI driver, use GPIO for the ADC, then reinitialize SPI for the temperature sensor.