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
Kconfig.bitbang
Kconfig.cc13xx_cc26xx
Kconfig.dw
Kconfig.esp32
Kconfig.gd32
Kconfig.gecko
Kconfig.litex
Kconfig.mchp_mss_qspi
Kconfig.mcux_dspi
Kconfig.mcux_flexcomm
Kconfig.mcux_lpspi
Kconfig.npcx_fiu
Kconfig.nrfx
Kconfig.oc_simple
Kconfig.pl022
Kconfig.psoc6
Kconfig.rv32m1_lpspi
Kconfig.sam
Kconfig.sam0
Kconfig.sifive
Kconfig.spi_emul
Kconfig.stm32
Kconfig.test
Kconfig.xec_qmspi
Kconfig.xec_qmspi_ldma
Kconfig.xlnx
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.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_dw.h
spi_dw_regs.h
spi_emul.c
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
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
spi_litespi.c drivers: spi: litespi: Migrate spi_context_complete usage 2022-09-01 01:02:50 +09:00
spi_litespi.h
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_sam.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_sifive.c drivers: spi: sifive: Migrate spi_context_{complete,lock} usage 2022-09-01 01:02:50 +09:00
spi_sifive.h
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.c spi: mec15xx: add pinctrl for mec15xx/mec1501 qmspi 2022-09-21 18:05:32 +00:00
spi_xec_qmspi_ldma.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00
spi_xlnx_axi_quadspi.c spi: callback API for asynchronous transcieve 2022-08-26 09:29:48 -04:00