SPI suspend not handled in blocking mode Receive #14
Labels
enhancement
New feature or request
hal
HAL-LL driver-related issue or pull-request.
internal bug tracker
Issue confirmed and reported into a ticket in the internal bug tracking system.
spi
SPI-related issue or pull-request
spotted before customer
Spotted and fixed internally before being pointed out by users but not published yet
Hi,
After having trouble to receive big packet through SPI using HAL_SPI_Receive (clock @12mhz), I enabled the SPI_MASTER_RX_AUTOSUSP_ENABLE feature to avoid overflow.
But, now, i have another issue due to the fact this feature is not handled in the blocking form of Receive..
I know we should use DMA.
For whatever reason, the dev could wants to use the blocking version, which is almost not usable as is at high SPI frequencies (caused by other tasks/IRQ premption, or even slow CPU speeds)
So, it could be also good to add the SUSP bit clear in the blocking receive function too..
This way user is free to use DMA, IT or blocking receive functions
The text was updated successfully, but these errors were encountered: