0

QT Pi RP2040 SPI ?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

QT Pi RP2040 SPI ?

by James_Purcell on Fri May 14, 2021 7:38 am

Please excuse this perhaps stupid question but my brain is filing to see the answer.

I have a Raspberry Pico running circuit python and Todbots GC9A01 python code on pins 10-15.
I would like to replace the Pico with the QT PI RP2040 due to its physically small size (I don't have the courage to spin up a whole new board). Can I still run an SPI (3v3) display on the QY PI RP2040 by just changing the defined pins in Circuit python?

James_Purcell
 
Posts: 42
Joined: Sun Oct 12, 2014 10:58 am

Re: QT Pi RP2040 SPI ?

by blnkjns on Fri May 14, 2021 7:47 am

From the docs:
Code: Select all | TOGGLE FULL SIZE
SPI and UART peripherals, in standard QT Py locations,
https://www.adafruit.com/product/4900
Image
Use one of A0-A3 as CS pin

blnkjns
 
Posts: 663
Joined: Fri Oct 02, 2020 3:33 am

Re: QT Pi RP2040 SPI ?

by James_Purcell on Sun May 16, 2021 4:40 am

Thank you for taking the time to clear up my confusion.

James_Purcell
 
Posts: 42
Joined: Sun Oct 12, 2014 10:58 am

Re: QT Pi RP2040 SPI ?

by adafruit_support_carter on Tue May 18, 2021 2:50 pm

Yep, should just work with a pin renaming in the original code to match your QT Py connections.

adafruit_support_carter
 
Posts: 20602
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.