您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > 48嵌入式开发ARM7实验手册(附录)
1Proteus-Keil嵌入式开发实验手册(附录)作者:陈拓2007年6月27日最后修改日期:2007年7月22日目录(附录)一、附录1:Proteus自带的范例二、附录2:Proteus仿真库简介元件名称三、附录3:LPC2124存储器寻址四、附录4:GPIO五、附录5:各种ARM编译器比较六、附录6:KeilCARM启动文件Startup.s七、附录7:KeilGCC启动文件Startup.s2附录1:Proteus自带的范例我们从第一组看起。GraphBasedSimulation组。基于图表的模拟这一组共有43个例子按照字母顺序排列如下:1.16l8.DSNPLD(ProgrammableLogicDevice)Sample可编程逻辑器件例子I01I12I23I34I45I56I67I78I89I911O019IO118IO217IO316IO415IO514IO613O712U1AM16L8FILE=ANDORXORTDLH=15nTDHL=15nI0WIDTH=2uQ0V=SHIQ1V=SLOQ2V=SLOI1MARK=3uSPACE=5u2.22v10.DSNPLDSample可编程逻辑器件例子I0/CLK1I12I23I34I45I56I67I78I89I910I1011I1113IO023IO122IO221IO320IO419IO518IO617IO716IO815IO914U1AM22V10FILE=COUNT8TDLH=15nTDHL=15nU1(IO0)U1(IO1)U1(IO2)U1(IO3)U1(IO4)U1(IO5)U1(IO6)U1(IO7)U1(IO8)U1(IO9)U1(I0/CLK)WIDTH=1uSTART=10u***ThisscriptcontainsthePLDsource***codeandJEDECfileforan8bitupcounter***withpreload.Toseetherestofthescript***pointatitandpressCTRL-E.*SCRIPTPAL_JEDEC_FILECOUNT8TherestoftheJEDECfileishiddeninhere...*ENDSCRIPT3.393_154.DSNGlithHandlingBehaviour短时脉冲波形干扰CLK1Q03Q14Q25Q36MR2U1:A74LS393A23B22C21D20E118E219011223344556677889910101111131214131514161517U274154TGQ=1nU2(0)U2(1)U2(2)U2(3)U2(4)U2(5)U2(6)U2(7)U2(8)U2(9)U2(10)U2(11)U2(12)U2(13)U2(14)U2(15)U1:A(CLK)U1:A(Q0)U1:A(Q1)U1:A(Q2)U1:A(Q3)4.741.DSN741Op-AmpModel741运算放大器BATP115BATN115R310kRB110kRF210k3267415U1741OUTPUTINPUTAMP=1FREQ=1k5.741chain.DSN741ChainSample741运算放大器链6.741noise.DSN741NoiseAnalysis741运算放大器噪声分析3GNDBATP115BATN115R3100000RB11000RF2500003267415U17413267415U27413267415U37413267415U47413267415U67413267415U57413267415U7741U7(OP)VGEN13FREQ=2VGEN1(+)BATP115BATN115R350000RB11kRF2500003267415U1741OUTPUTINPUTAMP=1FREQ=1k7.7493.DSNDigitalBASICModel数字基础模块CKA14QA12CKB1QB9QC8QD11R0(1)2R0(2)3U17493PRIMITIVE=DIGITALSCRIPT=7493ABCDCLOCKRESET8.74259.DSNDigitalBASICModel数字基础模块D13Q04Q15A01Q26A12Q37A23Q49Q510LE14Q611MR15Q712U174259PRIMITIVE=DIGITALSCRIPT=74XX259INIT=1U1(A0)WIDTH=1uU1(A1)WIDTH=2uU1(A2)WIDTH=4uU1(D)INIT=HIGHSTART=18uWIDTH=250nU1(MR)WIDTH=32uSTART=32uU1(LE)WIDTH=32uSTART=16uU1(Q0)U1(Q1)U1(Q2)U1(Q3)U1(Q4)U1(Q5)U1(Q6)U1(Q7)9.ADC0808.DSNConverterModelA/D转换器模块OUT121ADDB24ADDA25ADDC23VREF(+)12VREF(-)16IN31IN42IN53IN64IN75START6OUT58EOC7OE9CLOCK10OUT220OUT714OUT615OUT817OUT418OUT319IN228IN127IN026ALE22U1ADC0808RV11kU1(CLOCK)U1(ALE)U1(EOC)U1(OUT1)U1(OUT2)U1(OUT3)U1(OUT4)U1(OUT5)U1(OUT6)U1(OUT7)U1(OUT8)U1(OE)U1(START)10.ADC0831.DSNConverterModelA/D转换器模块CS1VIN(+)2VIN(-)3CLK7VREF5DO6U1ADC0831MODFILE=ADC0831+5VRV11kU1(CLK)U1(CS)U1(DO)11.Cmosmono.DSNMonostable单稳态电路12.Counter5.DSN5-BitCounter5位计数器4123U1:A4001564U1:B4001R11M58910U1:C4001121311U1:D4001VDDINPUTNPULSE=100mFOR1uU1:C(A)U1:A(Y)U1:B(B)C1470nU1:B(Y)D11N4148OUTPUTCLK1Q03Q14Q25Q36MR2U1:A74LS393CLKWIDTH=500nU1:A(Q0)U1:A(Q1)U1:A(Q2)U1:A(Q3)123U2:A74LS08RESET13.Crystal.DSNOscillatorModel晶体振荡器X1CRYSTALFREQ=1MVINR11kVOUT14.DAC0808.DSNConverterModelD/A转换器模块A26VREF+14VEE3A15IOUT4A37A48A59A610A711A812VREF-15COMP16U1DAC0808CLK1Q03Q14Q25Q36MR2U2:A74LS393CLK13Q011Q110Q29Q38MR12U2:B74LS393U2:A(CLK)-5VR15.00kR21k+10VR35.00kC10.1u(OP)U2:A(Q0)U1(A1)U1(A2)U1(A3)U1(A4)U1(A5)U1(A6)U2:A(Q1)15.Diode.DSNDigitalDiodeSample数字二极管例子D1DIODEINPUTWIDTH=1uD5DIODED2DIODED6DIODER1RESVCCGNDR2RESR3RESR4RESVCCGNDD4DIODED4(A)D1(K)D2(K)D5(A)D6(A)D3DIODED3(K)16.Ff.DSNAnalogueFlipFlop模拟双稳态多谐振荡器VPOSIC=0IC=10B110Q1BC108C150nC250nRL1500RB150kRB250kRL2500Q2BC108RL1(1)RL2(1)Q2(B)Q1(B)17.Fourier.DSNFourierGraphSample傅立叶图象例子18.Invosc.DSNInverterOscillator变极振荡器IC=1U1(Q)AD1TTLADCU1INVERTERTDHLDQ=20nTDLHDQ=20nAD1(D)DA1DACRLO=10RHI=100VHI=5VUD=2C122uR12k2U2(Q)AD2TTLADCU2INVERTERTDHLDQ=20nTDLHDQ=20nAD2(D)DA2DACRLO=10RHI=100VHI=5VUD=2R22k2DA1(A)DA2(A)C222uAD1(A)AD2(A)5IN1FREQ=1000AMP=1OUTIN2FREQ=3000AMP=1/3IN3FREQ=5000AMP=1/5IN4FREQ=7000AMP=1/7SQUAREFREQ=1000LOW=0.8HIGH=-0.8SQUARER11R2119.Lpf.DSNLowPassFilter低通滤波器F1LPFFREQ=10kIMP=33kIPOPIPFREQ=1kOP20.Mixed.DSNMixedModeSimulation混合模式模拟D[0..7]A[0..10]D7D0D1D2D3D4D5D6A5A8A9A10A2A3A4A1A0D09D110D211D312D413D51D62D73VRO6VRI5VOUT4U1ZN426R1390C11uVCCDACE18OE20VPP21U22716VCCD03Q014D14Q113D25Q212D36Q311RCO15ENP7ENT10CLK2LOAD9MR1U374LS161D03Q014D14Q113D25Q212D36Q311RCO15ENP7ENT10CLK2LOAD9MR1U474LS161VCCVCC12U5:A74LS0434U5:B74LS04R4DC7Q3GND1VCC8TR2TH6CV5U6555R26k8R39k1C21nVCCVCCC310n1234J1WAFEFORMSELECTR44k7R54k7VCCA6A7FLTR1LPFILTERR=100kC=100pR_FB=5k6IPOP12J2OUTPUT1234J3POWERVCC+15V-15VU3(CLK)WIDTH=8uA1A0*SCRIPTPROGRAMROMSCRIPTPINA[0..7],D[0..7]=0IFEVTTIME300nSUSPENDFOR150nD=A*16AFTER50nENDIF*ENDSCRIPTD[0..7]A[0..10]+5OPIP21.Mutual1.DSNMutualInductance互感器(例1)L1:A1MUTUAL_B=0.5L1:B1VINR21kVBR11E-322.Mutual2.DSNMutualInductance互感器(例2)L1:A1MUTUAL_B=KMUTUAL_C=KL1:B1MUTUAL_C=KVINR21kVBR31kVCL1:C1*DEFINEK=0.95R11E-323.plltype1.DSNPLLSimulation锁相换模拟(例1)24.Plltype2.DSNPLLSimulation锁相换模拟(例2)6vcoVCO1VCOFMIN=750GAIN=50FILTER2F1FILTERR=100kC=80nR_FB=5k6IPOPU1XOR_2TDLHDQ=10nTDHLDQ=10nVCO1(OP)F2FILTERR=100kC=80nR_FB=5k6IPOPIPFILTER150HzWIDTH=20mCLK10MR11Q09Q17Q26Q35Q43Q52Q64Q713Q812Q914Q1015Q111U24040VOLTAGE=5VIC=0vcoVCO1VCOFMIN=600GAIN=80VCO1(OP)FILTER150HzWIDTH=20mCLK10MR11Q09Q17Q26Q35Q43Q52Q64Q713Q812Q91
本文标题:48嵌入式开发ARM7实验手册(附录)
链接地址:https://www.777doc.com/doc-5928143 .html