📄 ce115_readme.txt
字号:
Readme File for Code Example:
CE115 - DMA Trap
---------------------------------------------------
This file contains the following sections:
1. Code Example Description
2. Folder Contents
3. Suggested Development Resources
4. Reconfiguring the project for a different dsPIC33F device
5. Revision History
1. Code Example Description:
----------------------------
DMA generates trap error in the following conditions.
DMA Write collision:
DMA write collision occurs when both DMA module and CPU tries to write
to the same DMA RAM memory location.
Peripheral Write Collision:
Peripheral write collision occurs when both DMA module and CPU tries to write
to the same peripheral SFR.
In this code example, UART is configured to contineously transmit/receive data in loop-back mode.
In the back-ground loop, CPU tries to write to DMA RAM or peripheral SFR to create DMA trap condition.
Select the required condition using the following macro in main.c function to generate DMA trap.
// Source Selection for Trap Creation
#define PER_WRITE_COL 1
#define DMA_WRITE_COL 0
2. Folder Contents:
-------------------
This folder contains the following sub-folders:
a. C:\Program Files\Microchip\MPLAB C30\support\gld
This folder will have the device GLD file, it is used for building the project.
This file was provided with the MPLAB
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -