I'm trying to use an sd card module with the TTGO T-call SIM800L.
I can't use the SPI pins because I need to use also the SIM800L module.
The SIM800L uses the standard pins 23 (MOSI) to PWR
I have the TTGO TACALL module version 1.4 and it would only generate conflict with pin 23.
In version 1.3 it would conflict with pin 5. RST to SIM800L and VPPI_SS (CP)
in this thread they give a solution but for Arduino IDE
this is the code that they implement
¿How remap the SD card pins on B4R?
THANKS FOR YOUR HELP!
I can't use the SPI pins because I need to use also the SIM800L module.
The SIM800L uses the standard pins 23 (MOSI) to PWR
I have the TTGO TACALL module version 1.4 and it would only generate conflict with pin 23.
In version 1.3 it would conflict with pin 5. RST to SIM800L and VPPI_SS (CP)
https://user-images.githubusercontent.com/53688337/85398433-d9036900-b572-11ea-99ec-04e912b5fd72.JPG
in this thread they give a solution but for Arduino IDE
SD card problem · Issue #17 · Xinyuan-LilyGO/LilyGo-T-Call-SIM800
I'm trying to use an sd card module with the TTGO T-call. I can't use the SPI pins because I need to use also the SIM800L module. The SIM800L uses the standard pins 23 (MOSI) and 5 (CS). I tried to...
github.com
this is the code that they implement
Remap Pins Sdcard:
#include "FS.h"
#include "SD.h"
#include <SPI.h>
SPIClass sdSPI(HSPI);
//---------------------SD i used this pins
#define SD_CS 5
#define SD_SCLK 14
#define SD_MISO 12
#define SD_MOSI 13
void setup() {
Serial.println("Initializing SD card...");
sdSPI.begin(SD_SCLK, SD_MISO, SD_MOSI, SD_CS);
if (!SD.begin(SD_CS, sdSPI)) {
Serial.println("Card Mount Failed");
}else{
Serial.println("DEU CERTO INICIAR SD CARD");
}
}
¿How remap the SD card pins on B4R?
THANKS FOR YOUR HELP!