Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-S2 SPI speed varies during development #3690

Open
emard opened this issue Nov 13, 2020 · 2 comments
Open

ESP32-S2 SPI speed varies during development #3690

emard opened this issue Nov 13, 2020 · 2 comments
Labels
espressif applies to multiple Espressif chips performance
Milestone

Comments

@emard
Copy link

emard commented Nov 13, 2020

Fast performer is this:

adafruit-circuitpython-espressif_saola_1_wrover-en_US-20201027-563a893.bin
>>> import ecp5f;ecp5f.flash("sdbridge25f.bit",0x200000)
102400 bytes uploaded in 1701 ms (60 kB/s)
4K blocks: 25 total, 0 erased, 0 written.
True
>>> import ecp5f;ecp5f.flash("sdbridge25f.bit",0x201000)
102400 bytes uploaded in 8098 ms (12 kB/s)
4K blocks: 25 total, 24 erased, 24 written.
True

This one is 2-3x slower:
adafruit-circuitpython-espressif_saola_1_wrover-en_US-20201113-8d3a878.bin

@tannewt
Copy link
Member

tannewt commented Nov 13, 2020

Can you please be more specific? Were these examples run one after another? Please provide a test case that uses busio.SPI directly.

Running a python library will have a lot of variation in timing. We make no promises that the timing of python is consistent.

@tannewt tannewt added this to the Long term milestone Nov 13, 2020
@tannewt tannewt added espressif applies to multiple Espressif chips performance labels Nov 13, 2020
@emard
Copy link
Author

emard commented Nov 13, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
espressif applies to multiple Espressif chips performance
Projects
None yet
Development

No branches or pull requests

2 participants