Commit Graph

26 Commits

Author SHA1 Message Date
Bodmer 3c6dab0a52 Add ability to set the RP2040 parallel interface speed
// For RP2040 processor and 8 or 16 bit parallel displays:
// The parallel interface write cycle period is derived from a division of the CPU clock
// speed so scales with the processor clock. This means that the divider ratio may need
// to be increased when overclocking. I may also need to be adjusted dependant on the
// display controller type (ILI94341, HX8357C etc). If RP2040_PIO_CLK_DIV is not defined
// the library will set default values which may not suit your display.
// The display controller data sheet will specify the minimum write cycle period. The
// controllers often work reliably for shorter periods, however if the period is too short
// the display may not initialise or graphics will become corrupted.
// PIO write cycle frequency = (CPU clock/(4 * RP2040_PIO_CLK_DIV))
//#define RP2040_PIO_CLK_DIV 1 // 32ns write cycle at 125MHz CPU clock
#define RP2040_PIO_CLK_DIV 2 // 64ns write cycle at 125MHz CPU clock
//#define RP2040_PIO_CLK_DIV 3 // 96ns write cycle at 125MHz CPU clock
2022-11-05 18:12:28 +00:00
Bodmer f94fb28737 Fix #1893
Problem has not been reproduced but names changes anyway.
2022-10-13 01:21:21 +01:00
Bodmer 7bf48bb179 Add 16 bit parallel for RP2040 processor
Correct legacy comments
Add ESP32 S3 parallel setup 70d
Add setups 105-107 for RP2040 with 16 bit display
Add file conversion notes to PNG array example
2022-05-16 19:58:05 +01:00
Bodmer 7fc8b99b64 Add new background fill approach to smooth fonts
A new background rendering approach is used for smooth fonts which almost eliminates flicker. tft.print... can now be used with a background rendered for smooth fonts. Font_Demo_1/2/3... examples have been updated.
A new "docs" folder has been created and files moved there. The Tools folder now only contains support tools.

#1757 fixed by using Arduino calls.

A new USER_SETUP_ID parameter can be added to setup files and checked via a new verifySetupID(id); function.

Version raised to v2.4.50
2022-04-18 19:15:40 +01:00
Bodmer e52a0161e6 Fix #1760, fix #1763, fix #1764 2022-04-10 01:24:10 +01:00
Bodmer 0c935de08d RP2040 18bit PIO SPI update
Update RP2040 18bit PIO SPI code for 18 bit SPI displays (tested on  ILI9488)
Add ILI9342_DRIVER option for default landscape display.
2022-03-22 23:29:30 +00:00
Bodmer 284893c374 Update RP2040 PIO and smooth graphics fns 2022-02-22 21:12:33 +00:00
Bodmer 2aa4df5133
Update TFT_eSPI_RP2040.h 2022-02-12 19:05:33 +00:00
Bodmer 78685d48b8
Update TFT_eSPI_RP2040.h 2022-02-09 14:02:41 +00:00
Bodmer 0dc68c45b8
Update TFT_eSPI_RP2040.h 2022-02-06 15:53:00 +01:00
Bodmer b6db90ada4 Add new anit-aliased graphics functions
Examples to follow.
2022-02-03 15:37:44 +00:00
Bodmer 230463317f Update TFT_eSPI_RP2040.h 2022-01-26 22:37:27 +00:00
Bodmer e61fb8c78d Fix #1547 for RP2040 processor with ST7789 TFT
Add Arduino Nano Connect setup example 62
2022-01-26 22:20:34 +00:00
Bodmer 8a2398451b RP2040: add SPI PIO interface option, enhance 8 bit parallel PIO
The RP2040 processors can now drive 8 bit parallel and SPI displays using the PIO hardware.

The PIO offloads the processor by providing:
1. PIO managed setWindow sequence
2. PIO managed block and screen fill
2022-01-02 01:08:22 +00:00
Bodmer eee56b2cec Add RP2040 8 bit parallel support with DMA
The RP2040 can now be used with 8 bit parallel TFT interface displays. DMA is also supported for both SPI and 8 bit parallel displays.
2021-12-18 17:06:16 +00:00
Bodmer 5959550dd7 Allow RP2040 SPI 0 or SPI 1 ports to be used
Auto set of CGRAM offset for 135 x 240 ST7789 display
2021-12-05 22:34:37 +00:00
Bodmer 0ad6de9161 Fix RP2040 with RPi type display
RPi display requires 16 bit commands and slower DC and CS strobe timings.
2021-11-05 00:09:42 +00:00
Bodmer 58f457ba97 Raise issue 2021-05-24 12:04:03 +01:00
Bodmer c7a3f464c3
Fix #1204
This include can now be used with either the latest versions of Arduino official or Earle Philhower's board package.
2021-05-24 11:58:31 +01:00
Bodmer 5a6ef1d05d Fix #1188
Support debugged for ILI9488 TFT with RP2040 processors.
Minor improvements to ESP32 code.
2021-05-15 19:45:33 +01:00
Bodmer 8a8ad47521 Add DMA for RP2040 with SPI displays 2021-04-18 23:21:38 +01:00
Bodmer f96efe5d59 Remove Dxx pins for RP2040
Dxx pin names are not used with RPi Pico
Note: A0-3 are defined for pins 26-29
2021-04-12 23:22:27 +01:00
Bodmer 534372ef99 Fix errors with "Arduino Mbed OS RP2040 Boards"
Arduino RP2040 support introduces a new issue.

This is a temporary fix.
2021-04-12 19:39:23 +01:00
Bodmer fce86c0f2e Improve RPi Pico (RP2040) rendering performance 2021-04-05 16:39:33 +01:00
Bodmer 135610b00d
Update TFT_eSPI_RP2040.h 2021-03-30 08:02:55 +01:00
Bodmer f6e90349d8 Add support for Raspberry Pi Pico
Setup file "Setup60_RP2040_ILI9341.h" used for testing with ILI9341 SPI display.
2021-03-30 01:53:27 +01:00