Skip to content
Commit bb9d5167 authored by Michael Hope's avatar Michael Hope Committed by Kumar Gala
Browse files

spi: sam0: fix CS and back-to-back transfers.



Fixes #6577.

Wait for all ongoing transmits to complete before de-asserting CS.

When doing a tx then rx, wait for the previous tx to complete before
flushing the rx buffer.

Tested on the Arduino Zero against a Olimex MOD-NRF24L module.

Signed-off-by: default avatarMichael Hope <mlhx@google.com>
parent 11c5eb75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment