使用大容量STM32F10xxx的FSMC连接TFT LCD.docx
- 文档编号:5034257
- 上传时间:2022-12-12
- 格式:DOCX
- 页数:38
- 大小:154.90KB
使用大容量STM32F10xxx的FSMC连接TFT LCD.docx
《使用大容量STM32F10xxx的FSMC连接TFT LCD.docx》由会员分享,可在线阅读,更多相关《使用大容量STM32F10xxx的FSMC连接TFT LCD.docx(38页珍藏版)》请在冰豆网上搜索。
使用大容量STM32F10xxx的FSMC连接TFTLCD
AN2790ApplicationnoteTFTLCDinterfacingwiththehigh-densitySTM32F10xxxFSMCIntroduction
Interactiveinterfacesaremoreandmoreintegratedintomanyapplicationssuchasmedicaldevices,processcontrol,mobilephonesandotherhand-helddevices.TheseinterfacesarebasedmainlyongraphicHMIs(humanmachineinterfaceusingcolorLCDs.
Worldwide,thedesireforcolorsupportisgrowingdramatically.Thepurposeofthis
applicationnoteistoaddressthisaspectbydescribinghowtousetheSTM32F10xxxFSMC(flexiblestaticmemorycontrollertodriveaTFTcolorLCD.ThisdocumentfirstdescribeshowtoconnectacolorLCDtotheFSMC,thenitprovidesaTFTLCDinterfacingexample.Thedemonstrationfirmwaredeliveredwiththisapplicationnote,theSTM32F10xxx
firmwarelibrary,andothersuchfirmwareareavailablefordownloadfromthe
STMicroelectronicswebsite:
.
September2008Rev21/45
ContentsAN2790Contents
1STM32F10xxxflexiblestaticmemorycontroller(FSMCoverview...61.1FSMCNORFlash/SRAMbankdescription........................6
2TFTLCD(thin-film-transistorliquidcrystaldisplay
interfacingwithFSMC........................................92.1CommoncolorLCDinterfaces..................................92.2TypicaluseoftheFSMCtointerfacewithanLCDmodule...........102.3ConnectingtheFSMCtotheLCDIntel8080-like(I80interface.......102.4ConnectingtheFSMCtotheLCDMotorola6800(M68-likeinterface..112.5InterfacinganLCDwiththeFSMCofaHigh-density
STM32F10xxxdeviceofferedina100-pinpackage................122.6Timingcomputation.........................................132.6.1LCDtimings..............................................132.6.2FSMCtimings............................................14
3InterfacingtheAmpireAM-240320L8TNQW00HTFT
LCDwiththeFSMC.........................................153.1AmpireTFTLCDinterface....................................153.2Hardwareconnection........................................153.3Timingcomputation.........................................16
4Firmwaredescription.......................................184.1LCDdriverfirmwaredescription................................184.2Runningthedemo..........................................194.2.1Menu...................................................194.2.2Demostartup.............................................204.2.3Navigation...............................................224.3LCDdemoapplications......................................234.3.1InternalFlashmemory......................................244.3.2NORFlashmemory........................................264.3.3ExternalSRAM...........................................274.3.4NANDFlashmemory.......................................294.3.5SDcard.................................................32
2/45
AN2790Contents5ColorTFTLCDinterfacingwiththeFSMC:
performance..........34
6LCDdemoprogramming....................................356.1ProgrammingtheM29W128NORFlashmemory..................366.2LCDdemoprogramming.....................................39
7Conclusion................................................438Revisionhistory...........................................44
3/45
ListoftablesAN2790Listoftables
Table1.Advantages/drawbacksofLCDcontrollersinMCUs..............................9Table2.ParallelinterfaceRead/Writestatus..........................................10Table3.LCDIntel8080interfacepins...............................................11Table4.FSMCandLCDIntel6800pins.............................................11Table5.LCD8080-likeinterfacetimingcharacteristics..................................13Table6.FSMCandAmpireLCDpins...............................................15Table7.LCD8080-likeinterfacetimingcharacteristics..................................16Table8.Driverlibrarydescription...................................................18Table9.High-levelLCDdriverfunctions.............................................18Table10.LCDdisplayspeeds......................................................34Table11.Documentrevisionhistory.................................................444/45
AN2790ListoffiguresListoffigures
Figure1.AsynchronousNORFlashreadaccesstiming...................................7Figure2.AsynchronousNORFlashwriteaccesstiming...................................8Figure3.ConnectingtheFSMCtoanLCDIntel8080-likeinterface.........................11Figure4.ConnectingtheFSMCtoanLCDMotorola6800-likeinterface.....................12Figure5.ConnectingtheFSMCtoanLCDMotorola6800-likeinterface(1...................12Figure6.ConnectingtheFSMCtoanLCDIntel8080-likeinterfaceindevices
deliveredin100-pinpackages..............................................13Figure7.TFTLCDhardwareconnectionwithFSMC....................................16Figure8.Structureofthedemonstrationmenus........................................19Figure9.Warningmessage........................................................20Figure10.STlogo................................................................20Figure11.STM32family...........................................................20Figure12.Mainmenu.............................................................21Figure13.Correspondingsubmenus..................................................21Figure14.Navigatinginthedemonstrationmenus.......................................22Figure15.Nobitmapfiles(seenote1................................................23Figure16.CopyimagestotheinternalFlashmemory....................................24Figure17.CopyimagestointernalFlashmemorycomplete................................24Figure18.AnimationshowingtheSTM32F10xxxdisplayspeed............................25Figure19.STlogo................................................................25Figure20.Timingdisplaysubmenu...................................................25Figure21.Timingdisplaysubmenu...................................................26Figure22.Timingdisplaysubmenu...................................................26Figure23.Timingdisplaysubmenu...................................................27Figure24.CopyimagestoexternalSRAM.............................................27Figure25.CopyimagestoexternalSRAMcomplete.....................................28Figure26.Timingdisplaysubmenu...................................................28Figure27.Timingdisplaysubmenu...................................................29Figure28.CopyimagestotheNANDFlashmemory.....................................29Figure29.CopyimagestoNANDFlashcomplete.......................................30Figure30.Timingdisplaysubmenu............................................
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 使用大容量STM32F10xxx的FSMC连接TFT LCD 使用 容量 STM32F10xxx FSMC 连接 TFT
![提示](https://static.bdocx.com/images/bang_tan.gif)