30 Commits

Author SHA1 Message Date
Matthias Ringwald
00652864b7 stm32-sx1280: respond to scan request 2020-11-02 19:50:33 +01:00
Matthias Ringwald
85bc6c7f3d stm32-sx1280: preload adv + scan data into tx0/tx1 2020-11-02 19:50:33 +01:00
Matthias Ringwald
2fac2f8a90 stm32-sx1280: split spi_tx_then_rx into spi_tx and spi_rx, temp disable DMA 2020-11-02 19:50:33 +01:00
Matthias Ringwald
c0c089bbef stm32-sx1280: avoid memset + memcpy for read buffer via dma 2020-11-02 19:50:33 +01:00
Matthias Ringwald
78bb22e917 stm32-sx1280: implement DMA TX only and TX+RX
# Conflicts:
#	port/stm32-l073rz-nucleo-sx1280/Inc/main.h
2020-11-02 19:50:33 +01:00
Matthias Ringwald
ec59e7868b stm32-sx1280: use 32 bytes for read/write buffer test 2020-11-02 19:50:33 +01:00
Matthias Ringwald
da16b0c648 Revert "stm32-sx1280: report ACL buffer size of 16 by Controller until autotx timeout issued is fixed"
This reverts commit b9a848a40577fe2a43717382c19aab221f956231.
2020-11-02 19:49:30 +01:00
Matthias Ringwald
02e972ab63 stm32-sx1280: use 250 us in SetRx as it seems to apply to AutoTx as well 2020-11-02 19:47:30 +01:00
Matthias Ringwald
b9a848a405 stm32-sx1280: report ACL buffer size of 16 by Controller until autotx timeout issued is fixed 2020-10-19 22:57:44 +02:00
Matthias Ringwald
fd9c0d708b stm32-sx1280: prepare for auto tx also if RX had CRC error
extract radio_prepare_auto_tx and call on rx crc error
2020-10-19 22:57:44 +02:00
Matthias Ringwald
b22bcb2c4d stm32-sx1280: extract SX1280HalSpiTxThenRx 2020-10-04 20:02:43 +02:00
Matthias Ringwald
0f3448bc23 stm32-sx1280: reject too long packets, reset tx buffers on terminate 2020-10-04 17:06:20 +02:00
Matthias Ringwald
f8278fd5f2 stm32-sx1280: prepare tx buffers 2020-10-04 17:06:20 +02:00
Matthias Ringwald
f0a70bc3dd stm32-sx1280: use ticks for close connection event 2020-10-04 17:06:20 +02:00
Matthias Ringwald
f6933f5711 stm32-sx1280: fix check for latest tx packet 2020-10-04 17:06:20 +02:00
Matthias Ringwald
c3c2769224 stm32-sx1280: cache conn sync hop ticks 2020-10-04 17:06:20 +02:00
Matthias Ringwald
eed650bfeb stm32-sx1280: extract ctx_set_conn_interval 2020-10-04 17:06:20 +02:00
Matthias Ringwald
982f09b48e stm32-sx1280: store conn interval in 1250us for conn param update 2020-10-04 17:06:20 +02:00
Matthias Ringwald
4b3f0d98fb stm32-sx1280: fetch rx pdu if rx->tx aborted due to being close to sync hop 2020-10-04 17:06:20 +02:00
Matthias Ringwald
b84beb69db stm32-sx1280: always write max tx pdu len 2020-10-04 17:06:20 +02:00
Matthias Ringwald
ba57c415a5 stm32-sx1280: ignore empty packets 2020-10-04 17:06:20 +02:00
Matthias Ringwald
9c622d6f86 stm32-sx1280: read rx pdu after tx done 2020-10-04 17:06:20 +02:00
Matthias Ringwald
e19f86fa5c stm32-sx1280: extract radio_fetch_rx_pdu 2020-10-04 17:06:20 +02:00
Matthias Ringwald
6511f47bd4 stm32-sx1280: split code for reading received buffer depending on state 2020-10-04 17:06:20 +02:00
Matthias Ringwald
6c52fbaad6 stm32-sx1280: define support for custom SPI driver in hw.h 2020-10-04 17:06:20 +02:00
Matthias Ringwald
2acaaa65ac stm32-sx1280: add buffer write/read check on startup 2020-10-04 17:06:20 +02:00
Matthias Ringwald
351edbb3c4 stm32-sx1280: add fallback spi code, make cubemx defines usable 2020-10-04 16:55:49 +02:00
Matthias Ringwald
d6dc6c86c3 stm32-sx1280: move 'USE_BK_SPI' into port/hw.h for l451 2020-10-04 16:55:39 +02:00
Matthias Ringwald
cb5466b082 stm32-sx1280: move sx128x driver into chipset/sx128x 2020-10-04 16:55:17 +02:00
Matthias Ringwald
4a9a543dea stm32-sx1280: move controller files into chipset/sx128x and port 2020-10-04 16:55:07 +02:00