aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/St7789.cpp
Commit message (Collapse)AuthorAgeFilesLines
* aod: porch control: 2Hz idle + 75Hz onmark90642024-08-051-11/+31
|
* aod: lower lcd voltagemark90642024-08-051-0/+7
|
* aod: lower voltage going to the displayJohn Crawford2024-08-051-0/+14
|
* aod: lower refresh rate when always onJohn Crawford2024-08-051-0/+39
|
* aod: switch to 8 colors when always onJohn Crawford2024-08-051-0/+18
|
* Batch display command argumentsmark90642024-06-191-31/+27
|
* Include task header (Fixes sim)mark90642024-05-011-0/+1
|
* Move includes backmark90642024-05-011-0/+3
|
* Apply display driver datasheet delaysmark90642024-05-011-9/+38
|
* Use FreeRTOS delay instead of spinning the CPUmark90642024-05-011-7/+6
|
* Rename to pre-transaction hookmark90642024-05-011-2/+2
|
* Avoid storing lambdamark90642024-05-011-10/+6
|
* Refactor lambdasmark90642024-05-011-18/+16
|
* Use functional abstraction for hooksmark90642024-05-011-17/+22
|
* Refactor display WriteToRammark90642024-05-011-4/+3
|
* SPI transaction hooksmark90642024-05-011-16/+26
|
* Remove GFX (and unused GFX dependencies)mark90642024-02-111-21/+0
|
* ST7789 : do not reconfigure the reset pin to default during sleep.Jean-François Milants2023-06-041-1/+0
|
* Power optimization - Improve SPI sleep modeJean-François Milants2023-06-041-1/+1
| | | | Fix formatting issue in St7789.cpp
* Power optimization - Improve SPI sleep modeJean-François Milants2023-06-041-6/+6
| | | | ST7789 driver : replace the constant '26' with a named constant to specify the pin number of the reset pin of the LCD controller.
* Power optimization - Improve SPI sleep modeJean-François Milants2023-06-041-3/+0
| | | | | Calls to Spi::Init() are not needed, pin initialization is already done in ctor(). Remove calls to Spi::Sleep()/Spi::Wakeup() to ensure that SPI CS pins are kept high even in sleep mode.
* Power optimization - Improve SPI sleep modeJean-François Milants2023-06-041-0/+3
| | | | | | Ensure that all pins are set to their default configuration during sleep mode. Disable the workaround for FTPAN58 (SPI freezes when transfering a single byte) at the end of the transfer. This disables the resources needed for the workaround. Those changes reduce the power usage by 430-490µA.
* Add P8B mirrored version definition.izzeho2022-08-151-0/+14
|
* Fix large blacklevel step. Lower 25% of shades are now accessible.Riku Isokoski2022-04-291-4/+6
| | | | | | | | | There is a large step in brightness from level zero to level one. After experimenting with various ST7789 options, I found that decreasing VDV to 0x10 (-0.4V) fixes this issue. The gamma change reduced the average error in brightness, but with the underlying issue fixed, the gamma change has been reverted.
* Tweak gamma on ST7789 and match UI colorsRiku Isokoski2022-04-251-0/+6
| | | | | This change will increase the color accuracy of the PineTime and make UI development with the simulator easier.
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-2/+2
| | | | | | | Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
* Remove commented commands completelyhubmartin2021-08-231-9/+0
|
* Remove LCD reset and more cmds, save over 200mshubmartin2021-08-151-8/+8
|
* Removed an illogical comparison from SystemInfo and St7789 driver (#449)Avamander2021-06-221-1/+2
| | | * Removed an illogical comparison
* Reformatted all the files according to clang-format styleAvamander2021-04-241-12/+8
|
* FIX screen corruption #213Joaquim2021-03-181-9/+2
|
* Include cleanup: driversokaestne2020-11-151-1/+1
|
* Re-implement sleep/wakeup for touch panel, display, NOR Flash, SPI and TWI.JF2020-08-221-3/+3
|
* Add SPI NOR Flash driver, WIP.JF2020-05-071-4/+5
|
* Backup and restore vertical scroll offset when goind to sleep/wakeup to ↵JF2020-03-111-0/+2
| | | | avoid scrambled display on wake-up.
* When a full screen refresh is done, apply a vertical scroll during the ↵JF2020-03-081-4/+4
| | | | refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
* Add support for hardware assisted vertical scrolling.JF2020-02-151-0/+17
|
* Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF2020-01-261-10/+4
| | | | be improved by using 'Started' IRQ to prepare the next buffer while the current one is beeing sent.
* [WIP] Max SPI speed reached (119ms for a full refresh. Theo max : 240*240*16 ↵JF2020-01-221-4/+5
| | | | | | = 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
* Implement the SPI driver using DMA.JF2020-01-191-16/+2
|
* Apply Hardware reset on display during wake-up, as softreset might not be ↵JF2020-01-181-0/+1
| | | | enough to wake the display up.
* Disable SPI, I²C, touch controller and display controller in sleep mode.JF2020-01-171-3/+26
| | | | | | | | Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
* Apply reset signal on pin P0.26 for LCD during init.JF2020-01-021-0/+10
|
* The font is now fixed width.JF2019-12-071-10/+22
| | | | HUGE performance improvement of the display driver.
* Convert Spi and GFX to C++.JF2019-12-071-0/+149