Hello,
I have an Inkplate 4TEMPERA where the touchscreen does not work at all. On every official example that uses the touchscreen (e.g. Inkplate4TEMPERA_Touch_In_Area, Inkplate4TEMPERA_Calculator), display.touchscreen.init(true)fails and the Serial Monitor prints"Touchscreen init fail"` (115200 baud).
Environment:
- Inkplate 4TEMPERA
- Board selected: “Soldered Inkplate 4 TEMPERA” in Arduino IDE
- Inkplate Arduino library: 11.2.0
- Inkplate board definitions: 4.0.0
- Arduino IDE 2.3.10, USB-C connection
I have run the I2C bus scan before and after touchscreen.init() and the scan results are identical before and after init:
I2C scan results (identical before and after init):
- 0x20, 0x21 (MCP23017 expanders)
- 0x39 (APDS-9960)
- 0x51 (PCF85063 RTC)
- 0x6B (accelerometer/fuel gauge)
- 0x76 (BME688)
- 0x15 (touch controller) - NOT FOUND
Code used to scan I2C:
#ifndef ARDUINO_INKPLATE4TEMPERA
#error "Wrong board selection for this example, please select Inkplate 4 TEMPERA in the boards menu."
#endif
// Include Inkplate library
#include "Inkplate.h"
Inkplate display(INKPLATE_1BIT);
void scanI2C(const char *when)
{
Serial.printf("I2C scan (%s):\n", when);
for (uint8_t a = 1; a < 127; a++)
{
Wire.beginTransmission(a);
if (Wire.endTransmission() == 0)
Serial.printf(" device found at 0x%02X\n", a);
}
}
void setup()
{
Serial.begin(115200);
delay(1000);
display.begin();
delay(1000);
scanI2C("before touch init");
bool ok = display.touchscreen.init(true); // powers + resets the touch IC
Serial.printf("touch init: %s\n", ok ? "OK" : "FAIL");
scanI2C("after touch init");
}
void loop() {}
Serial output:
13:01:47.644 -> x�x�x�x��xxxx�x����x������x�x�I2C scan (before touch init):
13:01:49.044 -> device found at 0x20
13:01:49.044 -> device found at 0x21
13:01:49.044 -> device found at 0x39
13:01:49.044 -> device found at 0x51
13:01:49.077 -> device found at 0x6B
13:01:49.077 -> device found at 0x76
13:01:49.208 -> touch init: FAIL
13:01:49.208 -> I2C scan (after touch init):
13:01:49.208 -> device found at 0x20
13:01:49.208 -> device found at 0x21
13:01:49.208 -> device found at 0x39
13:01:49.208 -> device found at 0x51
13:01:49.208 -> device found at 0x6B
13:01:49.208 -> device found at 0x76
Everything else on the board seems to work: the display, expanders, sensors and RTC all respond.
The symptoms match this closed issue exactly: Inkplate 4 tempera struggles to init touchscreen · Issue #272 · SolderedElectronics/Inkplate-Arduino-library · GitHub (“the i2c device on 0x15 doesn’t show up when the touchscreen fails”)
Is there anything else I can try in software, or does this point to a hardware fault (touch flex cable / power enable path / dead touch IC)?
Thank you!