Question
Reading a 16-bit word via SPI
In order to read a 16-bit word from a current sensor, is it correct to say:
HAL_SPI_Receive(&hspi1, &SPIRx[0], 1, 1); //?
SPIRx is declared as uint16_t SPIRx[1];
I told CubeMx that the data size for SPI1 is 16 bits