单片机第二次讲课研讨.pptVIP

  • 0
  • 0
  • 约1.9万字
  • 约 67页
  • 2017-05-08 发布于湖北
  • 举报
单片机第二次讲课研讨

開啟寄存器激励模擬 ( Register Stimulus ) Debug Simulator Stimulus Register Stimulus Enable 寄存器激励模擬 ( Register Stimulus ) 有何功能 ? 會直接由特定的寄存器直接輸入一 8 bit 数据 。 欲輸入的 16 進制值数据是從文件順序讀取 。 適合模擬 “串行信号輸入” 及 A/D 轉換結果 。 此模擬只能適合有锁存功能的寄存器,而一般 I/O端口 並無輸入锁存功能,所以無法模擬。 步驟 建立激励文件 ( File New adres.reg ) 輸入激励注入点程序地址的名稱或地址 ( 何時讀取文件数据 ) 輸入模擬的寄存器的名稱或地址 MPLAB-SIM 輸入模擬 (二) Register Stimulus 注意 寄存器激励范例 Register Stimulus 欲輸入到 ADRESH 的 16 進制值文件 ( adres.reg ) 欲模擬的寄存器 名稱或地址 激励注入处 程序地址 用硬件仿真软件 PROTEUS 软件安装问题 Thank you for your attention Any questions? * TelCom’s products have virtually no overlap with current and future Microchip analog products. The green shows blocks where Microchip is strong and grey shows where TelCom is strong. Orange color show where both companies have strength. Of the 230 products currently offered by TelCom in 10 distinct product areas surrounding the microcontroller, Microchip estimates that 150 of these products can attach to our PIC microcontrollers. The combined footprint of both companies significantly increases our presence in interface, power management, amplifiers, power drivers and sensors. * * * 4 * 6 * 9 * 9 * * 20 In order to keep the power consumption at a minimum, the user should add a diode in series between the RB.0 PIN and the R resistor . Then there will be the need to bias the diode with a big (1 or 2Mohm ) resistor connected between RB.0 and GND. This will reduce the current consumption on the R resistor when the RB.0 port is in Input mode, otherwise the current is always drawn due to the switching on the OSC input. R RB.0|diode|/\/\/\| | | | +5V /\/\/\| / 10R | \ / 1Mohm _____ \ | | | GND GND Using an I/O pin driving a smaller value R for the RC oscillator for dual-speed operation is worth consideration. R RB.0/\/\/\| | +5V /\/\/\| 10R | _____ | | GND A tighter firmware 16-bit capture mode u

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档