Waveshield 5.79 9-Pin to Giga R1 Pins?! Help a newbie!

Hi All,

First time poster here. I have scoured the internet and can find nothing regarding the exact pinout between these two. It is slowly driving me crazy. Here's the summary:

Display
Waveshare 5.79" ePaper with 9-Pin Module

Board
Giga R1 Wifi

Current Pinout

VCC → 3.3V
GND→ GND
DIN → D11 (MOSI)
CLK → D13 (SCK)
CS→ D10
DC→ D9
RST → D8
BUSY → D7
PWR→D6

I am using the Waveshare example code files for this exact display from their wiki, and defining the pins in the code as follows:

// Pin definition
#define RST_PIN         8
#define DC_PIN          9
#define CS_PIN          10
#define BUSY_PIN        7
#define PWR_PIN         6

I am getting absolutely nothing, almost like the display is dead but it is just out of the box. I have tried hard wiring the PWR pin to the 3.3V rail rather than D6, and have also tried running it all off 5V (this is compatible, with a built in switcher in the module).

With Multimeter I am getting the correct supply across VCC / GND and 3.6V across PWR / GND. So I know it is getting power.

If anyone could help I would HUGELY appreciate it. If I am posting in the wrong place, or missing a resource online that would help me I apologise in advance.

Thanks!

Ian

The most common issue here is that pins 11-13 are not on the Software object SPI, but are instead on SPI1.

There document about this is very confussing:

Arduino GIGA R1 User Manual | Arduino Documentation

And the sentence that says:
image
Is also not totally clear, but...

As far as I can tell, the demo software is hard coded to use SPI.
The quickest hack is to change all of the references to the SPI object
to SPI1. I think most if not all are in spdif.cpp

Or you could rewire to use the SPI pins.

Or hopefully there are better libraries out there, like maybe from places like Adafruit
that will work...