I'm using SPI to communicate with a MIPI chip, the commands to the MIPI are sent as 9 bits but the data sent back is 8 bits.
I'm using SPI to communicate with a MIPI chip, the commands to the MIPI are sent as 9 bits but the data sent back is 8 bits. The 9 bit are set up in a uint16_t variable. Using HAL_SPI_Init the data size is set to 9 bits. When I receive the data using HAL_SPI_Receive the 8 bit data is shifted 1 place to the left as it is getting clocked by 9 bits. Is there a way to correct this?
Thanks, Will.
