Content-Length: 265730 | pFad | https://github.com/adafruit/Adafruit_ImageReader/pull/59

0D SPI clock comment for M0 by mikeysklar · Pull Request #59 · adafruit/Adafruit_ImageReader · GitHub
Skip to content

SPI clock comment for M0 #59

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

Closed
wants to merge 1 commit into from
Closed

Conversation

mikeysklar
Copy link
Contributor

This is only a comment addition to help troubleshooting. Modern chips are fine with 25 MHz SPI clock, but the older M0 needs 12 MHz or less with the FeatherWings TFTs microSD cards.

+---------------------+--------+--------+--------+
| Chip                | 25 MHz | 12 MHz | 8 MHz  |
+---------------------+--------+--------+--------+
| Feather M0 WINC1500 |    x   |    o   |    o   |
| Feather ESP32 V2    |    o   |    o   |    o   |
| Feather M0 Express  |    x   |    o   |    o   |
+---------------------+--------+--------+--------+

Changing the default example clock from 25 --> 12 helped resolve a forum issue with the Feather M0 <--> FeatherWing 3.5" HX8357.

Most of the breakouts use 10 MHz for wire length accomidation.

+-----------------------------------+---------------------+
|            Directory              | SPI Frequency (MHz) |
+-----------------------------------+---------------------+
| FeatherWingST7735                 | 25                  |
| FeatherWingILI9341                | 25                  |
| FeatherWingHX8357                 | 25                  |
| ShieldST7735                       | 25                  |
| ShieldILI9341                      | 25                  |
| PyPortal                          | 25                  |
| BreakoutST7735-160x80             | 10                  |
| BreakoutST7789-170x320            | 10                  |
| BreakoutST7735-128x128            | 10                  |
| BreakoutST7789-172x320            | 10                  |
| ThinkInkDisplays                  | 10                  |
| BreakoutSSD1351                   | 10                  |
| EInkFeatherWing                   | 10                  |
| BreakoutST7735-160x128            | 10                  |
| BreakoutST7789-240x135            | 10                  |
| EInkGray29BmpButtonDemo           | 10                  |
| BreakoutST7789-240x240            | 10                  |
| BreakoutST7789-320x240            | 10                  |
| BreakoutST7789-280x240            | 10                  |
| BreakoutSSD1331                   | 10                  |
| EInkBreakouts                     | 10                  |
+-----------------------------------+---------------------+

This is only a comment addition to help troubleshooting. Modern chips are fine with 25 MHz SPI clock, but the older M0 needs 12 MHz or less with the FeatherWings TFTs microSD cards.

```
+---------------------+--------+--------+--------+
| Chip                | 25 MHz | 12 MHz | 8 MHz  |
+---------------------+--------+--------+--------+
| Feather M0 WINC1500 |    x   |    o   |    o   |
| Feather ESP32 V2    |    o   |    o   |    o   |
| Feather M0 Express  |    x   |    o   |    o   |
+---------------------+--------+--------+--------+
```
@ladyada
Copy link
Member

ladyada commented Jun 26, 2025

@mikeysklar can we just change it to be 12MHz? thats plenty fast

@mikeysklar
Copy link
Contributor Author

There is a comment in the code that ESP32 requires 25 MHz SPI. I'll try a few boards just to confirm everything runs @ 12 MHz.

@mikeysklar
Copy link
Contributor Author

12 MHz SPI speed worked fine with the ESP32-V2 and M0-Basic. Closing this PR which was only a comment change and will submit a new one to include @BlitzCityDIY changes to example code today.

@mikeysklar mikeysklar closed this Jun 26, 2025
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.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/adafruit/Adafruit_ImageReader/pull/59

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy