Multiple SPI Devices (and libraries)

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
phando
 
Posts: 38
Joined: Wed Apr 11, 2018 1:01 am

Multiple SPI Devices (and libraries)

Post by phando »

This is my 1st go with the RF95W Radio. I have done many LoRa Projects with integrated radios, but this is the first time I have used an external radio. Due to some project constraints, I have set up alternate SPI pins on my ESP32-S3.

In addition to the RF95W, I am running the 1.8" LCD Module. That module is using TFT_eSPI.h, and the radio is using RH_RF69.h. Between the two libraries it seems SPI is getting initialized multiple times with differing pins.

EDIT:
I got the radio working, I was using the documentation linked from my device and didn't notice the examples were using the RF69 files.

Now it is time to add the other library back in...

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”