Skip to content

Conversation

@aykevl
Copy link
Member

@aykevl aykevl commented Sep 16, 2019

The SPI peripheral in the nrf chips support double buffering, which makes it possible to keep sending continuously. This change introduces double buffering on the nrf chips, which should improve SPI performance.

Tested on the pca10040 (nrf52832).

I'm not very happy with the code duplication but I didn't see a clean way to do it otherwise (suggestions welcome).

@conejoninja you may be interested in this: it should improve the performance of the hub75 driver.

The SPI peripheral in the nrf chips support double buffering, which
makes it possible to keep sending continuously. This change introduces
double buffering on the nrf chips, which should improve SPI performance.

Tested on the pca10040 (nrf52832).
@aykevl aykevl force-pushed the nrf-improve-spi-speed branch 2 times, most recently from 919956c to 196a362 Compare September 17, 2019 15:16
@deadprogram
Copy link
Member

Thanks @aykevl now merging.

@deadprogram deadprogram merged commit d2856bd into dev Sep 17, 2019
@deadprogram deadprogram deleted the nrf-improve-spi-speed branch September 17, 2019 15:51
@aykevl aykevl mentioned this pull request May 20, 2020
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants