EasyManua.ls Logo

Bridgetek FT801 - User Manual

Default Icon
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Loading...
1
Product Page
Document Feedback Copyright © Bridgetek Limited
FT800 Series Programmer Guide
Version 2.1
Issue Date: 2016-09-19
This document is a programmer guide for the FT800 series chip. This guide details the
chip features and procedures for use. For FT801 specific features and procedures,
please see the chapter FT801.

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Bridgetek FT801 and is the answer not in the manual?

Summary

Introduction

Overview

Provides a general overview of the guide's content and usage.

Scope

Defines the target audience and the scope of the programmer guide.

API reference definitions

Explains the functionality and nomenclature of APIs used in the document.

Programming Model

General Software architecture

Classifies the software architecture into layers for FT800 operations.

Display configuration and initialization

Details how to configure display timing registers for initialization.

Horizontal timing

Explains horizontal timing control using specific registers.

Vertical timing

Describes vertical timing specifications including VSYNC control.

Signals updating timing control

Covers control of signal timing updates, including CSPREAD.

Timing example: 480 x272 at 60 Hz

Provides a practical example of timing configuration for a specific display resolution.

Initialization Sequence

Outlines the step-by-step initialization sequence for the FT800 during boot-up.

Sound Synthesizer

Audio playback

Graphics routines

Getting started

A basic example demonstrating drawing text and points on the screen.

Coordinate Plane

Illustrates the graphics coordinate plane and its visible area for drawing.

Drawing pattern

Explains the general pattern for drawing primitives and supported primitive types.

Writing display lists

Details methods for writing display list entries, including using a helper function.

Bitmap transformation matrix

Explains the use of a transformation matrix for bitmap manipulation.

Color and transparency

Demonstrates drawing bitmaps with different colors and transparency settings.

VERTEX2 II and VERTEX2 F

Discusses VERTEX2II for positive coordinates and VERTEX2F for fractional/negative coordinates.

Screenshot

Shows how to capture the current screen with full pixel value using registers.

Performance

Discusses graphics engine performance limits and rendering rates.

Register Description

Graphics Engine Registers

Details registers related to the graphics engine's operation.

Touch Engine Registers (FT800 only)

Describes registers specific to the FT800's touch engine functionality.

Audio Engine Registers

Details registers controlling the FT800's audio engine capabilities.

Co-processor Engine Registers

Explains registers associated with the FT800's co-processor engine.

Miscellaneous Registers

Covers miscellaneous registers for backlight, interrupt, and GPIO control.

Display list commands

Graphics State

Describes the graphics state managed by the graphics context and its parameters.

Command encoding

Details the 32-bit encoding structure for display list commands.

Command groups

Categorizes display list commands into groups based on their function.

ALPHA_FUNC

Specifies the alpha test function and its related constants.

BEGIN

Initiates the drawing of a graphics primitive and defines its type.

BITMAP_HANDLE

Specifies the bitmap handle used for referencing bitmaps in graphics context.

BITMAP_LAYOUT

Defines the source bitmap memory format and layout for the current handle.

BITMAP_SIZE

Controls the on-screen drawing size, wrapping behavior, and filtering of bitmaps.

BITMAP_SOURCE

Specifies the source address of bitmap data in FT800 graphics memory.

BITMAP_TRANSFORM_A

Sets the 'A' coefficient for bitmap transformation matrix operations.

BITMAP_TRANSFORM_B

Sets the 'B' coefficient for bitmap transformation matrix operations.

BITMAP_TRANSFORM_C

Sets the 'C' coefficient for bitmap transformation matrix operations.

BITMAP_TRANSFORM_D

Sets the 'D' coefficient for bitmap transformation matrix operations.

BITMAP_TRANSFORM_E

Sets the 'E' coefficient for bitmap transformation matrix operations.

BITMAP_TRANSFORM_F

Sets the 'F' coefficient for bitmap transformation matrix operations.

BLEND_FUNC

Specifies pixel arithmetic for combining source and destination color values.

CLEAR

Clears color, stencil, and tag buffers to preset values.

COLOR_A

Sets the current color alpha value for drawn elements.

COLOR_RGB

Sets the current color red, green, and blue values for draw operations.

VERTEX2 F

Starts graphics primitives at specified coordinates using fractional precision.

VERTEX2 II

Starts graphics primitives at specified coordinates using pixel precision.

Co-Processor Engine commands

Co-processor handling of Display list commands

Explains how co-processor engine commands interact with the display list.

ROM and RAM Fonts

Explains how graphics hardware draws bitmap graphics and treats them as fonts.

Command groups

Categorizes co-processor engine commands by their function.

CMD_BUTTON - draw a button

Draws a button widget with specified position, size, font, and label.

CMD_CLOCK - draw an analog clock

Draws an analog clock with adjustable position, radius, and time elements.

CMD_GAUGE - draw a gauge

Draws a gauge widget with specified position, radius, subdivisions, and value.

CMD_KEYS - draw a row of keys

Draws a row of keys with specified position, size, font, and labels.

CMD_PROGRESS - draw a progress bar

Draws a progress bar widget with specified position, dimensions, value, and range.

CMD_SLIDER - draw a slider

Draws a slider widget with specified position, dimensions, value, and range.

CMD_DIAL - draw a rotary dial control

Draws a rotary dial control with specified center, radius, options, and value.

CMD_TOGGLE - draw a toggle switch

Draws a toggle switch widget with specified position, dimensions, font, and state.

CMD_TEXT - draw text

Draws text at a specified base position with options for alignment and font.

CMD_NUMBER - draw a decimal number

Draws a decimal number with options for alignment, font, and signed/padded output.

CMD_CALIBRATE - execute the touch screen calibration routine

Executes the touch screen calibration routine and updates transformation matrices.

CMD_SPINNER - start an animated spinner

Starts an animated spinner overlay to indicate ongoing tasks.

FT801 operation

FT801 introduction

Introduces FT801 features, highlighting touch capabilities.

FT801 touch engine

Details the FT801's Capacitive Touch Screen Engine (CTSE) and its features.

FT801 touch registers

Lists re-defined touch registers for FT801, mapped from FT800 registers.

Register summary

Provides a summary table of touch registers for FT801 in different modes.

Calibration

Explains the calibration process for touch screens and its applicability.

CMD_CSKETCH - Capacitive touch specific sketch

A sketch command optimized for capacitive touch panels with linear interpolation.

Contact Information

Appendix A - References

Acronyms & Abbreviations

Defines common terms and abbreviations used throughout the document.

Appendix B - List of Figures & Tables

Appendix C - Memory Map

Appendix D - List of Code Snippet

Appendix E - List of Registers

Appendix F - Revision History

Bridgetek FT801 Specifications

General IconGeneral
CategoryController
NameFT801
Operating Voltage3.3V
Audio PlaybackYes
Touch ControllerIntegrated
On-chip Memory1 MB
TypeController
Display InterfaceSPI
Resolution SupportUp to 800 x 480
Touchscreen SupportYes
Memory1 MB
Graphics EngineBuilt-in
Audio SupportYes
Operating Temperature-40°C to +85°C
PackageQFN