RP2040 Breakout Board #7
Replies: 7 comments 75 replies
-
IMO, directly connected to Pico:
I think SD card is possible if the SPI CSs are on IO expander and ORed to pin 17 of the Pico to start SPI comm when CS is asserted. Of course in that case the CS pin need to be set has input not actual SPI CS output. The idea is that I2C assert the CS pin needed on the IO expander and when the IO expander actually assert the CS pin, that create a IRQ on the pico that can then start the SPI comm after a slight delay. then when SPI comm is done the I2C deassert the CS. On IO Expander :
|
Beta Was this translation helpful? Give feedback.
-
A bit dangerous to do this if code is added later that needs the register for its intended use?
My datasheet (Nexperia) has fmax (min) at 130MHz with Vcc 4.5 - 5.5V and 170MHz typical @ 25C. Careful layout is needed to achieve this speed? |
Beta Was this translation helpful? Give feedback.
-
Interested in helping with this effort. I'm in the process of getting a 4x8' router retrofitted with g2core/due and closed loop steppers but interested to compare it with grblHAL on Teensy 4.1 (just ordered the BOB on Tindie today), and of course now I found this project using the Pico, of which i have a few sitting around. I'll be watching to see how this project progresses, let me know if you need beta testers or something. |
Beta Was this translation helpful? Give feedback.
-
Where is the RP2040 development activity going on? Neither the grblHAL nor Core repositories have been updated in the last 3 weeks. Should I assume that core/RP2040 is the correct place? I sent the T41 Pro BOB off for a test manufacturing run and have some time to work on the PicoBOB. Trying to figure out the best pin assignment. I will put 3 '595s on the board. Stay tuned, film at 11. |
Beta Was this translation helpful? Give feedback.
-
WiFi network/WebUI support has now been added for Pi Pico W. Currently only station mode (STA) is working, access point (AP) mode is not yet ready. The good thing is that no pins is lost to the radio interface! |
Beta Was this translation helpful? Give feedback.
-
Is there any activity in this item? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your advices. My english is not as good as I would wish. |
Beta Was this translation helpful? Give feedback.
-
Starting Pico breakout discussion here, as requested. The goal is a breakout board that can be manufactured with all the surface mount components. Final assembly with through-hole components is up to the end user. This is what I mean by unkit. I will give free ones to those participating in the development of the RP2040 port. I will sell any left overs on Tindie.
Suggested Specs: (please suggest any additions)
Not on board: (but again, open to discussion)
I/O Expander choice. First question is 8 vs 16. A number of people like the idea of 16 for flexibility. See below for discussion of pin count - 16 may be necessary. I have been prototyping with the PCA9555 (16 GPIO expander) and it works fairly well. Access times are not bad but also not trivial. I have not characterized the performance in grblHAL but would be surprised if it is less than 120 uS. The special case of reading the first I/O bank (port 0) is often fast(er) (2 8-bit I2C messages) in most 16-bit expanders.
I know Terje likes the PCA9654E but that isn't available from my board vendor (JLCPCB). For 8 bit expanders - the NXP PCA9554 looks good. For 16 bit, I like the NXP PCA9535 (same pinout and command set as the PCA9555). I am currently leaning towards the 16 bit chip.
Stepsticks/SPI. If there are enough pins to allow SPI, I would like to create a header that would allow a separate Stepstick board to connect to the BOB. I am also looking into the use of a few extra I/O expander pins for configuration and error signals.
SD Card. Will there be a free CS pin for this? Has to be on the Pico, not the expander.
I/O pins needed
Steppers: 10 - 8 step/dir + 2 enables
Limits: 4
Controls: 5 (cs, fh, probe, door, reset)
Coolant: 2 (flood and mist)
Spindle: 3 (pwm, en, dir)
SPI: 5 to support both Stepsticks and SD card
UART: 2
I2C/Strobe: 3
Total: 34
So, I believe there are 22 pins available on the Pico (pin 23 is not usable?). That leaves 12 that need to be on the I/O expander. Can we find 12 pins that will work on the expander? SPI is the biggest issue here at 5 pins (4 if no SD card). I would love to support it - not sure it is possible.
I think that is enough for now. Would like to hear what people think.
Beta Was this translation helpful? Give feedback.
All reactions