CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 单片机(51,AVR,MSP430等)

文件名称:shiyan3

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2013-09-22
  • 文件大小:
    23.35kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!
电信下载 联通下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。

介绍说明--下载内容来自于网络,使用问题请自行百度

开发环境:unSP IDE 2.0.0

实验目的:

1)了解SPCE061 PLL 振荡器的功能及其应用。

2)掌握系统时钟单元P_SystemClock的设置方法。

3)熟悉系统时钟和CPU时钟频率的编程方法。

实验设备:

1)装有µ ’nSP™ IDE仿真环境的PC机一台。

2)µ ’nSP™ 十六位单片机实验箱一个。

3)示波器一台。

实验原理:

在SPCE061A内,P_SystemClock(写)($7013H)单元控制着系统时钟和CPU时钟。通过设置该单元的B5-B7位可以改变系统时钟的频率(Fosc=20/24/32/40/49MHz);将第0-2位置为“111”可以使CPU时钟停止工作,系统切换至低功耗的备用状态。在备用状态下,通过设置该单元的B4位可以接通或关闭32KHz实时时钟。而且通过设置该单元的B3位可以使32768Hz时钟处自动弱振或强振状态。本实验通过选择不同Fosc信号频率或改变CPUClk频率来观察发光二极管亮灭的快慢。

实验步骤:

1)根据实验内容连接硬件电路并检查。

2)画流程图并编写程序代码。

3)编译程序,软件调试。

4)观察LED亮灭的快慢,并通过示波器观察波形。

要求: LED亮灭的快慢及通过示波器观察波形反映的定时信号与设计一致.

(综合要求:要能通过键盘动态改变系统时钟和CPU时钟频率。)-The experiment:

1) Learn SPCE061 PLL oscillator function and its application.

2) master the system clock unit P_SystemClock setting method.

3) familiar with the system clock and CPU clock frequency programming method.

Laboratory equipment:

1) with μ nSP ™ IDE emulation environment for PC machine.

2) μ nSP ™ 16 single-chip experiment box one.

3) an oscilloscope.

Experimental principle:

In SPCE061A inside, P_SystemClock (W) ($ 7013H) unit controls the system clock and CPU clock. By setting the unit B5-B7 bit can change the system clock frequency (Fosc = 20/24/32/40/49MHz) 0-2 position of the first "111" can make the CPU clock is stopped, the system switches to low standby power. In the standby state, by setting the unit can be switched on or off B4 32KHz bit real time clock. And by setting the unit B3 bit 32768Hz clock can automatically at the weak state of vibration or strong vibration. This experiment by choosing different Fosc frequency signal frequency or change
(系统自动生成,下载前可以参看下载内容)

下载文件列表

shiyan3/hardware.h
shiyan3/hardware.inc
shiyan3/main.asm
shiyan3/Makefile
shiyan3/Passpoint_Register.txt
shiyan3/Passpoint_Result.txt
shiyan3/shiyan3.h
shiyan3/shiyan3.lik
shiyan3/shiyan3.opt
shiyan3/shiyan3.rc
shiyan3/shiyan3.set
shiyan3/shiyan3.spj
shiyan3/SPCE061A.h
shiyan3/SPCE061A.inc
shiyan3/Device.env
shiyan3/Resource.asm
shiyan3/Resource.inc
shiyan3/Debug/main.lst
shiyan3/Debug/main.obj
shiyan3/Debug/Resource.lst
shiyan3/Debug/Resource.obj
shiyan3/Debug/shiyan3.ary
shiyan3/Debug/shiyan3.sbm
shiyan3/Debug/shiyan3.sym
shiyan3/Debug/shiyan3.S37
shiyan3/Debug/shiyan3.smy
shiyan3/Debug/shiyan3.map
shiyan3/shiyan3.env
shiyan3/Debug
shiyan3

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com

浏览历史记录

关闭