ThinkInk Tri-color 2.9" with Huzzah32 Feather - can't write

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
flax10
 
Posts: 3
Joined: Fri Nov 06, 2020 11:38 am

ThinkInk Tri-color 2.9" with Huzzah32 Feather - can't write

Post by flax10 »

I am using:
Adafruit 2.9" Tri-Color eInk / ePaper Display FeatherWing (Red Black White)
Adafruit HUZZAH32 – ESP32 Feather Board

and am trying to run the examples from the Adafruit_EPD library. EPDTest and ThinkInk_tricolor both seem to compile and run fine BUT NOTHING HAS EVER UPDATED THE SCREEN YET. I am pretty sure it is something in how I am mapping my pins:

Code: Select all

#define EPD_DC      33 // can be any pin, but required!
#define EPD_CS      15  // can be any pin, but required!
#define EPD_BUSY    -1  // can set to -1 to not use a pin (will wait a fixed delay)
#define SRAM_CS     32  // can set to -1 to not use a pin (uses a lot of RAM!)
#define EPD_RESET   -1  // can set to -1 and share with chip Reset (can't deep sleep)

// 2.9" Tricolor Featherwing or Breakout:
ThinkInk_290_Tricolor_Z10 display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
And here is the serial monitor output for ThinkInk_tricolor example which seems like all my other attempts to be "working" ... just still the same "ThinkInk Tri Color 2.9" EPD" on the screen that came out of the box.

Code: Select all

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
Adafruit EPD full update test in red/black/white
set pins
hard reset
busy
done!
	Command: 0x50
	Data: 0x17, 
	Command: 0x82
	Data: 
	Command: 0x2
Banner demo
  Powering Up
	Command: 0x1
	Data: 0x3, 0x0, 0x2B, 0x2B, 0x9, 
	Command: 0x6
	Data: 0x17, 0x17, 0x17, 
	Command: 0x4
	Data: 
Waiting...OK!
	Command: 0x0
	Data: 0xCF, 
	Command: 0x50
	Data: 0x37, 
	Command: 0x30
	Data: 0x29, 
	Command: 0x82
	Data: 0xA, 
Waiting...OK!
	Command: 0x61
	Data: 0x80, 0x1, 0x28, 
  Set RAM address
	Command: 0x10
	Command: 0x13
  Update
	Command: 0x12
Waiting...OK!
Color rectangle demo
  Powering Up
	Command: 0x1
	Data: 0x3, 0x0, 0x2B, 0x2B, 0x9, 
	Command: 0x6
	Data: 0x17, 0x17, 0x17, 
	Command: 0x4
	Data: 
Waiting...OK!
	Command: 0x0
	Data: 0xCF, 
	Command: 0x50
	Data: 0x37, 
	Command: 0x30
	Data: 0x29, 
	Command: 0x82
	Data: 0xA, 
Waiting...OK!
	Command: 0x61
	Data: 0x80, 0x1, 0x28, 
  Set RAM address
	Command: 0x10
	Command: 0x13
  Update
	Command: 0x12
Waiting...OK!
Text demo
  Powering Up
	Command: 0x1
	Data: 0x3, 0x0, 0x2B, 0x2B, 0x9, 
	Command: 0x6
	Data: 0x17, 0x17, 0x17, 
	Command: 0x4
	Data: 
Waiting...OK!
	Command: 0x0
	Data: 0xCF, 
	Command: 0x50
	Data: 0x37, 
	Command: 0x30
	Data: 0x29, 
	Command: 0x82
	Data: 0xA, 
Waiting...OK!
	Command: 0x61
	Data: 0x80, 0x1, 0x28, 
  Set RAM address
	Command: 0x10
	Command: 0x13
  Update
	Command: 0x12
Waiting...OK!

Thanks in advance for any help for a newbie.

User avatar
flax10
 
Posts: 3
Joined: Fri Nov 06, 2020 11:38 am

Re: ThinkInk Tri-color 2.9" with Huzzah32 Feather - can't wr

Post by flax10 »

Here are pictures of my EPD and board just in case that helps. Has anyone else got the huzzah32 to drive any of the EPD featherweights? I am pretty sure there is something with the pin mapping I have wrong but I can't find other examples or see anywhere online where others have it working. Thanks for any help!

ImageImage

User avatar
flax10
 
Posts: 3
Joined: Fri Nov 06, 2020 11:38 am

Re: ThinkInk Tri-color 2.9" with Huzzah32 Feather - can't wr

Post by flax10 »

Trying to use SPI with extra pins mapped such as below ... not working but feel like it is something in this area...

Code: Select all

#define EPD_DC      33 // can be any pin, but required!
#define EPD_CS      15  // can be any pin, but required!
#define EPD_BUSY    -1  // can set to -1 to not use a pin (will wait a fixed delay)
#define SRAM_CS     32  // can set to -1 to not use a pin (uses a lot of RAM!)
#define SDCARD_CS   14
#define EPD_RESET   -1  // can set to -1 and share with chip Reset (can't deep sleep)

#define SPI_SCK   5      /* hardware SPI SCK pin      */
#define SPI_MOSI  18      /* hardware SPI SID/MOSI pin   */
#define SPI_MISO  19       /* hardware SPI MISO pin   */

/* Uncomment the following line if you are using 1.54" tricolor EPD */
//Adafruit_IL0373 display(152, 152, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);

/* Uncomment the following line if you are using 1.54" monochrome EPD */
//Adafruit_SSD1608 display(200, 200, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);

/* Uncomment the following line if you are using 2.13" tricolor EPD */
//Adafruit_IL0373 display(212, 104, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
//#define FLEXIBLE_213

/* Uncomment the following line if you are using 2.13" monochrome 250*122 EPD */
//Adafruit_SSD1675 display(250, 122, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);

/* Uncomment the following line if you are using 2.7" tricolor or grayscale EPD */
//Adafruit_IL91874 display(264, 176, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS);

/* Uncomment the following line if you are using 2.9" EPD */
Adafruit_IL0373 display(296, 128, SPI_MOSI, SPI_SCK, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, SPI_MISO, EPD_BUSY);
It is just core dumping...

Code: Select all

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
Adafruit EPD test
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x400d1d77  PS      : 0x00060f30  A0      : 0x800d1664  A1      : 0x3ffb1ee0  
A2      : 0x00000000  A3      : 0x3ff4901c  A4      : 0x00400000  A5      : 0x00000000  
A6      : 0xffffffff  A7      : 0x00000000  A8      : 0x800d3888  A9      : 0x3ffb1ea0  
A10     : 0x00000001  A11     : 0x00000000  A12     : 0x3ffb8214  A13     : 0x00000000  
A14     : 0x00000000  A15     : 0x00000000  SAR     : 0x00000020  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000018  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff  

Backtrace: 0x400d1d77:0x3ffb1ee0 0x400d1661:0x3ffb1f00 0x400d16a1:0x3ffb1f20 0x400d123e:0x3ffb1f40 0x400d1b65:0x3ffb1f60 0x400d0d6f:0x3ffb1f80 0x400d448b:0x3ffb1fb0 0x4008822d:0x3ffb1fd0


User avatar
newby_is_my_name
 
Posts: 13
Joined: Wed Nov 04, 2020 12:13 am

Re: ThinkInk Tri-color 2.9" with Huzzah32 Feather - can't wr

Post by newby_is_my_name »

I'm having same issue with a Adafruit 2.13" Tri-Color eInk / ePaper Display FeatherWing (Red Black White) (and the same Huzzah ESP32 Feather). Once code gets to
display.begin(THINKINK_TRICOLOR);
in the setup function, operation stops.

User avatar
daaron
 
Posts: 5
Joined: Tue Jul 23, 2019 1:04 am

Re: ThinkInk Tri-color 2.9" with Huzzah32 Feather - can't wr

Post by daaron »

I'm having exactly the same issue with exactly the same display. Did anyone come up with a solution?

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”