⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abstract.txt

📁 ADuC7020/26是ADI模拟公司开发的ARM7TDMI内核
💻 TXT
字号:
The DAC project is a program for the ADuC7026
using Analog Devices ADuC7026 Evaluation Board.

It demonstrates the use of the on-board DAC for sine wave generation. 


Note 1:	Changing between C files
Note 2:	Using the Simulator


Note 1:
-------
The default example uses the core clock. A second example where the 
approximation of the sine wave can be varied example is also included 
with this project. To view this examples, the 'DACsine.c' C source file 
needs to be replaced with the appropriate C source file. 

Instructions to do this are as follows:

* In the Project Workspace window, right click on the 'DACsine.c'
  file in the 'C Source File' folder. 

* Select ' Remove 'DACsine.c' '.

* Right click on the 'C Source File' folder and select 'Add 
  files to Group 'C Source File' '.

* Choose the required file from the DAC folder ('DACSineClk.c').

* Compile and run as normal.


Note 2:	
-------
For this Project, the simulator can be used to simulate the DAC output signal 
on pin 10 (DAC 1). This can be set up as follows:

* On the toolbar, click the drop down arrow on the 'Select Target' box and choose
  DAC Simulator if it is not already selected.

* Run Debug Mode

* Click on the Logic Analyzer icon in the Toolbar (Appears as black 
  box with coloured lines).

* When the Logic Analyzer window appears, click the 'setup' button.

* Click the 'New' icon at the top of the setup window.

* Type 'DAC1' in the box to identify the output pin you wish to analyze.

* Set Max Value to 3.3

* Close the setup window

* Click the 'Run' button to run the Debugger.

* Stop the Debugger running at a suitable point

* The simulation output can be seen in the Logic Analyzer window. Initially,
  it may not be possible to view the wavefrom properly if the time scale is 
  too big. Clicking the 'In' in the Zoom section of the toolbar will zoom in
  on the graph, allowing the signal to be viewed more clearly.








⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -