Note that the ST7302 is apparently EOL, making those displays probably just "stock while it lasts". Too bad.
https://www.palmtech.com.tw/news/news/sitronix-products-end-of-life-notificationEDIT:
There appears to be newer variants of those LCD panels with a ST7306 controller (which is newer and active in Sitronix catalog). The datasheet is also easier to find.
You can find these here, for instance:
https://displaysino.com/product_details/2.13-inch-smart-switch-TFT-Display-122x250-ST7306-LCD-TFT-Reflective-Display.htmlOtherwise, I've done some more extensive testing, so here are a few additional notes:
- The hardware reset time looks oddly "temperamental". The datasheet is not crystal clear about it, it gives two delays basically (1 ms max, or 120 ms if the display was in sleep mode when you hardware-reset it, if I understand correctly, go figure). Either way, when you just hw-reset it but don't power cycle it, the startup time after reset looks unpredictable, and sometimes just 1 ms will work, but other times, it requires up to at least 200 ms before sending any command, otherwise it doesn't operate properly. So my guess is that it may all depend on what state the controller was in exactly when resetting it, but it's like a black box. And, they recommend always hw-resetting it after power-on to make sure it's properly initialized, so that basically means that if you want something reliable, there is this 200 ms delay. Not a huge deal, but something to know.
- The various controller parameters (like gate driver settings, voltages, etc) needed for this panel are undocumented. One can find init sequences that "work" in a few drivers one can find online, but these parameters actually only work in low-power mode (which has limited frame rates, up to 8 Hz). For the high-power mode (16 & 32 Hz), these parameters are not adapted at all and the display flickers like crazy - completely unusable. Whether one can find parameters that will work for the higher refresh rates, I'm going to try and see. I've already tried some change to no avail. It may be possible that this panel can't even support these higher frame rates at all.
Some links of drivers if you want to get init. sequences that will at least get you started:
https://github.com/zhcong/ST7302-for-arduinohttps://github.com/elulis/micropython_ST7302