Resolved! 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...