This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
resources:tools-software:uc-drivers:microchip:ad7156 [01 Oct 2012 16:14] – created Dragos Bogdan | resources:tools-software:uc-drivers:microchip:ad7156 [09 Oct 2012 16:28] – added driver for MC7 Dragos Bogdan | ||
---|---|---|---|
Line 9: | Line 9: | ||
* {{: | * {{: | ||
* {{: | * {{: | ||
+ | * {{: | ||
====== Digilent Cerebot MX3cK Quick Start Guide ====== | ====== Digilent Cerebot MX3cK Quick Start Guide ====== | ||
Line 45: | Line 46: | ||
==== Software Project Setup ==== | ==== Software Project Setup ==== | ||
{{page>: | {{page>: | ||
+ | |||
+ | ====== Digilent Cerebot MC7 Quick Start Guide ====== | ||
+ | This section contains a description of the steps required to run the AD7156 demonstration project on a Digilent Cerebot MC7 platform. | ||
+ | |||
+ | ==== Required Hardware ==== | ||
+ | * [[http:// | ||
+ | * PmodCDC1 | ||
+ | |||
+ | ==== Required Software ==== | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ==== Hardware Setup ==== | ||
+ | A PmodCDC1 can be connected to the J6 connector of Cerebot MC7 development board for I2C operation, | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== Reference Project Overview ==== | ||
+ | Following commands were implemented in this version of AD7156 reference project for Cerebot MC7 board. | ||
+ | ^ Command ^ Description ^ | ||
+ | | help? | Displays all available commands. | | ||
+ | | range= | Selects the range of the channels. Accepted values: 0-3. | | ||
+ | | power= | Selects the power mode of the device. Accepted values: 0 - 3. | | ||
+ | | channel1= | Enables or disabled conversions on channel 1. Accepted values 0-1. | | ||
+ | | channel2= | Enables or disabled conversions on channel 2. Accepted values 0-1. | | ||
+ | | samples? | Reads 50 samples form the enabled channels and displays the data as pF. | | ||
+ | | buttons? | Checks if any of the two buttons are pressed or released. | | ||
+ | | reset= | Resets the device. Accepted value: 1.| | ||
+ | |||
+ | Commands can be executed using a serial terminal connected to the UART1 peripheral of dsPIC33FJ128MC706A. | ||
+ | |||
+ | The following image shows a list of commands in a serial terminal connected to processor’s UART peripheral. | ||
+ | {{ : | ||
+ | |||
+ | ==== Software Project Setup ==== | ||
+ | {{page>: | ||
====== More information ====== | ====== More information ====== | ||
{{page>: | {{page>: |