zephyr/drivers/spi
Gerhard Jörges 1e87837f2a drivers: spi: pl022: fix dropping RX bytes
If the thread that submits data over spi is interrupted by a higher
priority thread while pushing data to the tx fifo the hardware pushes
data to spi and frees up space in the fifo. In this case more than
8 Bytes are written to the tx fifo and bytes in the rx fifo get lost
before they are collected in the rx while loop.
To avoid this, the tx loop is exited after a maximum of 8 bytes and the
rx loop will run until it collected all bytes from the rx fifo.

Signed-off-by: Gerhard Jörges <joerges@metratec.com>
2022-09-22 17:16:45 +02:00
..
CMakeLists.txt drivers: spi: add Andes atcspi200 driver 2022-09-07 15:34:47 +02:00
Kconfig drivers: spi: add Andes atcspi200 driver 2022-09-07 15:34:47 +02:00
Kconfig.andes_atcspi200 drivers: spi: add Andes atcspi200 driver 2022-09-07 15:34:47 +02:00
Kconfig.b91 drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.bitbang drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.cc13xx_cc26xx drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.dw drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.esp32 drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.gd32 drivers: spi: gd32: support interrupt-driven mode 2022-08-01 10:32:33 +02:00
Kconfig.gecko drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.litex drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.mchp_mss_qspi drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.mcux_dspi drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.mcux_flexcomm drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.mcux_lpspi drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.npcx_fiu drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.nrfx drivers: spi: nrfx_spim: move rx delay to DT 2022-07-19 13:20:00 -07:00
Kconfig.oc_simple drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.pl022 drivers: spi: pl022: Support interrupt based transfer 2022-08-18 10:18:16 +02:00
Kconfig.psoc6 drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.rv32m1_lpspi drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.sam drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.sam0 drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.sifive drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.spi_emul drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.stm32 drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.test drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.xec_qmspi drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.xec_qmspi_ldma drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
Kconfig.xlnx drivers: spi: Update drivers to use devicetree Kconfig symbol 2022-07-25 09:38:30 +02:00
spi_andes_atcspi200.c drivers: spi: add Andes atcspi200 driver 2022-09-07 15:34:47 +02:00
spi_andes_atcspi200.h drivers: spi: add Andes atcspi200 driver 2022-09-07 15:34:47 +02:00
spi_b91.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_bitbang.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_cc13xx_cc26xx.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_context.h spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_dw_regs.h
spi_dw.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_dw.h drivers: ipm/spi/intc: remove Intel S1000 support 2022-06-13 16:19:51 -04:00
spi_emul.c emul: remove name param from bus register APIs 2022-07-19 15:52:36 -05:00
spi_esp32_spim.c west.yml: update hal to v4.4.1 base 2022-09-01 21:48:18 +00:00
spi_esp32_spim.h drivers: spi_esp32_spim: Add support for IOMUX mode 2022-08-09 12:31:23 +02:00
spi_gd32.c drivers: spi: gd32: use clock control API 2022-09-06 09:57:25 +02:00
spi_gecko.c drivers: spi: gecko: Migrate spi_context_complete usage 2022-09-01 01:02:50 +09:00
spi_handlers.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
spi_litespi.c drivers: spi: litespi: Migrate spi_context_complete usage 2022-09-01 01:02:50 +09:00
spi_litespi.h drivers: spi: spi_litespi: Update driver registers 2022-05-27 15:27:11 -07:00
spi_ll_stm32.c drivers: spi : driver with DMA for the stm32u5 2022-09-07 15:34:35 +02:00
spi_ll_stm32.h drivers: spi : driver with DMA for the stm32u5 2022-09-07 15:34:35 +02:00
spi_mchp_mss_qspi.c drivers: spi: mchp_mss_qspi: Migrate spi_context_{complete,lock} usage 2022-09-01 01:02:50 +09:00
spi_mcux_dspi.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_mcux_flexcomm.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_mcux_lpspi.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_npcx_fiu.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_nrfx_spi.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_nrfx_spim.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_nrfx_spis.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_oc_simple.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_oc_simple.h
spi_pl022.c drivers: spi: pl022: fix dropping RX bytes 2022-09-22 17:16:45 +02:00
spi_psoc6.c drivers: spi: psoc6: Fix spi_psoc6_transceive calls 2022-09-01 01:02:50 +09:00
spi_rv32m1_lpspi.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_sam0.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_sam.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_sifive.c drivers: spi: sifive: Migrate spi_context_{complete,lock} usage 2022-09-01 01:02:50 +09:00
spi_sifive.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
spi_signal.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
spi_test.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
spi_xec_qmspi_ldma.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_xec_qmspi.c spi: mec15xx: add pinctrl for mec15xx/mec1501 qmspi 2022-09-21 18:05:32 +00:00
spi_xlnx_axi_quadspi.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00