summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-10-31 22:34:30 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-10-31 22:34:30 +0100
commit8668036aeab09b580d19b1113c1ba5450637ccfc (patch)
tree074cc314b3b62651c3c7d18a46e54502447f9579 /src/driver
parentc89b2ffa89a4a22c9cddf5d38bc7ecf300197513 (diff)
pervasive auroa mb: document observed frame rates for flashless update
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/pervasive_aurora_mb.cc17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/driver/pervasive_aurora_mb.cc b/src/driver/pervasive_aurora_mb.cc
index 4de8482..6b09ad2 100644
--- a/src/driver/pervasive_aurora_mb.cc
+++ b/src/driver/pervasive_aurora_mb.cc
@@ -32,6 +32,7 @@ void PervasiveAuroraMb::powerOn()
gpio.write(PERVASIVE_AURORA_CS_PIN, 1);
}
+// see also: EPD Extension Board Gen2 (EXT2)_v1.35/EPD_drivers/src/FPL_drivers/iTC_420_Mb_LUT.c
void PervasiveAuroraMb::initialize(signed char temperature, bool flashless)
{
// "Input Temperature"
@@ -64,8 +65,20 @@ void PervasiveAuroraMb::initialize(signed char temperature, bool flashless)
spiWrite(0xe3, (const unsigned char[]){0x88}, 1);
if (flashless) {
- // PLL
- spiWrite(0x30, (const unsigned char[]){0x3d}, 1);
+ /*
+ * PLL / Frame Rate (normally depends on temperature)
+ * Approximate sendUpdate times depending on configuration:
+ * 0x16 ( <10 °c) → 2393 ms
+ * 0x2f (10 .. 22 °c) → 1140 ms
+ * 0x3f (22 .. 30 °c) → 828 ms
+ * 0x3d (30 .. 40 °c) → 605 ms
+ * 0x3c ( >40 °c) → 493 ms
+ * 0x3b ( unspecced ) → 381 ms
+ * 0x3a ( unspecced ) → 270 ms
+ * 0x39 ( unspecced ) → 158 ms
+ * 0x38 ( unspecced ) → 158 ms
+ */
+ spiWrite(0x30, (const unsigned char[]){0x16}, 1);
// VCom DC
spiWrite(0x82, (const unsigned char[]){0x0e}, 1);