Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
resources:tools-software:uc-drivers:microchip:ad7980 [09 Oct 2012 09:09]
DragosB Replaced Arduino with chipKIT.
resources:tools-software:uc-drivers:microchip:ad7980 [10 Jul 2013 12:44]
LucianS source code change and source code put on github
Line 7: Line 7:
  
 ===== Downloads ===== ===== Downloads =====
-  * {{:​resources:​tools-software:​uc-drivers:​ad7980_generic.zip|AD7980 Generic Driver}} ​ + 
-  * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7980_pic32.zip|AD7980 PIC32 Driver}}+<WRAP round download 80%>
   * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7980_dspic33.zip|AD7980 DSPIC33 Driver}}   * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7980_dspic33.zip|AD7980 DSPIC33 Driver}}
   * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7980_arduino.zip|AD7980 chipKIT Driver}}   * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7980_arduino.zip|AD7980 chipKIT Driver}}
 +  * **AD7980 Driver: ​          ** https://​github.com/​analogdevicesinc/​no-OS/​tree/​master/​drivers/​AD7980
 +  * **PmodAD4 Demo for PIC32MX320F128H:​ ** https://​github.com/​analogdevicesinc/​no-OS/​tree/​master/​Microchip/​PIC32MX320F128H/​PmodAD4
 +  * **PIC32MX320F128H Common Drivers: ​  ** https://​github.com/​analogdevicesinc/​no-OS/​tree/​master/​Microchip/​PIC32MX320F128H/​Common
 +</​WRAP>​
 +
  
 ====== Digilent Cerebot MX3cK Quick Start Guide ====== ====== Digilent Cerebot MX3cK Quick Start Guide ======
Line 22: Line 27:
   * [[http://​www.microchip.com/​mplabx|MPLAB X Integrated Development Environment]]   * [[http://​www.microchip.com/​mplabx|MPLAB X Integrated Development Environment]]
   * [[http://​www.microchip.com/​mplabxc|MPLAB XC32 compiler]]   * [[http://​www.microchip.com/​mplabxc|MPLAB XC32 compiler]]
 +  * The AD7980 demonstration project for PIC32MX320F128H.
 +
 +<WRAP round info 80%>
 +The AD7980 demonstration project for PIC32MX320F128H consists of three parts: the **AD7980 Driver**, ​ the **PmodAD4 Demo for PIC32MX320F128H** and the **PIC32MX320F128H Common Drivers**.
 +
 +All three parts have to be downloaded.
 +</​WRAP>​
 +
  
 ==== Hardware Setup ==== ==== Hardware Setup ====
Line 27: Line 40:
  
 {{ :​resources:​tools-software:​uc-drivers:​microchip:​pmod_ad4_pic32.jpg?​ |}} {{ :​resources:​tools-software:​uc-drivers:​microchip:​pmod_ad4_pic32.jpg?​ |}}
 +
 +<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.
 +\\
 +</​WRAP>​
  
 ==== Reference Project Overview ==== ==== Reference Project Overview ====
-Following ​commands were implemented in this version of AD7980 reference project for Cerebot MX3cK board.+The following ​commands were implemented in this version of AD7980 reference project for Cerebot MX3cK board.
 ^ 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 ​in decimal format. |
  
 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 ​list of commands in a serial terminal connected to processor’s UART peripheral.
 {{ :​resources:​tools-software:​uc-drivers:​microchip:​terminal_pic32.png?​ |}} {{ :​resources:​tools-software:​uc-drivers:​microchip:​terminal_pic32.png?​ |}}
 +
 +<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.
 +</​WRAP>​
  
 ==== 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 ​in decimal format. |
  
 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.
resources/tools-software/uc-drivers/microchip/ad7980.txt · Last modified: 22 Jul 2019 13:11 by AndreiD1994