zephyr/drivers/bluetooth/hci
Jordan Yates b3f12b430f drivers: bluetooth: hci: spi: add small read delay
Add a small delay between reading the transport header and reading the
HCI data. Failing to do so on a nRF9160<->nRF52832 link was reliably
resulting in the nRF9160 trying to read data before the nRF52832 had
set up the SPI transaction, resulting in the host reading a buffer full
of 0x00 and having to run the entire read result again.

Transceiving a 10 byte packet takes at least 31uS, while 100 byte
packets are around 150uS (duration of `spi_transceive` call). Waiting
1 tick to eliminate the need for most retransmissions is a valid
tradeoff.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2023-07-05 14:15:18 +02:00
..
CMakeLists.txt drivers: bluetooth: Add Infineon Bluetooth driver 2023-05-17 09:59:36 +03:00
cyw43xxx.c driver: bluetooth: Added Infineon cyw43xxx BT driver 2023-03-22 16:40:55 +01:00
h4.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
h5.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
hci_b91.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
hci_esp32.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
hci_psoc6_bless.c drivers: bluetooth: Add Infineon Bluetooth driver 2023-05-17 09:59:36 +03:00
ipm_stm32wb.c Bluetooth: Use bt_addr_eq 2023-05-09 09:23:52 +02:00
Kconfig drivers/bluetooth/hci: enable BT_SILABS_HCI on EFR32BG27 2023-05-26 05:54:40 -04:00
Kconfig.infineon drivers: bluetooth: Add Infineon Bluetooth driver 2023-05-17 09:59:36 +03:00
rpmsg.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
slz_hci.c drivers/bluetooth/hci/slz_hci: bump blobs to version 4.1 2023-05-26 05:54:40 -04:00
spi.c drivers: bluetooth: hci: spi: add small read delay 2023-07-05 14:15:18 +02:00
userchan.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00