How to connect multiple SPI Devices using MicroPython? #13371
Unanswered
neliel123
asked this question in
Hardware & Peripherals
Replies: 1 comment 1 reply
-
You can connect them both at the same SPI bus with CLK, MOSI, MISO. Only the CS pins must be different. You use the same SPI object for both devices and use the CS pins to address them. If they run at different speeds, you can use spi.init(baudrate=xxx) to change the speed as requested. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
How do you connect two SPI devices in one microcontroller using MicroPython?
I could not find an example (or maybe I don't know the correct keyword).
I have a Raspberry Pi Pico W with a TFT Display and MFRC522 RFID reader. They both used SPI. How do you connect those two in my Pico and how can I program them using MicroPython?
Still learning about MicroPython
Beta Was this translation helpful? Give feedback.
All reactions