This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
resources:tools-software:uc-drivers:microchip:ad7156 [09 Oct 2012 16:28] – added driver for MC7 Dragos Bogdan | resources:tools-software:uc-drivers:microchip:ad7156 [28 Jun 2013 09:47] – [Required Software] Lucian Sin | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Downloads ===== | ===== Downloads ===== | ||
- | * {{: | + | <WRAP round download 80%> |
- | * {{: | + | |
* {{: | * {{: | ||
+ | * **AD7156 Driver: | ||
+ | * **PmodCDC1 Demo for PIC32MX320F128H: | ||
+ | * **PIC32MX320F128H Common Drivers: | ||
+ | </ | ||
====== Digilent Cerebot MX3cK Quick Start Guide ====== | ====== Digilent Cerebot MX3cK Quick Start Guide ====== | ||
Line 16: | Line 19: | ||
==== Required Hardware ==== | ==== Required Hardware ==== | ||
* [[http:// | * [[http:// | ||
- | * PmodCDC1 | + | * [[http:// |
==== Required Software ==== | ==== Required Software ==== | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * The AD7156 demonstration project for PIC32MX320F128H. | ||
+ | <WRAP round info 80%> | ||
+ | The AD7156 demonstration project for PIC32MX320F128H consists of three parts: the **AD7156 Driver**, | ||
+ | |||
+ | All three parts have to be downloaded. | ||
+ | </ | ||
==== Hardware Setup ==== | ==== Hardware Setup ==== | ||
A PmodCDC1 has to be connected to the J2 connector of Cerebot MX3cK development board. | A PmodCDC1 has to be connected to the J2 connector of Cerebot MX3cK development board. | ||
Line 28: | Line 37: | ||
==== Reference Project Overview ==== | ==== Reference Project Overview ==== | ||
- | Following | + | The following |
^ Command ^ Description ^ | ^ Command ^ Description ^ | ||
| help? | Displays all available commands. | | | help? | Displays all available commands. | | ||
- | | range= | Selects the range of the channels. Accepted values: 0-3. | | + | | channelRange? |
- | | power= | Selects the power mode of the device. Accepted values: 0 - 3. | | + | | channelRange= | Selects the range of the selected channel. Accepted values:\\ channel: \\ 1 - Select channel 1.\\ 2 - Select channel 2.\\ range: |
- | | channel1= | Enables or disabled conversions on channel | + | | powerMode? | Displays the current |
- | | channel2= | Enables or disabled conversions on channel 2. Accepted values | + | | powerMode= | Selects the power mode of the device. Accepted values:\\ 0 - Idle.\\ 1 - Continuous conversions.\\ 2 - Single conversion.\\ |
- | | samples? | Reads 50 samples form the enabled channels and displays the data as pF. | | + | | channelEnable= | Enables or disabled conversions on selected |
+ | | samples? | Reads 50 samples form the enabled channels and displays the data in pF. | | ||
| buttons? | Checks if any of the two buttons are pressed or released. | | | buttons? | Checks if any of the two buttons are pressed or released. | | ||
- | | reset= | Resets the device. Accepted value: 1.| | + | | reset! | Resets the device. | |
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 |
{{ : | {{ : | ||