Solved
Why the number of data I sent is wrong when using HAL_SPI_TransmitReceive() ?
HAL_SPI_TransmitReceive(&hspi1,tx_sensor_data,rx_sensor_data,8,0);
I want sent 8bytes, but only 2bytes sent, why?
HAL_SPI_TransmitReceive(&hspi1,tx_sensor_data,rx_sensor_data,8,0);
I want sent 8bytes, but only 2bytes sent, why?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.