Difference between revisions of "Unit PiTFT28"
(Created page with "Return to Unit Reference === Description === ---- ''To be documented'' === Constants === ---- ''To be documented'' === Type definitions === ---- ''To...") |
|||
Line 5: | Line 5: | ||
---- | ---- | ||
− | '' | + | The Adafruit PiTFT 2.8" LCD is a 320 x 240 pixel TFT with resistive touchscreen using an ILITEK ILI9340 driver and a STMicroelectronics STMPE811 resistive touchscreen controller. |
+ | |||
+ | This unit ties together the various components needed to make one of these boards work with Ultibo by finding the correct SPI device, creating the STMPE811 Touch device, creating the ILI9340 Framebuffer device and registering all of it with the correct parameters for the Adafruit board. | ||
+ | |||
+ | Details: | ||
+ | |||
+ | '''ILI9340''' | ||
+ | |||
+ | Width: 240 | ||
+ | |||
+ | Height: 320 | ||
+ | |||
+ | |||
+ | SPI Mode: 0 | ||
+ | |||
+ | SPI Frequency: 32000000 | ||
+ | |||
+ | SPI Chip Select: SPI_CS_0 | ||
+ | |||
+ | |||
+ | DC GPIO: GPIO_PIN_25 (Pull: GPIO_PULL_NONE) | ||
+ | |||
+ | RST GPIO: GPIO_PIN_UNKNOWN | ||
+ | |||
+ | Backlight GPIO: GPIO_PIN_2 (STMPE GPIO) | ||
+ | |||
+ | |||
+ | ''''STMPE''' | ||
+ | |||
+ | Chip: STMPE_CHIP_610 | ||
+ | |||
+ | |||
+ | SPI Mode: 0 | ||
+ | |||
+ | SPI Frequency: 500000 | ||
+ | |||
+ | SPI Chip Select: SPI_CS_1 | ||
+ | |||
+ | |||
+ | IRQ GPIO: GPIO_PIN_24 (Trigger: GPIO_TRIGGER_FALLING)(Pull: GPIO_PULL_UP) | ||
+ | |||
+ | |||
+ | '''Switches''' | ||
+ | |||
+ | SW1 GPIO: GPIO_PIN_22 | ||
+ | |||
+ | SW2 GPIO: GPIO_PIN_27 | ||
+ | |||
+ | SW3 GPIO: GPIO_PIN_17 | ||
+ | |||
+ | SW4 GPIO: GPIO_PIN_23 | ||
=== Constants === | === Constants === |
Revision as of 01:06, 14 October 2016
Return to Unit Reference
Description
The Adafruit PiTFT 2.8" LCD is a 320 x 240 pixel TFT with resistive touchscreen using an ILITEK ILI9340 driver and a STMicroelectronics STMPE811 resistive touchscreen controller.
This unit ties together the various components needed to make one of these boards work with Ultibo by finding the correct SPI device, creating the STMPE811 Touch device, creating the ILI9340 Framebuffer device and registering all of it with the correct parameters for the Adafruit board.
Details:
ILI9340
Width: 240
Height: 320
SPI Mode: 0
SPI Frequency: 32000000
SPI Chip Select: SPI_CS_0
DC GPIO: GPIO_PIN_25 (Pull: GPIO_PULL_NONE)
RST GPIO: GPIO_PIN_UNKNOWN
Backlight GPIO: GPIO_PIN_2 (STMPE GPIO)
'STMPE
Chip: STMPE_CHIP_610
SPI Mode: 0
SPI Frequency: 500000
SPI Chip Select: SPI_CS_1
IRQ GPIO: GPIO_PIN_24 (Trigger: GPIO_TRIGGER_FALLING)(Pull: GPIO_PULL_UP)
Switches
SW1 GPIO: GPIO_PIN_22
SW2 GPIO: GPIO_PIN_27
SW3 GPIO: GPIO_PIN_17
SW4 GPIO: GPIO_PIN_23
Constants
To be documented
Type definitions
To be documented
Public variables
To be documented
Function declarations
To be documented
Return to Unit Reference