Wiki

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
resources:tools-software:uc-drivers:microchip:ad7303 [09 Oct 2012 09:14]
DragosB Replaced Arduino with chipKIT.
resources:tools-software:uc-drivers:microchip:ad7303 [23 Jul 2013 10:02]
LucianS source code change and source code put on github
Line 7: Line 7:
  
 ===== Downloads ===== ===== Downloads =====
-  * {{:​resources:​tools-software:​uc-drivers:​ad7303_generic.zip|AD7303 Generic Driver}} +<WRAP round download 80%>
-  * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7303_pic32.zip|AD7303 PIC32 Driver}}+
   * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7303_dspic33.zip|AD7303 DSPIC33 Driver}}   * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7303_dspic33.zip|AD7303 DSPIC33 Driver}}
   * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7303_arduino.zip|AD7303 chipKIT Driver}}   * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7303_arduino.zip|AD7303 chipKIT Driver}}
 +  * **AD7303 Driver: ​          ** https://​github.com/​analogdevicesinc/​no-OS/​tree/​master/​drivers/​AD7303
 +  * **PmodDA1 Demo for PIC32MX320F128H:​ ** https://​github.com/​analogdevicesinc/​no-OS/​tree/​master/​Microchip/​PIC32MX320F128H/​PmodDA1
 +  * **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 25:
   * [[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 AD7303 demonstration project for PIC32MX320F128H.
 +
 +<WRAP round info 80%>
 +The AD7303 demonstration project for PIC32MX320F128H consists of three parts: the **AD7303 Driver**, ​ the **PmodDA1 Demo for PIC32MX320F128H** and the **PIC32MX320F128H Common Drivers**.
 +
 +All three parts have to be downloaded.
 +</​WRAP>​
  
 ==== Hardware Setup ==== ==== Hardware Setup ====
Line 29: Line 39:
  
 ==== Reference Project Overview ==== ==== Reference Project Overview ====
-Following ​commands were implemented in this version of AD7303 reference project for Cerebot MX3cK board.+The following ​commands were implemented in this version of AD7303 reference project for Cerebot MX3cK board.
 ^ Command ^ Description ^ ^ Command ^ Description ^
 | help? | Displays all available commands. | | help? | Displays all available commands. |
-| power= | Powers off/on the current ​channel. Accepted values: 01. | +| power= | Powers off/on the selected ​channel. Accepted values:\\ channel:​\\ ​- Select channel A1.\\ - Select channel B1.\\ power status:\\ 0 - Power off.\\ 1 - Power on. | 
-| power? | Displays the power status. | +| power? | Displays the power status ​of the selected ​channel. Accepted values:\\ - Select channel A1.\\ - Select ​channel ​B1. | 
-| channel= | Selects a channel. Accepted values: 01. | +| voltage= | Sets the output voltage of the selected ​channel. Accepted values:\\ channel:​\\ ​0 - Select channel A1.\\ 1 - Select channel B1.\\ output voltage:\\ 0..3300 - Desired output voltage in milivolts. | 
-| channel? | Displays the current ​channel. | +| voltage? | Displays last written ​voltage ​value to the DAC for selected channel. Accepted values:​\\ ​ 0 - Select channel A1.\\ 1 - Select channel B1. | 
-| voltage= | Sets the output voltage of the current ​channel. Accepted values: 0->3.+| register= | Writes to the DAC register of the selected ​channel. Accepted values:\\ 0 - Select channel A1.\\ 1 - Select channel B1.\\ register value:\\ 0..255 - Value written to the DAC. | 
-| voltage? | Displays last written value. | +| register? | Displays last written value in the DAC register for selected channel. Accepted values:\\ 0 - Select channel A1.\\ 1 - Select channel B1. |
-| register= | Writes to the DAC register of the current ​channel. Accepted values: 0 - 255. | +
-| register? | Displays last written value. |+
  
 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?​ |}}
  
resources/tools-software/uc-drivers/microchip/ad7303.txt · Last modified: 22 Jul 2019 13:52 by AndreiD1994