This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
resources:tools-software:uc-drivers:microchip:ad7980 [01 Oct 2012 16:45] – Fixed the generic driver link. Dragos Bogdan | resources:tools-software:uc-drivers:microchip:ad7980 [10 Jul 2013 12:44] – source code change and source code put on github Lucian Sin | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Downloads ===== | ===== Downloads ===== | ||
- | * {{: | + | |
- | * {{: | + | <WRAP round download 80%> |
* {{: | * {{: | ||
- | * {{: | + | * {{: |
+ | * **AD7980 Driver: | ||
+ | * **PmodAD4 Demo for PIC32MX320F128H: | ||
+ | * **PIC32MX320F128H Common Drivers: | ||
+ | </ | ||
====== Digilent Cerebot MX3cK Quick Start Guide ====== | ====== Digilent Cerebot MX3cK Quick Start Guide ====== | ||
Line 22: | Line 27: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * The AD7980 demonstration project for PIC32MX320F128H. | ||
+ | |||
+ | <WRAP round info 80%> | ||
+ | The AD7980 demonstration project for PIC32MX320F128H consists of three parts: the **AD7980 Driver**, | ||
+ | |||
+ | All three parts have to be downloaded. | ||
+ | </ | ||
+ | |||
==== Hardware Setup ==== | ==== Hardware Setup ==== | ||
Line 27: | Line 40: | ||
{{ : | {{ : | ||
+ | |||
+ | <WRAP round important round 80%> | ||
+ | \\ | ||
+ | * If you want to use AVDD > DVDD (= 3.3V) then JP3 on PmodAD4 must be removed. The range for AVDD is 3.0V ≤ AVDD ≤ 5.5V. | ||
+ | \\ | ||
+ | </ | ||
==== Reference Project Overview ==== | ==== Reference Project Overview ==== | ||
- | Following | + | The following |
^ Command ^ Description ^ | ^ Command ^ Description ^ | ||
| help? | Displays all available commands. | | | help? | Displays all available commands. | | ||
| voltage? | Initiates a conversion and displays the captured voltage. | | | voltage? | Initiates a conversion and displays the captured voltage. | | ||
- | | register? | Initiates a conversion and displays the raw data in decimal format. | | + | | register? | Initiates a conversion and displays the data register |
Commands can be executed using a serial terminal connected to the UART1 peripheral of PIC32MX320F128H. | Commands can be executed using a serial terminal connected to the UART1 peripheral of PIC32MX320F128H. | ||
- | The following image shows a list of commands in a serial terminal connected to processor’s UART peripheral. | + | The following image shows a generic |
{{ : | {{ : | ||
+ | |||
+ | <WRAP round important 80%> | ||
+ | * The reference voltage for the AD7980 is 2.5V. | ||
+ | * If you want to use another reference voltage, you will need to modify the constant VREF value in ‘PmodAD4 Demo’. The range for VREF is 2.4V ≤ VREF ≤ 5.1V. | ||
+ | </ | ||
==== Software Project Setup ==== | ==== Software Project Setup ==== | ||
Line 64: | Line 88: | ||
| help? | Displays all available commands. | | | help? | Displays all available commands. | | ||
| voltage? | Initiates a conversion and displays the captured voltage. | | | voltage? | Initiates a conversion and displays the captured voltage. | | ||
- | | register? | Initiates a conversion and displays the raw data in decimal format. | | + | | register? | Initiates a conversion and displays the data register |
Commands can be executed using a serial terminal connected to the UART1 peripheral of dsPIC33FJ128MC706A. | Commands can be executed using a serial terminal connected to the UART1 peripheral of dsPIC33FJ128MC706A. | ||
Line 74: | Line 98: | ||
{{page>: | {{page>: | ||
- | ====== Digilent Cerebot MX3cK Quick Start Guide - Arduino | + | ====== Digilent Cerebot MX3cK Quick Start Guide - chipKIT Project |
- | This section contains a description of the steps required to run the AD7980 | + | This section contains a description of the steps required to run the AD7980 |
==== Required Hardware ==== | ==== Required Hardware ==== | ||
Line 90: | Line 114: | ||
==== Reference Project Overview ==== | ==== Reference Project Overview ==== | ||
- | Following commands were implemented in this version of AD7980 | + | Following commands were implemented in this version of AD7980 |
^ Command ^ Description ^ | ^ Command ^ Description ^ | ||
| help? | Displays all available commands. | | | help? | Displays all available commands. | |