The example code is for PDi iTC EPD(1.54"/2.13"/2.66"/2.71"/2.87"/2.9"/3.7"/4.2"/4.37"/5.8"/7.4"/9.7"/12") on EXT2 board, it's verified by TI Launchpad MSP-EXP432P401R(red PCB), EK-TM4C123GXL for big size EPDs(5.65"/5.8"/7.4"/9.7"/12")
Launchpad Pin assignment for EXT2 Board
# define SCL_PIN 7 // EXT2 BOARD J5 pin 7
# define SDA_PIN 15 // EXT2 BOARD J5 pin 15
# define CS_PIN 19 // EXT2 BOARD J5 pin 19
# define DC_PIN 9 // EXT2 BOARD J5 pin 9
# define RESET_PIN 10 // EXT2 BOARD J5 pin 10
# define BUSY_PIN 8 // EXT2 BOARD J5 pin 8
# define PNLON_PIN 11 // EXT2 BOARD J5 pin 11
# define BS_PIN 17 //EXT2 BOARD J5 pin 17 for 4 wire SPI
# define CSS_PIN 2 // EXT2 BOARD J5 pin 2 Slave CSB only required of 9.7"/12" with one 24pin FPC operation
//# define CSS_PIN 13 // EXT2 BOARD J5 pin 13 Slave CSB only required of 9.7/12" with 34pin FFC bridge board(2FPC design) operation
//EXT2 BOARD J5 pin 20 connected to GND
//EXT2 BOARD J5 pin 1 connected to 3V3
EXT2 Board DIP Switch(J7) configuration
Driver type and EPD size
S1
S2
S3
S4
S5
S6
S7
S8
(eTC) 1.44/ 2.0
0
0
0
0
0
0
1
-
(eTC) 1.9/ 2.60/ 2.71
0
0
0
0
0
0
0
-
(iTC) 2.15
1
0
1
0
0
0
0
-
(iTC) 1.54/ 2.13/ 2.66/ 2.71/ 2.87/ 2.9/ 3.7/ 4.2/ 4.37/ 5.65/ 5.8/ 7.4/ 9.7/ 12.0
0
1
0
1
0
1
0
-