CE135_SPI_Demo
所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:105KB
下载次数:4
上传日期:2009-09-11 11:21:48
上 传 者:
dale39
说明: SPI应用原代码,谢谢大家支持,谢谢!谢谢!
(SPI application source code, thank you for support, thank you! Thanks!)
文件列表:
CE135_SPI_Demo\adcDrv1.c (5351, 2007-09-11)
CE135_SPI_Demo\adcDrv1.h (2746, 2007-09-11)
CE135_SPI_Demo\commonvars.h (89, 2007-04-18)
CE135_SPI_Demo\delay.c (3285, 2007-09-11)
CE135_SPI_Demo\delay.h (2669, 2007-09-11)
CE135_SPI_Demo\lcd.c (6057, 2007-09-11)
CE135_SPI_Demo\lcd.h (3093, 2007-09-11)
CE135_SPI_Demo\main.c (11496, 2007-09-12)
CE135_SPI_Demo\SPI_Demo.mcp (1572, 2009-08-13)
CE135_SPI_Demo\SPI_Demo.mcw (74240, 2009-08-13)
CE135_SPI_Demo\traps.c (5708, 2007-09-11)
CE135_SPI_Demo\adcDrv1.o (222985, 2009-08-26)
CE135_SPI_Demo\delay.o (1504, 2009-08-26)
CE135_SPI_Demo\lcd.o (223318, 2009-08-26)
CE135_SPI_Demo\main.o (228608, 2009-08-26)
CE135_SPI_Demo\traps.o (223064, 2009-08-26)
CE135_SPI_Demo\SPI_Demo.map (129275, 2009-08-26)
CE135_SPI_Demo\SPI_Demo.mcs (3078, 2009-08-26)
CE135_SPI_Demo (0, 2009-08-26)
This project requires a small amount of soldering prior to operation.
Additionally, it will require the purchase of two Microchip Pictail boards.
The MCP6SX2DM-PCTLPD Pictail Photodiode board, and
The AC1***126 - Prototype PICtail Plus Daughter Board
As well as the HPC16 Explorer board.
Make the following connections between the two Pictail boards:
Photodiode board, Pin 5 to Prototype board, RF6
Photodiode board, Pin 6 to Prototype board, RB2
Photodiode board, Pin 10 to Prototype board, RB8
Photodiode board, Pin 12 to Prototype board, RF8
Photodiode board, Pin 13 to Prototype board, +3.3V
Photodiode board, Pin 14 to Prototype board, GND
Plug the Prototype board into the HPC16 explorer, with the
dsPIC33FJ256GP710 PIM installed and install/run the code.
Keypress map:
S6 = Rotate between Analog Inputs Potentiometer, Temp Sense, PGA
S3 = Change input channel of PGA IF PGA is selected
S4 = Change gain of PGA Via SPI IF PGA is selected
Operation - The board will initialize with a splash screen. Pushing S3
begins the true program. Select PGA as the Analog Input. At that point,
The SPI port will send signals to the MCP6S22 PGA. The PGA has no digital
information to send back to the PIC, so there is no connection from the
PGA Serial Data Out to the PIC. (this conserved IO on the PGA)
近期下载者:
相关文件:
收藏者: