-
Notifications
You must be signed in to change notification settings - Fork 967
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
missing defines default SPI pins for sparkfun boards #328
Comments
ping @kirk-sfe @nseidle
ping @ZodiusInfuser @Gadgetoid |
That section of the store page is mentioning the capabilities of the RP2040, rather than the PicoSystem's IO, so the already provided pinout is accurate.
Yes, we don't specify a default as it is up to the user which they use. You make a good point about SPI0 only being accessible though so perhaps your suggestion would be a good addition.
Some GPIO is exposed on Keybow 2040, but not much as most is reserved for internal functions. You can see the exposed pins in this Tom's hardware picture: https://cdn.mos.cms.futurecdn.net/PiaJPCoQYqLh3pGfShNqSA-970-80.jpg.webp |
@lurch I notice things have been updated since I added the previous Pim board definitions, so let me know if there's anything I should update, either define wise, or styling wise. Also, am I correct in remembering that the system will default to defines from pico.h if we do not provide them? I'm in the process of creating a PR for a new board 😉 |
In my experience, the system only defaults to pico.h if |
@ZodiusInfuser I found the changes to default SPI pins on the picosystem most teasing 😮 . Concerning the tiny2040
I'm ok with keeping this open-ended (not defining the default SPI pins) as long as the board's silkscreen doesn't hint the user to choose a specific option. Though, the |
That wasn't the tease I was referring to 😉
Yea, I thought about this after I posted and decided having some defaults would be useful, so have set some up for both I2C and SPI in the previous pull request. |
I'm guessing from the file names, you folks got QSPI working for various sized FLASH storage 🚀 I remember Lady Ada saying that she quickly moved past this issue when a 8MB flash chip seemed to work better than her usual choice of 2MB chips. |
There was some work done by @kilograham in |
Just added the the SPI definitions for the SparkFun boards. PR: #344 |
@kirk-sfe I noticed the board headers for the ThingPlus, MicroMod, & ProMicro don't have an identifying macro like // For board detection
#define SPARKFUN_THINGPLUS All the other board headers have a macro to identify the board specified by I'm mostly concerned about the ThingPlus because it has a rather unique wiring schematic compared to other SparkFun boards. |
I noticed that the header files for the sparkfun boards are missing some
#define
s for the default SPI pins. However, these boards have specifically broken out SPI pins to the boards' pins (labeled as SPI pins on the board).Here's a list of default SPI pins that my research has turned up (with links to schematics):
Sparkfun Thing Plus
Sparkfun Pro Micro & Sparkfun MicroMod
I also looked into the pimoroni boards, but there's discrepencies:
(though it does boast that SPI is exposed)spi0
). So, the pimoroni_tiny2040.h could benefit fromThe text was updated successfully, but these errors were encountered: