This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
resources:tools-software:uc-drivers:microchip:ad5628 [01 Oct 2012 16:01] – created Dragos Bogdan | resources: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 ===== | ||
- | * {{: | + | <WRAP round download 80%> |
- | * {{: | + | |
* {{: | * {{: | ||
- | * {{: | + | * {{: |
+ | * **AD5628 Driver: | ||
+ | * **PmodDA4 Demo for PIC32MX320F128H: | ||
+ | * **PIC32MX320F128H Common Drivers: | ||
+ | </ | ||
====== Digilent Cerebot MX3cK Quick Start Guide ====== | ====== Digilent Cerebot MX3cK Quick Start Guide ====== | ||
Line 17: | Line 20: | ||
==== Required Hardware ==== | ==== Required Hardware ==== | ||
* [[http:// | * [[http:// | ||
- | * PmodDA4 | + | * [[http:// |
==== Required Software ==== | ==== Required Software ==== | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * The AD5628 demonstration project for PIC32MX320F128H. | ||
+ | |||
+ | <WRAP round info 80%> | ||
+ | The AD5628 demonstration project for PIC32MX320F128H consists of three parts: the **AD5628 Driver**, | ||
+ | |||
+ | All three parts have to be downloaded. | ||
+ | </ | ||
+ | |||
==== Hardware Setup ==== | ==== Hardware Setup ==== | ||
Line 29: | Line 40: | ||
==== Reference Project Overview ==== | ==== Reference Project Overview ==== | ||
- | Following | + | The following |
^ Command ^ Description ^ | ^ Command ^ Description ^ | ||
| help? | Displays all available commands. | | | help? | Displays all available commands. | | ||
- | | mode= | Selects a mode of operation for the current | + | | mode= | Selects a mode of operation for selected |
- | | mode? | Displays the selected mode of operation for the current | + | | mode? | Displays the selected mode of operation for the selected |
- | | channel= | Selects the channel that will be affected by the other commands. Accepted values: 0 – 7 (one channel) | + | | voltage= | Sets the output voltage for the selected channel. Accepted values:\\ channel: |
- | | 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.5 (volts). | | + | | register= | Writes the value into the DAC register |
- | | voltage? | Displays the output voltage of the current voltage. | | + | | register? | Displays the value written in the DAC register |
- | | register= | Writes the value into the Input Register | + | |
- | | register? | Displays the value written in the Input 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 |
{{ : | {{ : | ||
Line 54: | Line 63: | ||
==== Required Hardware ==== | ==== Required Hardware ==== | ||
* [[http:// | * [[http:// | ||
- | * PmodDA4 | + | * [[http:// |
==== Required Software ==== | ==== Required Software ==== | ||
Line 86: | Line 95: | ||
{{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 AD5628 | + | This section contains a description of the steps required to run the AD5628 |
==== Required Hardware ==== | ==== Required Hardware ==== | ||
Line 102: | Line 111: | ||
==== Reference Project Overview ==== | ==== Reference Project Overview ==== | ||
- | Following commands were implemented in this version of AD5628 | + | Following commands were implemented in this version of AD5628 |
^ Command ^ Description ^ | ^ Command ^ Description ^ | ||
| help? | Displays all available commands. | | | help? | Displays all available commands. | |