您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 冶金工业 > FS2410中CS8900A IO模式驱动分析
ShenzhenFarsightInc.yangzhipingsx@163.com——————————————————————————————————————————————————————————————————————yangzhipingsx@163.com1FS2410CS8900AI/Oyangzhipingsx@163.com2010-5-10------------------------------------------------------------------------------------------------------------------------:yangzhipingsx@163.comFS2410CS8900Au-boot-1.3.4CS8900AI/Ou-boot-1.3.4CS8900Atftp/pingu-boot1.FS2410CS8900ACS8900AEEPROMS3C2410CS8900A-CQ3Z3.3V8.2page121,DVDD9225669DVSS81023555770,AVDD[908595],AVSS[189869496]12fs241020.1uFRES-pin934.99/-1%kohm,CS8900A20MHz1FS241020MHzXTAL1(pin97)XTAL2pin98;220MHzXTAL1XTAL2EEPROMbootPROMFS2410EEPROM,pin2(nELCS)pin3EECSEEPROMEEPROMpin4(EESKEEPROM)pin5EEDataOutEEPROMpin6(EEDataInEEPROM)17nCSOUTEEPROMCS8900AbootPROMShenzhenFarsightInc.yangzhipingsx@163.com——————————————————————————————————————————————————————————————————————yangzhipingsx@163.com210BASE-T/AUIfs241010BASE-T,10BASE-TTXDpin87/TXDpin88,RXDpin91/pin92RXD,111-110BASE-TAUIAttachmentUnitInterfaceDOpin83/DO-pin84DIpin79/DI-pin80CIpin81/CI-pin82AUIcollisionin.CS8900ACS8900A20SA019S3C2410Addr0-Addr19SA0SA15I/O,SA0-SA19SA0SA19CS8900AI/OBOOTPROMSD0SD1516S3C2410CS8900AS3C2410data0-data15.CS8900ARESETpin75,cs8900Acs8900A400nsCS8900AresetCS8900AIOCHRDYpin64I/OChannelReadyOpen-drainOutput.S3C2410nWaitI/ORegister17IOCHRDYEAENpin63,S3C2410nGCS3IOnGCS3bankCPUnGCS3AENnCHIPSELpin7S3C2410nGCS3nSBHEpin36,S3C2410nWBE,IOCS8900AS3C2410I/OS3C2410A27128MbankShenzhenFarsightInc.yangzhipingsx@163.com——————————————————————————————————————————————————————————————————————yangzhipingsx@163.com3nIOR/nIOW1-2:nMEMR/nMEMW1-3:I/Omodecs8900aI/OI/OAENfs410s3c2410nGCS3I/OI/OAENislow;IORislow;16bitsI/OISAsystemaddressbusSA0~SA15I/OAENislow;IOWislow;16bitsI/OISAsystemaddressbusSA0~SA15FS2410CS8900ASA0SA19S3C2410ADDR0-ADDR19SA0-SA15CS8900AS3C2410bank30x18000000;fs2410.hCS8900A0x19000300u-bootcs890019000300fs2410cs8900s3c2410nGCS3,nGCS30x18000000,12ADDR24CS8900A13ADDR24nGCS31213addr24I/OMEMaddr241cs8900I/OMEMaddr24=1u-bootcs8900ShenzhenFarsightInc.yangzhipingsx@163.com——————————————————————————————————————————————————————————————————————yangzhipingsx@163.com4I/O0x1900000000011001addr241000000000000000000000000bit9-bit8=1:cs8900adatasheet-4.10:cs8900300HOnpowerup,thedefaultvalueoftheI/Obaseaddressissetat300h.--Notethat300histypicallyassignedtoLANperipherals.theI/Obaseaddressmaybechangedtoanyavailablexxx0hlocation,eitherbyloadingconfigurationdatafromtheEEPROM,orduringsystemsetup.2.CS8900AI/OCS8900PacketPageArchitecturePacketPageProvidesaunifiedwayofcontrollingtheCS8900AinMemoryorI/OspacethatminimizesCPUoverheadCPU)andsimplifiessoftware.CS8900A4KbytesRAMPacketPage,4kbytesPacketPage12i/OI/OISAI/OCS8900ACS8900AhostCS8900AI/OPacketPageMemoryportion()0000h----0045h------------BusInterfaceRegisters-----ISA0100h----013Fh------------StatusandControlRegisters4.4page460140h----014Fh------------InitialTransmitRegisters--4.5page70&5.7page980150h----015Dh-----------AddressFilterRegisters--(DestinationAddress)--4.6page71&5.3page860400h-----------------------ReceiveFrameLocationhostcs89000A00h-----------------------TransmitFrameLocationCS8900AIOI/O816I/OportPacketPage816I/Oporthostsystem'sI/Ospace16I/Olocations.CPUCS890016portShenzhenFarsightInc.yangzhipingsx@163.com——————————————————————————————————————————————————————————————————————yangzhipingsx@163.com5I/Ooffsettypedescription0000hr/wreceive/transmitdata-port0--port016bits0002hr/wreceive/transmitdata-port1--port0&port132bits0004hwoTxCMD(transmitcommand)0006hwoTxLength(transmitlength)0008hroInterruptStatusQueue000Ahr/wPacketPagePointer000Chr/wPacketPagedata-port0000Ehr/wPacketPagedata-port1PacketPointerport(IOBase+000Ah),PacketPagedata-port0port12112bit0~bitBbitC~bitE011b,bitF,thePacketPagePointer21ShenzhenFarsightInc.yangzhipingsx@163.com——————————————————————————————————————————————————————————————————————yangzhipingsx@163.com6InterrupyStatusQueue(ISQ)hostRegister0:InterruptStatusQueue-ISQ--Readonly.Address:PacketPagebase+0120h(I/Ohost),resetvalue=0000000000000000ISQ,RxEvent(Register4)TxEvent(Register8)BufEvent(RegisterC)RxMISS(Register10)TxCOL(Register12)RxEventTxEventISQBudEventRxMISSTxCOLISQISQRxEventTxEventBufEventRxMISSTxCOLhostISQI/OISQI/OBase+0008hMemoryModePacketPagebase+0120hdatasheetp78;ISQ22HostISQ,ISQHostISQhostISQhostnull0000hShenzhenFarsightInc.yangzhipingsx@163.com——————————————————————————————————————————————————————————————————————yangzhipingsx@163.com722CS8900AISQ16bitsbit0~bit54--register4bit6~bit15INTRQxInterruptNumberRegister(PacketPageBase+22h),EnableIRQBusControlRegisterRegister17'sbit-FCS8900ISQINTRQNULLShenzhenFarsightInc.yangzhipingsx@163.com——————————————————————————————————————————————————————————————————————yangzhipingsx@163.com80000h1.6usInterruptNumber(r/wAddress:PacketPagebase+0022h)Address=0022h:Interruptnumberassignment:00000000b=pi
本文标题:FS2410中CS8900A IO模式驱动分析
链接地址:https://www.777doc.com/doc-4601038 .html