2017-09-13 07:05 AM
I'm using SPI with DMA for both Tx and Rx. So I call the relevant HAL API : 'HAL_SPI_TransmitReceive_DMA()'. And I only want to response to the Rx complete event. I find two possible places to filter the event:
I think method 2 is more suitable, if I can know whether it's a Rx complete event or not. Any good suggestion?
Thanks.
#spi #dma