zephyr/drivers/spi
Michael Hope 8181eede5d drivers: spi: ensure the first byte has been loaded in the TX fast path
The SAM0 has a data register and a shift register.  Data that is
written to the data register is transferred to the shift register by
the peripheral.

On the SAMD51, the CPU is fast enough that the first data write hasn't
been transferred to the shift register by the time the next data write
occurs, causing the second write to be dropped, causing the receiver
to wait forever.

Fix by spinning until the data register is empty.

Signed-off-by: Michael Hope <mlhx@google.com>
2020-07-06 10:01:35 -04:00
..
CMakeLists.txt drivers: spi: Add Gecko SPI driver 2020-01-10 07:14:35 -06:00
Kconfig kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.cc13xx_cc26xx
Kconfig.dw kconfig: Remove redundant SPI_DW dep on SPI_DW_ACCESS_WORD_ONLY 2020-02-08 09:58:33 +02:00
Kconfig.gecko kconfig: Turn pointless 'menuconfig's into 'config's 2020-01-24 21:30:17 -05:00
Kconfig.litex
Kconfig.mcux_dspi
Kconfig.mcux_flexcomm drivers: spi: kconfig: Turn pointless 'menuconfig' into 'config' 2020-01-03 07:32:32 -06:00
Kconfig.mcux_lpspi
Kconfig.nrfx drivers: nrf: Remove no longer suitable dependencies on Kconfig options 2020-04-03 14:47:32 +02:00
Kconfig.oc_simple kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.rv32m1_lpspi
Kconfig.sam drivers: spi: spi_sam: rework device tree support 2020-04-25 09:29:54 -05:00
Kconfig.sam0
Kconfig.sifive kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.stm32 drivers: spi: Enable dma transfer for SPI on stm32 2020-05-04 09:46:07 -05:00
Kconfig.xec_qmspi
spi_cc13xx_cc26xx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_context.h drivers: spi: CS configuration through devicetree 2020-07-01 16:40:03 -05:00
spi_dw_regs.h
spi_dw.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_dw.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_gecko.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_handlers.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_litespi.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_litespi.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_ll_stm32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_ll_stm32.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_mcux_dspi.c drivers: spi: Add optional delays to mcux dspi and lpspi drivers 2020-07-02 07:57:36 -04:00
spi_mcux_flexcomm.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_mcux_lpspi.c drivers: spi: Add optional delays to mcux dspi and lpspi drivers 2020-07-02 07:57:36 -04:00
spi_nrfx_spi.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_nrfx_spim.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_nrfx_spis.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_oc_simple.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_oc_simple.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_rv32m1_lpspi.c drivers: spi: rv32m1_lpspi: Fix null tx 2020-06-17 09:30:12 +02:00
spi_sam.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_sam0.c drivers: spi: ensure the first byte has been loaded in the TX fast path 2020-07-06 10:01:35 -04:00
spi_sifive.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_sifive.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_xec_qmspi.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00