Wiki

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
resources:tools-software:uc-drivers:microchip:ad5628 [01 Oct 2012 16:01] – created Dragos Bogdanresources:tools-software:uc-drivers:microchip:ad5628 [23 Jul 2013 16:16] – source code change and source code put on github Lucian Sin
Line 7: Line 7:
  
 ===== Downloads ===== ===== Downloads =====
-  * {{:resources:tools-software:uc-drivers:ad5628_generic.zip|AD5628 Generic Driver}} +<WRAP round download 80%>
-  * {{:resources:tools-software:uc-drivers:microchip:ad5628_pic32.zip|AD5628 PIC32 Driver}}+
   * {{:resources:tools-software:uc-drivers:microchip:ad5628_dspic33.zip|AD5628 DSPIC33 Driver}}   * {{:resources:tools-software:uc-drivers:microchip:ad5628_dspic33.zip|AD5628 DSPIC33 Driver}}
-  * {{:resources:tools-software:uc-drivers:microchip:ad5628_arduino.zip|AD5628 Arduino Driver}}+  * {{:resources:tools-software:uc-drivers:microchip:ad5628_arduino.zip|AD5628 chipKIT Driver}} 
 +  * **AD5628 Driver:           ** https://github.com/analogdevicesinc/no-OS/tree/master/drivers/AD5628 
 +  * **PmodDA4 Demo for PIC32MX320F128H: ** https://github.com/analogdevicesinc/no-OS/tree/master/Microchip/PIC32MX320F128H/PmodDA4 
 +  * **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 17: Line 20:
 ==== Required Hardware ==== ==== Required Hardware ====
   * [[http://www.digilentinc.com/Products/Detail.cfm?Prod=CEREBOT-MX3CK|Cerebot MX3cK (Digilent)]]   * [[http://www.digilentinc.com/Products/Detail.cfm?Prod=CEREBOT-MX3CK|Cerebot MX3cK (Digilent)]]
-  * PmodDA4+  * [[http://www.digilentinc.com/Products/Detail.cfm?Prod=PMOD-DA4|PmodDA4]]
  
 ==== Required Software ==== ==== Required Software ====
   * [[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 AD5628 demonstration project for PIC32MX320F128H.
 +
 +<WRAP round info 80%>
 +The AD5628 demonstration project for PIC32MX320F128H consists of three parts: the **AD5628 Driver**,  the **PmodDA4 Demo for PIC32MX320F128H** and the **PIC32MX320F128H Common Drivers**.
 +
 +All three parts have to be downloaded.
 +</WRAP>
 +
  
 ==== Hardware Setup ==== ==== Hardware Setup ====
Line 29: Line 40:
  
 ==== Reference Project Overview ==== ==== Reference Project Overview ====
-Following commands were implemented in this version of AD5628 reference project for Cerebot MX3cK board.+The following commands were implemented in this version of AD5628 reference project for Cerebot MX3cK board.
 ^ Command ^ Description ^ ^ Command ^ Description ^
 | help? | Displays all available commands. | | help? | Displays all available commands. |
-| mode= | Selects a mode of operation for the current channel. Accepted values: 0 – 3. | +| mode= | Selects a mode of operation for selected channel. Accepted values:\\ channel:\\ .. 7 - Channel A .. H(one channel)\\ 15 - All channels.\\ mode:\\ 0 - Normal operation.\\ 1 - 1KOhm to GND(Power down mode).\\ 2 - 100KOhm to GND(Power down mode).\\ - Three-state(Power down mode). | 
-| mode? | Displays the selected mode of operation for the current channel. | +| mode? | Displays the selected mode of operation for the selected channel. Accepted values:\\ .. - Channel A .. H(one channel)\\ 15 - All channels. | 
-| channel= | Selects the channel that will be affected by the other commands. Accepted values: 0 – 7 (one channel) or 15 (all channels). | +| voltage= | Sets the output voltage for the selected channel. Accepted values:\\ channel:\\ 0 .. 7 - Channel A .. H(one channel)\\ 15 - All channels.\\ output voltage:\\ 0 .. 2500 - Desired output voltage in milivolts. | 
-| channel? | Displays the selected channel. | +| voltage? | Displays the output voltage of the selected channel. Accepted values:\\ 0 .. 7 - Channel A .. H(one channel)\\ 15 - All channels. | 
-| voltage= | Sets the output voltage for the current voltage. Accepted values: 0 – 2.(volts). | +| register= | Writes the value into the DAC register of the selected channel. Accepted values:\\ channel:\\ .. 7 - Channel A .. H(one channel)\\ 15 - All channels.\\ register value:\\ 0 .. 4095 - The value written to the DAC. | 
-| voltage? | Displays the output voltage of the current voltage. | +| register? | Displays the value written in the DAC register of the selected channel. Accepted values:\\ 0 .. 7 - Channel A .. H(one channel)\\ 15 - All channels. |
-| register= | Writes the value into the Input Register of the current channel. Accepted values: 0 – 4095. | +
-| register? | Displays the value written in the Input Register of the current channel. |+
  
 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? |}}
  
Line 54: Line 63:
 ==== Required Hardware ==== ==== Required Hardware ====
   * [[http://www.digilentinc.com/Products/Detail.cfm?Prod=CEREBOT-MC7|Cerebot MC7 (Digilent)]]   * [[http://www.digilentinc.com/Products/Detail.cfm?Prod=CEREBOT-MC7|Cerebot MC7 (Digilent)]]
-  * PmodDA4+  * [[http://www.digilentinc.com/Products/Detail.cfm?Prod=PMOD-DA4|PmodDA4]]
  
 ==== Required Software ==== ==== Required Software ====
Line 86: Line 95:
 {{page>:resources:tools-software:uc-drivers:microchip:dspic33_software_design}} {{page>:resources:tools-software:uc-drivers:microchip:dspic33_software_design}}
  
-====== 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 AD5628 Arduino demonstration project on a Digilent Cerebot MX3cK platform.+This section contains a description of the steps required to run the AD5628 chipKIT demonstration project on a Digilent Cerebot MX3cK platform.
  
 ==== Required Hardware ==== ==== Required Hardware ====
Line 102: Line 111:
  
 ==== Reference Project Overview ==== ==== Reference Project Overview ====
-Following commands were implemented in this version of AD5628 Arduino reference project for Cerebot MX3cK board.+Following commands were implemented in this version of AD5628 chipKIT reference project for Cerebot MX3cK board.
 ^ Command ^ Description ^ ^ Command ^ Description ^
 | help? | Displays all available commands. | | help? | Displays all available commands. |
resources/tools-software/uc-drivers/microchip/ad5628.txt · Last modified: 22 Jul 2019 13:38 by Andrei Drimbarean