Tsev > Xov xwm > Ntsiab lus

Bridgetek BT81X (815/6) Advanced EVE Graphics Cav SPI NOR Flash Interface

May 09, 2019

Tus BT815 / 6 siv tus thawj xibfwb SPI mus txuas rau sab nraud SPI NOR Flash. Cov khoom muaj nqis xws li
Unicode fonts thiab cov duab yuav muab cia rau hauv lub cim xeeb flash. Lub BT815 / 6 graphics cav tuaj yeem nqa tau
cov cuab yeej cuab tam no ncaj qha mus tsis dhau mus sab nraud MCU, yog li tshem tawm qhov
host MCU los ntawm kev pub zaub mov.
Lub BT815 / 6 txhawb ntau NOR flash nco ntaus ntawv los ntawm ntau tus neeg muag khoom xws li Macronix,
Winbond, Micron, ISSI thiab Gigadevice. Lub interface yuav ua hauj lwm hauv lub moos ceev (txog 72MHz) thaum 4
ntsis hom.
image

Daim ntawv sau npe REG_FLASH_STATE qhia tias lub xeev cov flash subsystem. Ntawm khau raj flash state

FLASH_STATE_INIT. Tom qab qhov kev tshawb xyuas tau ua tiav flash nws yog nyob hauv lub xeev FLASH_STATE_DETACHED los yog

FLASH_STATE_BASIC, nyob ntawm saib seb puas muaj cov ntaub ntawv flashlight tau txais.

Yog tias tsis muaj cov cuab yeej kuaj pom, ces tag nrho SPI tso tawm cov teeb tseg tau tsav qis qis.

Thaum tus tswv tsev MCU hu CMD_FLASHFAST, lub flash system npaj siab yuav mus rau tag nrho-ceev hom, qhov

xeev mus FLASH_STATE_FULL.

Txhua lub sijhawm tus neeg tuaj yeem hu rau CMD_FLASHDETACH thiaj li tsis qhib flash communications. Nyob hauv

detached lub xeev, commands CMD_FLASHSPIDESEL, CMD_FLASHSPITX thiab CMD_FLASHSPIRX tuaj yeem siv tau

los tswj lub tsheb npav SPI.

Yog tias cais, tus tswv tsev MCU tuaj yeem hu rau CMD_FLASHATTACH kom rov tsim kev sib txuas lus nrog lub flash

ntaus ntawv.

Direct rendering ntawm bitmaps ntawm eeb xwb tau hauv FLASH_STATE_FULL. Tom qab hloov kho qhov

cov ntsiab lus ntawm lub eeb, MCU yuav tsum tshem tawm ntawm qhov cip bitmap cache los ntawm kev hu rau CMD_CLEARCACHE.