UHF
Well-known member
Hello, I'm working on a synth using a T3.6 and the audio board. It works great and sounds fantastic (I might show it off soon). I've added an SPI display (one of these) and I tried connecting it, sharing pins SCLK 14 and MOSI 7 with the audio board. It doesn't work, the display won't update, the SD card reader fails and there's a horrible noise from the headphone socket. If I change them to SCLK 20 and MOSI 21, everything works fine.
I would like to know why using the shared pins doesn't work in this case, thanks. The pins I'm using are shown below:
//Audio Board
#define SDCARD_CS_PIN 10
#define SDCARD_MOSI_PIN 7
#define SDCARD_SCK_PIN 14
//ST7735 SPI display
#define sclk 20 // SCLK can also use pin 14 - DOESN'T WORK
#define mosi 21 // MOSI can also use pin 7 - DOESN'T WORK
#define cs 2 // CS & DC can use pins 2, 6, 9, 10, 15, 20, 21, 22, 23
#define dc 6 // but certain pairs must NOT be used: 2+10, 6+9, 20+23, 21+22
#define rst 8 // RST can use any pin
Audio Board overlayed with Teensy 3.6
I would like to know why using the shared pins doesn't work in this case, thanks. The pins I'm using are shown below:
//Audio Board
#define SDCARD_CS_PIN 10
#define SDCARD_MOSI_PIN 7
#define SDCARD_SCK_PIN 14
//ST7735 SPI display
#define sclk 20 // SCLK can also use pin 14 - DOESN'T WORK
#define mosi 21 // MOSI can also use pin 7 - DOESN'T WORK
#define cs 2 // CS & DC can use pins 2, 6, 9, 10, 15, 20, 21, 22, 23
#define dc 6 // but certain pairs must NOT be used: 2+10, 6+9, 20+23, 21+22
#define rst 8 // RST can use any pin
Audio Board overlayed with Teensy 3.6