Tsev > Xov xwm > Ntsiab lus

3.4 FT90x Platform

Apr 26, 2019

3.4 FT90x Platform

Ntu no qhia txog qhov kev xa cov piv txwv ntawm tus FT90x platform.

3.4.1 Qhov Yuav Tsum Tau Kho Mob

 TSIS YUAV TSUM MUAJ KEV HLOOV XWB (xws li ME810A-HV35R, ME812A-WH50R, ME813A-WH50C)

 Module UMFTPD2A rau qhov kev pab cuam / debug

 FT900 lub rooj tsavxwm (xws li MM900EVx)

 Micro USB cables

Lub MM900EVx module yog mated mus rau sab saum toj ntawm pawg ME8xx raws li qhia hauv daim duab 3.6. USB

micro cable yog siv fais fab ob sab ntawm lub teeb nyob ntawm MM900EVx.

UMFTPD2A Module yog siv los mus download tau qhov kev pab cuam rau FT900 Board ntawm MicroMatch

Ribbon cable connector. Nws txuas mus rau lub PC ntawm ib lub tshuab USB micro cable thib ob uas muab lub hwj chim

thiab kev sib txuas lus mus rau UMFTPD2A los ntawm tus tswv tsev PC. Cov ntsiab lus tseem ceeb muaj nyob hauv

datasheet.

image

Lus Cim: Cov hlua daj thiab txiv kab ntxwv jumper yog rau kev sib txuas lus ntawm FT900 thiab lub PC ntawm qhov khoom siv

UART channel ntawm UMFTPD2A thiab tsis tau tso npe rau lub programming FT900 los sis khiav cov cai

kuaj. Tsuas yog cov hlua ribbon xov tooj xwb.

3.4.2 Qhov Yuav Tsum Tau Ua

 FT900 Toolchain. Saib ntawm AN_325 FT900 Toolchain Installation Guide.

 Txheej txheem Software rau Daim Ntawv Ceeb Toom no (saib nqe lus 3)

3.4.3 Cov Qauv Khwm

Cov ntaub ntawv zauv teb txhawb ntau lub platform. Cov ntaub ntawv tseem ceeb hais txog qhov FT900 platform yog:

 Folder "Qhov project \ FT90x \" muaj qhov project file.

 Cov ntaub ntawv tau muab tso rau hauv Src folder.

 Cov ntaub ntawv header tau suav nrog Hdr thiab Hdr \ FT90x nplaub tshev.

 Lub tsev qiv ntawv cov ntaub ntawv xws li fatfs muaj nyob rau hauv \ FT90x \ / (saib hauv qab no)

 Cov ntawv pov thawj muaj cov ntaub ntawv txhawb nqa uas yuav tsum muab tso rau hauv SD card (rau

piv txwv, bitmaps). (saib cov ntawv hauv qab)

Cov ntaub ntawv tag nrho yog muab nyob rau hauv cov ntaub ntawv nyeem uas muaj nyob rau hauv qhov project zip pob.

Lus Cim: Rau Arduino thiab FT900 versions ntawm qee cov qauv, yuav tsum muaj daim FAT formatted SD card. Tag nrho cov ntaub ntawv nyob rau hauv

daim "Cuab Yeej" yuav tsum muab luam tawm rau hauv cov hauv paus hniav ntawm SD card. Cov tsev qiv ntawv libfatfs.a kuj yuav tsum yog

nyob rau hauv peb tes num thaum qhov kev zov me nyuam khiav ntawm FT900 platform. Cov kev xeem thiab hauv \ FT90x folders tej zaum yuav

khoob nyob rau hauv rooj plaub uas tus qauv code tsis tas yuav tsum tau siv cov duab thiab lwm yam kom muab cia rau hauv daim npav SD.

3.4.4 Kev Nyuaj Siab

Daim ntawv thov siv SPI, UART, thiab lwm yam ntawv uas yog muab los ntawm FTDI ua ib feem ntawm FT900 Toolchain.

Cov ntaub ntawv nram qab no yuav tsum muaj nyob rau hauv cov cai: ff.h, ffconf.h, diskio.h thiab integer.h.

Rau ntxiv lus ntawm FT900 toolchain pab, saib AN_325 (FT900 Toolchain Installation Guide) thiab

AN_381 Qauv Daim Ntawv Thov rau ib qho piv txwv ntawm yuav ua li cas yuav import ib qhov project rau hauv FT900 IDE.

3.4.5 Muab qhov Project

Mus import qhov project hauv lub Eclipse IDE, xaiv cov ntaub ntawv xa tuaj.

Tom qab ntawd xaiv Xibhwb Taus Ntawm Qhov Chaw Ua Haujlwm

Tom qab ntawd xaiv lub hauv paus directory qhov software pob txuag ntawm koj lub PC.

Lus Cim: Tsis txhob xaiv 'Copy projects into workspace' raws li qhov no tsis luam txhua cov ntaub ntawv xav tau.

Qhov project yuav tsum tam sim no tshwm sim hauv qhov rais Explorer qhov rai.

image

3.4.6 Kho qhov project

Ua ntej qhib qhov demo, xyuas kom tseeb tias qhov project yog teeb tsa rau qhov tseeb FT8xx pawg thawj coj thiab

npo me me nyob hauv FT_Platform.h cov ntaub ntawv uas tau qhib ntawm qhov rais Explorer qhov rai

hauv Studio. Thov saib tshooj 4 kom paub meej.

3.4.7 Tsim Kev Tsim Ua

Txoj cai-nias qhov project thiab xaiv "Tsim qhov project" los tsim cov cai. Cov txheej txheem yuav raug saib xyuas

nyob rau hauv qhov rais console.

3.4.8 Qhov Project Download

Koj siv tau "FT900Prog GUI Launcher" mus download tau binary generated rau hauv FT900 nco.

Lub "FT900Prog GUI Launcher" yog tsim nrog cov dab noj hnub rau FT900.

image

Rau lwm qhov download thiab debug kev xaiv, saib AN_325 FT900 Toolchain Installation Guide.