Pervasive EPD Embedded Artists Problem

Hi dear all,

Briefly:

I have an Pervasive EPD board by Embedded Artists. I double checked the wirings but not working. I tried many things but no hope.

Power led on the EPD board goes on and off constantly every time serial prints anything.
There is a PWM pin told that is not used with COGv2 and I tried to configure it manually but maybe I could not configure it properly.

I am getting this output from serial:

Demo G2 version: 1
Display: EPD_2_7

FLASH chip detected OK
Temperature = 27 Celcius
EPD error = 1
Temperature = 27 Celcius
EPD error = 1
Temperature = 27 Celcius
EPD error = 1 :
:

What does "EPD error = 1" mean?

Details:
I obtained an EmbeddedArtist development board for Arduino Uno from digikey -> EA-LCD-009.

At the page of Emb-Artists there are 2 types of boards emphasized. Here is the product page where you can scroll down and see Arduino line and there you can see the example codes. My board version is "EM027BS013 display" and you can see it in the photo attached. Even though I tried both configurations on that page, I could not manage to have any result. Instructions that I followed here.

My product photo is in the attachment.
Thanks in advance.

OK. It seems like some kind of wiring issue. "EPD error = 1" is result of this wiring problem most of the time.

I had the same problem even though I checked my wiring 2 times. As a third try, I used the ICSP Pins instead of the Digital Pins (1-13) on the side of Arduino UNO. The mapping is described here. It solved the problem for me, the display is now working fine. Maybe this helps....

I had to change the SPI speed to make work (EA max is 20Mhz)

static void SPI_on() {
SPI.end();
SPI.begin();
SPI.setBitOrder(MSBFIRST);
SPI.setDataMode(SPI_MODE0);
SPI.setClockDivider(SPI_CLOCK_DIV16); <-- DEPENDS ON YOUR SYSTEM CLOCK SPEED
SPI_put(0x00);
SPI_put(0x00);
Delay_us(10);
}