Skip to content

Using 2 SPI ports on ESP32 ? #1219

@SrikanthBala

Description

@SrikanthBala

Hardware:

Board: ESP32 Dev Kit
Core Installation/update date: Feb 2018
IDE name: Arduino IDE
Flash Frequency: 40Mhz
Upload Speed: 115200?

Description:

I am using a SD card to store values from a RFID reader RC522.
Both use the SPI bus, and are known to have compatibility issues. I have connected them together using a different CS only and all other pins being same and when I remove power of SD card module, RC522 works well and when I remove MOSI of RC522 SD card works. (Arduino forum has said somewhere the issue is with the old SD card modules)

So i wanted to use the second SPI. I saw this issue #790 but am still not sure how to use it. Could anyone help me ?
What pins do I use for HSPI ? or are they reconfigureable. A simple general example would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions