Question
HAL_SPI_Transmit uint16_t size limit
Hello,
I would like to send a uint32_t size array via HAL_SPI_Transmit / HAL_SPI_Transmit_DMA but both are limited to 16 bit size.
I have tried casting as
HAL_SPI_Transmit(&hspi1,Array,(uint16_t)65537),10000)
but this doesn't work.
I have also tried editing the SPI driver and changing TxXferSize and TxXferCount to uint32_t but this only seems to get rid of the compiler warning and still overflows somewhere, i.e only 1 byte from the array is sent.
Please could anyone advise what else I need to change?
Thanks
