PIC24H-Starter-Kit-1

所属分类:单片机开发
开发工具:C/C++
文件大小:1264KB
下载次数:12
上传日期:2012-11-30 21:34:55
上 传 者shenkepa
说明:  MicroChip单片机之Pic24H开发例程
(The Pic24H Starter kit from Microchip)

文件列表:
PIC24H Starter Kit 1\External_Sensor_Demo\External_Sensor_Demo.dmci (333144, 2012-02-07)
PIC24H Starter Kit 1\External_Sensor_Demo\External_Sensor_Demo.mcp (1430, 2012-02-07)
PIC24H Starter Kit 1\External_Sensor_Demo\gld\p24HJ128GP504.gld (64987, 2012-02-07)
PIC24H Starter Kit 1\External_Sensor_Demo\gld (0, 2012-03-04)
PIC24H Starter Kit 1\External_Sensor_Demo\h\adcDrv1.h (2726, 2012-02-07)
PIC24H Starter Kit 1\External_Sensor_Demo\h\p24HJ128GP504.h (291333, 2012-02-07)
PIC24H Starter Kit 1\External_Sensor_Demo\h (0, 2012-03-04)
PIC24H Starter Kit 1\External_Sensor_Demo\src\adcDrv1.c (6568, 2012-02-07)
PIC24H Starter Kit 1\External_Sensor_Demo\src\getErrLoc.s (2896, 2012-02-07)
PIC24H Starter Kit 1\External_Sensor_Demo\src\main.c (4871, 2012-02-07)
PIC24H Starter Kit 1\External_Sensor_Demo\src\traps.c (5025, 2012-02-07)
PIC24H Starter Kit 1\External_Sensor_Demo\src (0, 2012-03-04)
PIC24H Starter Kit 1\External_Sensor_Demo (0, 2012-03-04)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\gld\p24HJ128GP504.gld (64987, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\gld (0, 2012-03-04)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\Accelerometer.h (3996, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\AccGraph.h (4342, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\ExtSensor.h (3179, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\G711.h (3025, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\Games.h (8393, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\GraphicsConfig.h (7118, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\HardwareProfile.h (8484, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\Main.h (9930, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\Orientation.h (3385, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\p24HJ128GP504.h (291333, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\SK_PIC24H.h (3073, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\Speaker.h (6012, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\Timers.h (3129, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h\Utility.h (3135, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\h (0, 2012-03-04)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\MPLAB.X\build\default\production\_ext\1360937237\Accelerometer.o.d (1429, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\MPLAB.X\build\default\production\_ext\1360937237\AccGraph.o.d (1414, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\MPLAB.X\build\default\production\_ext\1360937237\ExtSensor.o.d (1433, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\MPLAB.X\build\default\production\_ext\1360937237\G711.o.d (64, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\MPLAB.X\build\default\production\_ext\1360937237\Games.o.d (1405, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\MPLAB.X\build\default\production\_ext\1360937237\Gentium8.o.d (72, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\MPLAB.X\build\default\production\_ext\1360937237\Main.o.d (1390, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\MPLAB.X\build\default\production\_ext\1360937237\Orientation.o.d (1439, 2012-02-07)
PIC24H Starter Kit 1\MPLAB_Starter_Kit_for_PIC24H_Demo\MPLAB.X\build\default\production\_ext\1360937237\Pictures.o.d (72, 2012-02-07)
... ...

Readme File for Code Example: MPLAB Starter Kit for PIC24H MCU External Sensor Demo using 12-bit ADC and DMA ---------------------------------------- This file contains the following sections: 1. Code Example Description 2. Folder Contents 3. Suggested Development Resources 4. Revision History 1. Code Example Description: ---------------------------- This demo will run on the MPLAB Starter Kit for PIC24H MCU. The demo captures sensor signal samples coming from an external analog sensor. The sensor signal flows through a differential amplifier and a low pass anti-aliasing filter. The application uses the 12-bit on-chip ADC with the DMA in ping-pong buffering mode. Add the code for processing the sensor samples in the ProcessBuffer() function provided in main.c.(optional) Refer to the MPLAB Starter Kit for PIC24H MCU User Guide for more details on starter kit. Follow these steps prior to running the demonstration On the starter kit board: 1. Plug in the external sensor differential outputs at input points TP11 and TP12. (For a description of the range of sensors that are compatible refer to the MPLAB Starter Kit for PIC24H MCU User Guide.) 2. Open the MPLAB workspace External_Sensor_Demo.mcw. 3. Compile the code and program the dsPIC. 4. Put breakpoint inside the ProcessBuffer() function. 5. In MPLAB click on Tools -> Data Monitor and Control Interface to Open DMCI tool. When DMCI window opens up, click on the Dynamic Data View tab. Click on the Load Profile button in the DMCI window. Load the profile from the parent directory: External_Sensor_Demo.dmci 6. Click Run. 7. When the program halts at the breakpoint observe the pin-pong buffers (BufferA and BufferB) for the sensor signal samples captured. The output buffer can also be observed for the processed signal if the ProcessBuffer() function is populated with the data processing code. 2. Folder Contents: ------------------- This project folder contains the following sub-folders: a. h This folder contains include files for the code example. b. src This folder contains all the C and Assembler source files (*.c, *.s) used in demonstrating the described example. 3. Required Development Resources: ----------------------------------- MPLAB Starter Kit for PIC24H MCU. 4. Revision History : --------------------- 08/29/2008 - Initial Release of the Code Example 07/06/2009 - Updated to release with Microchip Graphics Library

近期下载者

相关文件


收藏者