SPI support of firstbit #11485
Replies: 6 comments 2 replies
-
Pin definitions seem to have shifted a bit on the Pico under 1.20 I do seem to remember using mcauser's MicroPython TM1638 LED Driver (via Awesome MicroPython)with a Pico, though. |
Beta Was this translation helpful? Give feedback.
-
@scruss Hardly. The pins stay the same, only the default pin assignments for SPI, I2C or UART may have changed. @robhamerling |
Beta Was this translation helpful? Give feedback.
-
@roberthh: Thanks for the suggestion for using a DIY bit-reversion. The code for the reversion won't be a problem, I found several examples. Adapting the driver without disrupting the existing working for systems wih supported SPI.LSB may need some ingenuity (and time...). |
Beta Was this translation helpful? Give feedback.
-
See #11404 |
Beta Was this translation helpful? Give feedback.
-
FYI:
|
Beta Was this translation helpful? Give feedback.
-
Just today I made a PR to support LSB for SoftSPI. I did not look into the RP2040 port, whether the hardware driver supports LSB. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to run a program for TM1638 on a RP2040 Pico. The program uses SPI and works fine on PyBoard and ESP32, but the RP2 Pico Micropython firmware (1.20.0-68) seems to lack support for 'firstbit', which is required for the TM1638. Nevertheless SPI.MSB and SPI.LSB are defined (for what purpose?).
Must I conclude that use of SPI is a 'mission imposible' situation (temporary or permanently)?
This REPL session shows the error message:
Beta Was this translation helpful? Give feedback.
All reactions