Component: FTDI (FT800) (FT800) (Misc): Difference between revisions
Appearance
No edit summary |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
Please click here | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_FTDI-FT800.fcfx FC_Comp_Source_FTDI-FT800.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_FTDI-FT800.fcfx FC_Comp_Source_FTDI-FT800.fcfx] | |||
==Detailed description== | ==Detailed description== | ||
| Line 38: | Line 48: | ||
==Examples== | ==Examples== | ||
| Line 54: | Line 72: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
==Macro reference== | ==Macro reference== | ||
{| class="wikitable" | ===CommandWrite=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | |||
| width="90%" class="mtx-class-macrohead" | '''CommandWrite''' | |||
|- | |||
| colspan="2" | Sends FT800 command | |||
|- | |||
|- | |||
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | |||
| width="90%" | Command | |||
|- | |||
| colspan="2" | | |||
|- | |||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | |||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | |||
|} | |||
===IncrementCommandOffset=== | |||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''IncrementCommandOffset''' | ||
|- | |- | ||
| colspan="2" | Adds commandSize to the currentOffset. Checks for 4K ring-buffer offset roll-over | | colspan="2" | Adds commandSize to the currentOffset. Checks for 4K ring-buffer offset roll-over | ||
| Line 80: | Line 128: | ||
{| class="wikitable" | ===Initialise=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | |||
| width="90%" class="mtx-class-macrohead" | '''Initialise''' | |||
|- | |||
| colspan="2" | System initialization routines. Executed once on reset. Returns 0 if device not detected or 1 if device is correctly initialised. | |||
|- | |- | ||
| width="10%" align="center" style=" | |- | ||
| width="90%" | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | |||
|} | |||
===MemRead16=== | |||
{| class="mtx-class-macrotable wikitable" | |||
|- | |||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | |||
| width="90%" class="mtx-class-macrohead" | '''MemRead16''' | |||
|- | |- | ||
| colspan="2" | Reads a single unsigned int from the FT800 internal address space | | colspan="2" | Reads a single unsigned int from the FT800 internal address space | ||
| Line 98: | Line 161: | ||
{| class="wikitable | ===MemRead32=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''MemRead32''' | ||
|- | |- | ||
| colspan="2" | Reads a single | | colspan="2" | Reads a single unsigned long from the FT800 internal address space | ||
|- | |- | ||
|- | |- | ||
| Line 111: | Line 175: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9- | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u32-icon.png]] - ULONG | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
{| class="wikitable | ===MemRead8=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''MemRead8''' | ||
|- | |- | ||
| colspan="2" | Reads a single | | colspan="2" | Reads a single data byte from the FT800 internal address space | ||
|- | |- | ||
|- | |- | ||
| Line 129: | Line 194: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9- | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
{| class="wikitable | ===MemWrite16=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''MemWrite16''' | ||
|- | |- | ||
| colspan="2" | Writes a unsigned int value to the FT800 internal address space | | colspan="2" | Writes a unsigned int value to the FT800 internal address space | ||
| Line 157: | Line 223: | ||
{| class="wikitable | ===MemWrite32=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''MemWrite32''' | ||
|- | |- | ||
| colspan="2" | Writes a | | colspan="2" | Writes a unsigned long value to the FT800 internal address space | ||
|- | |- | ||
|- | |- | ||
| Line 170: | Line 237: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9- | | width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG | ||
| width="90%" | Data | | width="90%" | Data | ||
|- | |- | ||
| Line 180: | Line 247: | ||
{| class="wikitable | ===MemWrite8=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''MemWrite8''' | ||
|- | |- | ||
| colspan="2" | Writes a byte value to the FT800 internal address space | |||
| colspan="2" | Writes a | |||
|- | |- | ||
|- | |- | ||
| Line 211: | Line 261: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9- | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | ||
| width="90%" | Data | | width="90%" | Data | ||
|- | |- | ||
| Line 219: | Line 269: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | SPI Properties | ||
|- | |- | ||
|- | |- | ||
| Line 273: | Line 308: | ||
| colspan="2" | SPI Clock Pin CLK - The Clock signal is driven by the SPI master. | | colspan="2" | SPI Clock Pin CLK - The Clock signal is driven by the SPI master. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Pin Connections | ||
|- | |- | ||
|- | |- | ||
| Line 287: | Line 322: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Display Properties | ||
|- | |- | ||
|- | |- | ||
| Line 356: | Line 391: | ||
| colspan="2" | Define active edge of PCLK | | colspan="2" | Define active edge of PCLK | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | MatrixTSL |
| Version | 2.0 |
| Category | Misc |
FTDI (FT800) component
The FT800 provides a powerful feature set in a small package to create dynamic HMI interfaces. The device supports line by line graphics rendering to 1/16 of a pixel on displays with resolution up to 512 x 512 with 262K colours. The chip includes a touch controller for sensing touch feedback from a TFT display with a resistive touch panel as well as a sound synthesizer and audio playback with a PWM output to drive a speaker.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_FTDI-FT800.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_FTDI-FT800.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
CommandWrite
| CommandWrite | |
| Sends FT800 command | |
| Command | |
| Return | |
IncrementCommandOffset
Initialise
| Initialise | |
| System initialization routines. Executed once on reset. Returns 0 if device not detected or 1 if device is correctly initialised. | |
| Return | |
MemRead16
| MemRead16 | |
| Reads a single unsigned int from the FT800 internal address space | |
| Address | |
| Return | |
MemRead32
| MemRead32 | |
| Reads a single unsigned long from the FT800 internal address space | |
| Address | |
| Return | |
MemRead8
| MemRead8 | |
| Reads a single data byte from the FT800 internal address space | |
| Address | |
| Return | |
MemWrite16
| MemWrite16 | |
| Writes a unsigned int value to the FT800 internal address space | |
| Address | |
| Data | |
| Return | |
MemWrite32
| MemWrite32 | |
| Writes a unsigned long value to the FT800 internal address space | |
| Address | |
| Data | |
| Return | |
MemWrite8
| MemWrite8 | |
| Writes a byte value to the FT800 internal address space | |
| Address | |
| Data | |
| Return | |