|
|
@@ -76,21 +76,21 @@ static const u8x8_display_info_t u8x8_ist3020_erc19264_display_info =
|
|
|
/* chip_enable_level = */ 0,
|
|
|
/* chip_disable_level = */ 1,
|
|
|
|
|
|
- /* post_chip_enable_wait_ns = */ 150, /* */
|
|
|
- /* pre_chip_disable_wait_ns = */ 50, /* */
|
|
|
+ /* post_chip_enable_wait_ns = */ 150, /* IST3020 datasheet, page 56 */
|
|
|
+ /* pre_chip_disable_wait_ns = */ 150, /* IST3020 datasheet, page 56 */
|
|
|
/* reset_pulse_width_ms = */ 1,
|
|
|
/* post_reset_wait_ms = */ 1,
|
|
|
- /* sda_setup_time_ns = */ 50, /* */
|
|
|
- /* sck_pulse_width_ns = */ 120, /* */
|
|
|
+ /* sda_setup_time_ns = */ 100, /* IST3020 datasheet, page 56 */
|
|
|
+ /* sck_pulse_width_ns = */ 100, /* IST3020 datasheet, page 56 */
|
|
|
/* sck_clock_hz = */ 4000000UL, /* */
|
|
|
/* spi_mode = */ 0, /* active high, rising edge */
|
|
|
/* i2c_bus_clock_100kHz = */ 4,
|
|
|
- /* data_setup_time_ns = */ 40, /* */
|
|
|
- /* write_pulse_width_ns = */ 80, /* */
|
|
|
+ /* data_setup_time_ns = */ 40, /* IST3020 datasheet, page 54 */
|
|
|
+ /* write_pulse_width_ns = */ 60, /* IST3020 datasheet, page 54 */
|
|
|
/* tile_width = */ 24, /* width of 24*8=192 pixel */
|
|
|
/* tile_hight = */ 8,
|
|
|
/* default_x_offset = */ 0,
|
|
|
- /* flipmode_x_offset = */ 0,
|
|
|
+ /* flipmode_x_offset = */ 64,
|
|
|
/* pixel_width = */ 192,
|
|
|
/* pixel_height = */ 64
|
|
|
};
|
|
|
@@ -112,7 +112,7 @@ static const uint8_t u8x8_d_ist3020_erc19264_init_seq[] = {
|
|
|
//U8X8_C(0x0c8), /* common output mode */
|
|
|
|
|
|
U8X8_C(0x0a6), /* display normal, bit val 0: LCD pixel off. */
|
|
|
- U8X8_C(0x0a2), /* LCD bias 1/9 */
|
|
|
+ U8X8_C(0x0a3), /* FIX: LCD bias 1/7, old value was 1/9 (0x0a2) */
|
|
|
|
|
|
U8X8_C(0x028|4), /* all power control circuits on */
|
|
|
U8X8_DLY(50),
|