zephyr/drivers/spi
Michael Hope bb9d516787 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: Michael Hope <mlhx@google.com>
2018-03-15 11:09:55 -05:00
..
CMakeLists.txt spi: sort drivers into legacy or not in CMakeLists.txt 2018-01-24 18:27:27 +05:30
Kconfig drivers: spi_ll_stm32: Enable SPI driver for F1 family 2018-02-01 08:19:49 -06:00
Kconfig.dw
Kconfig.mcux_dspi kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
Kconfig.nrf5_legacy nrf5: spi: Mark SPI drivers as conforming to legacy SPI API 2017-07-31 10:05:19 -05:00
Kconfig.sam0 spi: sam0: use Device Tree for configuration. 2018-03-10 11:42:25 -06:00
spi_context.h drivers/spi: Properly check for rx/tx and buffering on 2018-01-29 23:30:55 -05:00
spi_dw_legacy.c cleanup: Use quote include instead of system include 2017-10-28 07:11:53 -04:00
spi_dw_quark_se_ss_regs.h
spi_dw_regs.h
spi_dw.c drivers/spi: Properly check for rx/tx and buffering on 2018-01-29 23:30:55 -05:00
spi_dw.h drivers/spi: Use sync_status relevantly in DW driver 2017-09-15 08:07:41 -04:00
spi_handlers.c drivers: spi: add system call handlers 2017-10-30 13:20:19 -07:00
spi_intel.c
spi_intel.h
spi_ll_stm32.c drivers: spi_ll_stm32: Protect against null TX/RX buffer 2018-02-01 08:19:49 -06:00
spi_ll_stm32.h
spi_mcux_dspi.c
spi_qmsi_ss.c
spi_qmsi.c
spi_sam0.c spi: sam0: fix CS and back-to-back transfers. 2018-03-15 11:09:55 -05:00
spim_nrf52_legacy.c license: fix license identifiers 2017-08-29 07:42:09 -04:00
spis_nrf5_legacy.c nrf5: spi: Mark SPI drivers as conforming to legacy SPI API 2017-07-31 10:05:19 -05:00