readme.txt
来自「PIC30F系列单片机SPI接口程序例程」· 文本 代码 · 共 32 行
TXT
32 行
Readme File for Code Example:
CExxx -- SPI no DMA
---------------------------------------------------
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:
----------------------------
This code example shows using a single SPI module in conjunction with a GPIO to generate an SPI communication that will work with most SPI Slave devices.
Slave Select ---------------------------------------------| |-----------------
|_______________________________|
SCLK xxxxxxxxxx |-| |-| |-| |-| |-| |-| |-| |-| xxxxxxxxxx |-| |-| |-| |-| |-| |-| |-| |-| xxxxxxxxxx
xxxxxxxxxx_| |_| |_| |_| |_| |_| |_| |_| |_xxxxxxxxxx_| |_| |_| |_| |_| |_| |_| |_| |_xxxxxxxxxx
SDO xxxxxxxxxx d7 d6 d5 d4 d3 d2 d1 d0 xxxxxxxxxx d7 d6 d5 d4 d3 d2 d1 d0 xxxxxxxxxx
The code sends from 00h through FFh and then cycles through again. A delay was added to permit catching the output on a logic analyzer easier.
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 + =
减小字号Ctrl + -
显示快捷键?