diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-12-23 15:53:59 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-23 15:53:59 +0000 |
| commit | 40ef66cdfb03ceef9671bd95c7dbe46a5155df73 (patch) | |
| tree | ed1b8999e0760b2e526c8635e9919b4de8985fd1 /embassy-sync | |
| parent | 1bd6c954c23b16041b382243a844a53727f6cc9c (diff) | |
| parent | 47a0769fc287afa8c982514ea34de0d4f18a3f99 (diff) | |
Merge #1124
1124: Fix two SPI bugs for stm32 r=Dirbaio a=rmja
This PR fixes two bugs:
* It fixes #1095 by ensuring that pin speed is VeryHigh for all spi versions. I am on stm32f429 which seems to be spi_v1, and it also needs the VeryHigh pin speed. Otherwise bit errors on the "last bit in every byte" can happen.
* It also fixes a lifetime bug for the tx buffer when sending "write_repeated". The issue can be seen when doing spi.write where the clock byte changes during a transmission because the buffer handled to the dma must live throughout the entire transfer.
Co-authored-by: Rasmus Melchior Jacobsen <[email protected]>
Diffstat (limited to 'embassy-sync')
0 files changed, 0 insertions, 0 deletions
