CPU-339L-2P,SH-2(SH7145)CPU

主板 3
BoardwithLCDController CPU-339L-2P 3.5inchQVGA320×240TFTLCDwithtouchpanelLMTM035QVGNCAseries(DENSITRON)GVTQ35SPADseries(SGD) InstructionManual 05/01/2011FirstEdition10/14/2011SecondEdition 1/20 WESTTOKIWA TableofContents ■SafetyPrecautions ・SafetyPrecautions ・・・・・・P3 ・InstallationandSoftwareDesignPrecautions ・・・・・・P5 ・WarrantyandDisclaimer ・・・・・・P7 ■OverviewandFeaturesofProduct
1.Listofessories ・・・・・・P8
2.NameandFunctionforthe CircuitBoardConnectors ・・・・・・P8
3.IntendedPurposeofProduct ・・・・・・P10
4.MainFeatures ・・・・・・P11 ■BasicSpecifications(SPEC)
1.ElectricalSpecifications ・・・・・・P12
2.SpecificationsforShortPinsandSwitches,etc. ・・・・・・P13
3.CN1SignalTable ・・・・・・P15
4.CN2SignalTable ・・・・・・P15
5.CN3SignalTable ・・・・・・P15
6.CN5SignalTable ・・・・・・P16
7.CN6SignalTable ・・・・・・P16
8.CN7SignalTable ・・・・・・P17
9.CN8,10SignalTable ・・・・・・P17 10.CN9SignalTable ・・・・・・P17 11.AddressMap ・・・・・・P18 12.SelectionandPreparation ofPeripheralParts ・・・・・・P19 13.TechnicalDocumentationabouttheProduct・・・・・・P19 14.DimensionalDrawingoftheBoard ・・・・・・P20 2/20 WESTTOKIWA ■SafetyPrecautions Inordertopreventphysicalharmandpropertydamagetothoseusingand/orinstallingthiscircuitboarddevice(the“Product”),themanualdescribesbelowthenecessarysafetyprecautions. ●Theseverityofharmanddamagecausedbyincorrectusageorinstallationstemmingfromignoringthedirectionshereinareindicatedbythefollowingsymbolsandwarnings. Danger Thissymbolindicatesthatthepossibilityofdeathorseriousinjuryisimminent. Warning Thissymbolindicatesthatdeathorseriousinjuryispossible. Caution Thissymbolindicatesthatminorinjuryordamagetoonlypropertyispossible. ●Thetypesofnecessaryprecautionsareclassifiedordingtothefollowingsymbols.(Thesymbolsbelowareanexample)  Thissymbolindicates"Prohibited"actions.  Thissymbolindicates"Mandatory"actions.  3/20 WESTTOKIWA Danger  DonotbreatheinorswallowtheliquidcrystaliftheLCDisdamagedandleaking.Iftheliquidcrystalisstickingtoyourhandsorclothes,wipewithalcoholetc.,andwashthoroughlywithwater. Warning  Alwaysusearatedpowersupplydeviceasperthismanual.Otherdevicesmaycauseburnoutandfire.  Wheninstalling,selectawell-ventilatedanddryareawithnoriskofwaterspillage.Otherwise,electrocution,electricalleakage,burnout,orfiresmayresult. 4/20 WESTTOKIWA ■InstallationandSoftwareDesignPrecautions ThissectioncoverstheprecautionswheninstallingtheProduct(CPU-339L-2PandpanyingLCDpanelandtouchpanel) InstallingtheLCDandthePCB ●InordertoprotectthepolarizationplateandLCD,placetheguardplateonthepanelwheneverpossible. ●AvoidapplyingexternalpressureontheLSIwheninstalling.●BecarefulnottowarporcontorttheLCDpanelandPCB.●Whendesigningyourproduct,assurethatthesizeofthewindowframeiswithin theeffectivedisplayarea.●Whenusingaframebeyondtheeffectivedisplayareafortheexternalappearance ofyourproduct,anynon-uniformappearanceoftheproductisbeyondthescopeofthewarranty.●ItispossiblethatthereisaburrontheframeedgeoftheLCDmodule.Whendesigningyourproduct,becarefulofanycontactwithcablessoastopreventdamagetothecableinsulation. StaticElectricityPrecautions ●AsCMOS-ICisusedinthedevice,takepropermeasurestodealwithstaticelectricitywhenhandling. ●Considergroundingforworkershandlingthedevice.Forexample,theuseofananti-staticwriststrap/matismended. HandlingPrecautions ●Avoidplacinginareaswithhighhumidityforlongperiodsoftime.Beparticularlycarefulofhighhumiditywhenthetemperatureisover40degreesCelsius. ●AstheLCDpolarizationplateiseasilydamaged,becarefulwhenhandling.Avoidcontactwithhardobjects. ●WhencleaningtheLCDsurface,wipelightlywithasoftcloth(chamoisleather,absorbentcottonetc.)andadropofpetroleumbenzene. 5/20 WESTTOKIWA ●WhensalivaoradropofwaterremainsontheLCDpolarizationplateforalongtime,deformation,discoloration,staining,orfadingmayur.Wipeawayquickly. ●AstheLCDcontainsglass,chippingandcrackingcanurwhendroppedorhitwithahardobject. ●Whentesting,avoidcondensationinthedeviceinordertoavoidstainingofthepolarizationplate. OperatingPrecautions ●TheLCDcontrollermountedonthisCPUboardisatypethatforwardsconfigurationdatafromtheflashmemoryinsidethedevicetotheSRAM.Afterpoweringon,itstartsquicklyafterdisengagingthereset.However,thehardfillstartssoonafterpoweringon.Whendesigningsoftware,ensurethatitcheckspletionofthehardfillinthehardfillregisterbeforeallowingread-writeess. ●UseoftheProductinnon-intended,off-specificationconditionscancauseadecreaseinlifespanandadeteriorationofvisualquality.Alwaysusewithinspecifications. ●UseoftheProductinconditionsbelowtheratedtemperaturecancausedeteriorationofvisualqualityand/ortheformationofairbubbles.UseoftheProductinnon-intended,off-specificationtemperatures,canleadtoanirreversiblechangeinLCDcharacteristics.Alwaysusewithinspecifications. ●Whenthedisplayissubjectedtoastrongpush,awarningeson.However,itwillreturnbacktonormalwhenleftforawhile,orifitisrebooted. ●
D.C.applicationcausesdeteriorationoftheLCD.BeparticularlycarefulwiththeconnectionoftheCN6(interfaceconnectortotheLCD),tomakesurethecontactpleteandnotpartial. StoragePrecautions ●StoretheLCDinacool,dryplace.WhenkeepingtheLCDinlong-termstorage,placeinadarkareaawayfromsunlightandfluorescentlighting. ●WhenstoringtheLCDandPCBindividually,makesurethepolarizationplateorLSIdoeseincontactwithotherobjects. 6/20 WESTTOKIWA ■WarrantyandDisclaimer Warranty Fromamanufacturingstandpoint,inordertowarrantthefunctionalityandreliabilityoftheProduct,KenicSystem(the“Company”)mayissueadeliveryspecificationtothepurchaseroftheProduct(the“Customer”).Thewarrantycoverstheitemsoutlinedinthedeliveryspecification. AnymodificationstotheProductbytheCustomerwillnotbecoveredbythewarranty. Disclaimer TheCustomeragreesthattheCompanyshallnotbeheldliableforidentsanddamagescausedbytheProductunderthefollowingcircumstances.UseoftheProductinconditionsnotspecifiedinthisinstructionmanual (the“Manual”).BreakdownordamagetotheProductcausedbythird-partyproductsnot approvedandprovidedbytheCompany.MaintenanceandrepairworkusingpartsnotapprovedbytheCompany.TheCustomerdidnotfollowtheprecautionsoroperatinginstructionsas setforthintheManual.UseoftheProductinsituationswherethepowersource,installation environment,andotherconditionsarebeyondthespecificationsasoutlinedintheManual.identsanddamagescausedbynaturaldisasterssuchasfires,earthquakes,floods,andlightningstorms.※Componentspecificationsandexternalappearancemaychangewithoutnotice.However,ifpreviouslyagreedtoinstallationdimensionsandelectricalinterfaceneedtobechangedduetounforeseencircumstances,theCompanywillcontacttheCustomertoresolvetheissue. 7/20 WESTTOKIWA ■OverviewandFeaturesoftheProduct
1.Listofessories 2-pincableforpowersupplyRS-232CcableRS-485cable15-pingenericI/Ocable×26-pinanaloginputcable (ForCN1)(ForCN2)(ForCN7)(ForCN8,10)(ForCN9) CPU339-EL2CBCPU339-232CBCPU339-485CBCPU339-IO15CB(225)CPU339-IO6CB(225)
2.NameandFunctionfortheCircuitBoardConnectors [Componentside]
(7)
(7)
(7)
(3)
(1)
(6)
(5)
(2)
(4) 8/20 WESTTOKIWA
(1)CN1:Connectorfor+5Vpowersupply.
(2)CN2:ConnectorforRS-232Cand+5Vpowersupply.
(3)CN3:ConnectorforH-UDI.
(4)CN4:LCDCsoftwarewriteconnector.(notmounted)
(5)CN6:ConnectorforTFTLCD(QVGA).
(6)CN7:ConnectorforRS-485
(7)CN8,CN9,CN10:SystemexpansionconnectorsfortheCPUI/Osignal. [Printedside]
(8)
(8)CN5:Touchpanelcontroller(KS-R8TPC)writeconnector. 9/20 WESTTOKIWA
3.IntendedPurposeofProduct TheCPU-339L-2Pisanexclusivecontrollerboardforthe“LMTM035QVGNCAseries”TFTcolorLCDdisplaymodulemanufacturedbyDENSITRON,andforthe“GVTQ35SPADseries”TFTcolorLCDdisplaymodulemanufacturedbySGD. Pleaserefertothefollowingblockdiagram. CPU-339L Framebuffer Timingcontroller MemoryBusInterface LEDbacklightInterface TouchPanelInterface SRAM&FontROM HD64F7145F50V(SH-2) CN8,CN9,CN10 CN6 CN2CN7 LCDunit ManufacturedbyDENSITRON (LMTM035QVGNCAseries)ManufacturedbySGD(GVTQ35SPADseries) LEDbacklightTouchpanel RS-232C×2CH RS-485 10/20 WESTTOKIWA
4.MainFeatures AstheSH-2(HD64F7145F50V)CPUbyRenesasTechnologyisincludedasstandardequipment,itispossiblefortheCustomer’sentiresystemtopletedwiththissingleboard. TheSRAMfortheCPU(512KB)isincludedasstandardequipment.Furthermore,withthe0.1FGoldCapacitor,theSRAMiscapableofoveroneweek’sbackup. TwoRS-232Clinesareincludedasstandardequipment.OneRS-485lineisincludedasstandardequipment.ThereisnolagforwritetofromtheCPUatintervalsof200nsorlonger. Thereisnolagforreadoutatintervalsof300nsorlonger.EvenunderDMAwithSH-2,thereisplentyoflatitudeforess.64colorsand65,000colorscanbedisplayedperpixel.Thereisplete,one-to-onecorrelationbetweenthemappingcoordinatesofthepixelsandaddressesasseenfromtheCustomer’sCPU.Touchpositiondatafromthetouchpanelcanbedirectlyreadoutas8-bitdata.Itispossibletosettwodifferentinvertedcolorblinkcontrols(twopatterns).Full-screenwipeissupportedbythehardware.Itispossibletospecifythecolorforwiping.AstheCS0areacanbeswitchedfromtheFlash-ROMareatotheSRAMareausingshortpin,itispossibletodebugbyE10A,ICE,etc.AsEEPROMisincluded,itispossibletoholddataformemory.Compactandlightweight,theProductdimensionsare80mm×60mm(notincludingprotrudingcables). 11/20 WESTTOKIWA ■BasicSpecifications
1.ElectricalSpecifications ――――LCDSection―――― ●IntendedLCDmodule LMTM035QVGNCAseries(DENSITRON) GVTQ35SPADseries(SGD) ●Intendedtouchpanel TheaboveLCDisincludedasstandard equipment. ●IntendedLCDcontrollers KS-LETQ-2P(Kenicsystem) ●Intendedbacklightinverter AsLEDisused,itisunnecessary. ●Framebuffer Twopagesoronepage ●Colorrepresentation 64colors/4,096colorsor65,000colors ――――CPUSection―――― ●CPU HD64F7145F50V(Renesas) ●SRAM IS62WV5128BLL-55TLI(ISSI)etc. ●Flash-ROM S29AL016J70TFI010#(SPANSION)etc. ●EEPROM 24LC256-I/SN-G(Microchip) ●Chinesecharacterfonts JISlevel-
1,JISlevel-2(16dotfont) ●RS-232C 2CHalreadymounted ●RS-485 1CHalreadymounted ――――I/OSpecifications―――― ●CN8,CN9,CN10 ForgenericI/O ――――Others――――●PowersupplySpecifications ●Operatingenvironment●Externaldimensionsandweight 5Vsinglesupply1.0AMAXRatedvoltageofCPUboard5V±0.4VConsumptioncurrentofCPUboard 350mA*NotincludingLCD.0℃~50℃80×60×15mm(notincludingprotrudingcables)About30g 12/20 WESTTOKIWA
2.Specificationsforshortpins,switches,etc.
(1)FCS0,SCS0 ForselectingCS0area ShortingFCS0:CS0issetinFlash-ROMarea. ShortingSCS0:CS0issetinSRAMarea. Caution)Toavoiddamage,donotsetinthesameareaasCS1.
(2)FCS1,SCS1 ForselectingCS1area ShortingSCS1:CS1issetinSRAMarea. ShortingFCS1:CS1issetinFlash-ROMarea. Caution)Toavoiddamage,donotsetinthesameareaasCS0.
(3)JP1 ForH-UDI Whenopen,CPUoperatesnormally. Whenshort,itisthesettingforH-UDI.
(4)JP2 RS-485terminator Whenshort,itisthesettingforRS-485terminal.
(5)J1[XD]ForswitchingtheXaxisdataofthetouchpanel.Whenshort,theXaxisdataofthetouchpanelisreversed.
(6)J2[YD]ForswitchingtheYaxisdataofthetouchpanel.Whenshort,theYaxisdataofthetouchpanelisreversed.
(7)J3[5V] PowersupplysettingforLEDbacklightcircuit. Whenshort,thepowersupplyoftheLEDbacklightcircuitis5V. Caution)Asthefactorydefaultsettingisalreadyshort,itisunnecessaryforthe Customertoshortit. Caution)DonotshortJ3andJ4atthesametime.
(8)J4[3.3V]PowersupplysettingforLEDbacklightcircuit. Whenshort,thepowersupplyoftheLEDbacklightcircuitis3.3V. Caution)Whenusing,disengageJ3beforeshortingJ4. Caution)DonotshortJ3andJ4atthesametime.
(9)SW1 Forswitchingmodes. WhenswitchedtowardsalitLED1,CPUchangestobootmode. WhenswitchedtowardsanunlitLED1,CPUoperatesnormally. 13/20 WESTTOKIWA (10)SW2 Resetswitch WhenpressingSW2,settheRESETpinfortheCPU,LCDcontroller,etc.toLOW. (11)SW3 4-bitDIPswitch ConnectedtotheCPUI/OportsPF4~
7. 14/20 WESTTOKIWA
3.CN1SignalTableforPowerSupplyConnector Pinnumber 12 Nameofsignal VINGND +5.0VGNDpin Function Connectorused:B2B-XH-A(LF)(SN) (JSTMfg.Co.,Ltd.) Compatibleconnector:XHP-
2 (JSTMfg.Co.,Ltd.)
4.CN2SignalTableforRS-232CConnector Pinnumber 123 Nameofsignal VCCTxD3TxD1
4 RxD3
5 RxD1
6 GND
7 GND Function Powersupplypin+5VRS-232CthreesendinglinesRS-232Conesendingline(inconjunctionwithprogramdownload)RS-232CthreereceivinglinesRS-232Conereceivingline(inconjunctionwithprogramdownload)RS-232CsignalgroundPowersupplypinGNDpin Connectorused:B7B-XH-A(LF)(SN) (JSTMfg.Co.,Ltd.) Compatibleconnector:XHP-
7 (JSTMfg.Co.,Ltd.)
5.CN3SignalTableforH-UDIConnector Pinnumber 1234567 891011121314 Nameofsignal TCKGNDTRSTGNDTDOGNDASEBRKAKNCTMSGNDTDIGNDRESETGND H-UDIconnection Connectorused:XG4C-1431(Omron) Function 15/20 WESTTOKIWA
6.CN5SignalTableforTouchPanelControllerWriteConnector Pinnumber 1234567 Nameofsignal VCCRESETN.CMODEP4-5P3-7GND Function +3.3VpowersupplypinAlreadyconnectedto/RESpinofR5F211B4SPNoconnectionAlreadyconnectedtoMODEpinofR5F211B4SPAlreadyconnectedtoP4-5pinofR5F211B4SPAlreadyconnectedtoP3-7pinofR5F211B4SPGNDpin Connectorused:53261-0771(Molex)
7.CN6SignalTableforLCDConnector Pinnumber 1234567 8 9 101112131415161718 19 20 212223242526 27 Nameof signalLEDKLEDKLEDALEDAN.CN.CN.C/RESET
N.C
N.CN.CB0B1B2B3B4B5B6 B7 G0 G1G2G3G4G5G6 G7 Function Pinnumber LEDbacklightcathode28 LEDbacklightcathode29 LEDbacklightanode 30 LEDbacklightanode 31 Noconnection 32 Noconnection 33 Noconnection 34 Resetsignal 35 Noconnection36 Noconnection 37 Noconnection 38 Bluedatasignal(LSB)39 Bluedatasignal 40 Bluedatasignal 41 Bluedatasignal 42 Bluedatasignal 43 Bluedatasignal 44 Bluedatasignal 45 Bluedata(MSB) signal46 Greendatasignal47 (LSB) Greendatasignal 48 Greendatasignal 49 Greendatasignal 50 Greendatasignal 51 Greendatasignal 52 Greendatasignal 53 Greendatasignal54 (MSB) Nameof signalR0R1R2R3R4R5R6 R7 HSYNCVSYNCDCLKN.CN.CVCCVCCN.CN.CYU XR YL XLN.CN.CN.CN.CVSS VSS Connectorused:04-6240-054-005-800+(KyoceraELCO) Function Reddatasignal(LSB)ReddatasignalReddatasignalReddatasignalReddatasignalReddatasignalReddatasignalReddatasignal(MSB) HSYNCsignal VSYNCsignalDotclocksignalNoconnectionNoconnectionPowerinput(+3.3V)Powerinput(+3.3V)NoconnectionNoconnectionTouchpanelsignalYUTouchpanelsignalXR TouchpanelsignalYL TouchpanelsignalXLNoconnectionNoconnectionNoconnectionNoconnectionGNDpinGNDpin 16/20 WESTTOKIWA
8.CN7SignalTableforRS-485Connector Pinnumber 123 Nameofsignal ABGND Function RS-485sending/receiving(non-inverted)RS-485sending/receiving(inverted)GNDsignal Connectorused:B3B-XH-A(LF)(SN) (JSTMfg.Co.,Ltd.) Compatibleconnector:XHP-
3 (JSTMfg.Co.,Ltd.)
9.CN8,10SignalTableforI/OConnector CN8 Pin Nameof numbersignal Function Pinnumber
1 VCC Pinforpower.
1 +3.3Vsupplypin.
2 CK(PA1CPUI/OportPXXX2 5)
3 PE0
3 4 PE1
4 5 PE2
5 6 PE3
6 7 PE6
7 8 PA5
8 9 PE7
9 10 PA23 10 11 PE14 11 12 PA22 12 13 PA21 13 14 PE15 14 15 GND Ground
connectionpin.15 Connectorused:53261-1571(Molex)Compatibleconnector:51021-1500(Molex) CN10 Nameof Function signal VCC Pinforpower. +3.3Vsupplypin. D8(PD8)CPUI/OportPXXX D9(PD9)D10(PD10)D11(PD11)D12(PD12)D13(PD13)D14(PD14)D15(PD15)PA8PB5PA18PA19PA20GND Groundpin. connection 10.CN9SignalTableforAnalogInput PinnumberNameof Function signal
1 AVCC Analogpowersupplypin(+3.3V)
2 PF0 CPUinputportPXXX
3 PF1
4 PF2
5 PF3
6 AVSS Analoggroundconnectionpin. Connectorused:53261-0671(Molex) Compatibleconnector:51021-0600(Molex) 17/20 WESTTOKIWA 11.AddressMap *TheonboardCPUispresetsoastooperatebymode2(MD0=0MD1=1).*TheChinesecharacterROMarea,externalRAMarea,andLCDcontrollerareashavenotbeendecodedintheCSspace.*Formoredetails,refertotheRenesasSH7145serieshardwaremanual. 00000000H0003FFFFH 00200000H003FFFFFH 00400000H0047FFFFH 00800000H0081DFFFH :0081FFF9H0081FFFFH :00C00000H00FFFFFFH ROMwithbuilt-inCPUFree(ReservedforCPU)ChinesecharacterROM ImageExternalRAM ImageFramebufferforLCDcontroller FreeVariousregistersforLCDcontroller ImageFreespace CS0areaCS1areaCS2area CS3area 18/20 WESTTOKIWA 12.SelectionandPreparationofPeripheralParts
(1)SelectionofthemainpowersupplydevicePower-supplyvoltage:5V±0.4VConsumptioncurrent:1.0AMAXBootspeed:within300mSRipplenoise:within150mV
(2)ConnectionofeachunitRefertothestarterkitmanualforconnectingeachoftheunits.Useonlytheminimumlengthnecessaryforcables.Unnecessarilylongcablesmaycauseadecreaseintransmissionspeedsand/orintroducenoise.
(3)PoweringontheProductBeforepoweringon,carefullycheckallconnectionsfirst.Looseconnectionsmaycausedamagetoparts. 13.TechnicalDocumentationabouttheProduct TechnicalinformationabouttheProductiscontinuallyupdatedandpostedontheKenicsystemwebsite.PleasefeelfreetobrowseattheURLbelow. http://www.kenic.co.jp/ 19/20 WESTTOKIWA 14.DimensionalDrawingoftheBoard 20/20

标签: #什么是c位 #证书 #coke #牌子 #current #course是什么意思 #cny #条件