diff options
author | Damien George <damien.p.george@gmail.com> | 2018-06-18 17:36:52 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-06-18 17:41:14 +1000 |
commit | e49cd106b4bbbb47b782f73b66000df6094f7afe (patch) | |
tree | 5f96ca117f958b7393982cdc9c1676e598587033 /py/modsys.c | |
parent | 338af99a7f3b8f2231be7475500a2bbf6a2bd723 (diff) |
stm32/spi: Fix SPI driver so it can send/recv more than 65535 bytes.
The DMA peripheral is limited to transferring 65535 elements at a time so
in order to send more than that the SPI driver must split the transfers up.
The user must be aware of this limit if they are relying on precise timing
of the entire SPI transfer, because there might be a small delay between
the split transfers.
Fixes issue #3851, and thanks to @kwagyeman for the original fix.
Diffstat (limited to 'py/modsys.c')
0 files changed, 0 insertions, 0 deletions