boards/arm/imxrt/imxrt1060-evk: Fix FT5X06 CTRSTn pin configuration, increased number of pollwaiters for the FT5X06, tuned resolution during pointer dragging.

This commit is contained in:
Fabio Balzano 2019-10-24 08:19:02 -06:00 committed by Gregory Nutt
parent bca21c107f
commit 19c61dbe4b
3 changed files with 6 additions and 6 deletions

View File

@ -22,13 +22,13 @@ CONFIG_DRIVERS_VIDEO=y
CONFIG_EXAMPLES_LVGLDEMO=y
CONFIG_EXAMPLES_LVGLDEMO_THEME_2=y
CONFIG_FS_PROCFS=y
CONFIG_FT5X06_NPOLLWAITERS=8
CONFIG_FT5X06_POLLMODE=y
CONFIG_FT5X06_SINGLEPOINT=y
CONFIG_FT5X06_SWAPXY=y
CONFIG_FT5X06_THRESHX=19
CONFIG_FT5X06_THRESHX=9
CONFIG_FT5X06_THRESHY=15
CONFIG_GRAPHICS_LVGL=y
CONFIG_I2C_DRIVER=y
CONFIG_IDLETHREAD_STACKSIZE=2048
CONFIG_IMXRT_GPIO1_0_15_IRQ=y
CONFIG_IMXRT_GPIO_IRQ=y

View File

@ -120,9 +120,9 @@
#define GPIO_FT5X06_INTR IMXRT_IRQ_GPIO1_11
#define IOMUX_FT5X06_RST (IOMUX_SLEW_FAST | IOMUX_DRIVE_50OHM | \
IOMUX_SPEED_MEDIUM | IOMUX_PULL_UP_100K | \
_IOMUX_PULL_ENABLE)
#define IOMUX_FT5X06_RST (IOMUX_PULL_NONE | IOMUX_CMOS_OUTPUT | \
IOMUX_DRIVE_40OHM | IOMUX_SPEED_MEDIUM | \
IOMUX_SLEW_SLOW)
#define GPIO_FT5X06_CTRSTn (GPIO_OUTPUT | GPIO_OUTPUT_ZERO | \
GPIO_PORT1 | GPIO_PIN2 | IOMUX_FT5X06_RST)

View File

@ -64,7 +64,7 @@
* Pre-processor Defintions
****************************************************************************/
#define FT5X06_FREQUENCY 400000 /* For now, will boost later */
#define FT5X06_FREQUENCY 400000
/****************************************************************************
* Private Function Ptototypes