Solved
How to read byte from SPI?
There is some way to read directly the byte that are send via SPI and not the int8 that is generate by the function?
int8_t buffer[BUFFER_SIZE]
HAL_SPI_RECEIVE_DMA(...,(uint8_t*)buffer,...,...)
There is some way to read directly the byte that are send via SPI and not the int8 that is generate by the function?
int8_t buffer[BUFFER_SIZE]
HAL_SPI_RECEIVE_DMA(...,(uint8_t*)buffer,...,...)
Yes, see the low level (LL) functions. LL_SPI_ReceiveData8, LL_SPI_ReceiveData16
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.