Wiki

Differences

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

Link to this comparison view

Next revisionBoth sides next revision
resources:tools-software:uc-drivers:microchip:ad7156 [01 Oct 2012 16:14] – created Dragos Bogdanresources:tools-software:uc-drivers:microchip:ad7156 [09 Oct 2012 16:28] – added driver for MC7 Dragos Bogdan
Line 9: Line 9:
   * {{:resources:tools-software:uc-drivers:ad7156_generic.zip|AD7156 Generic Driver}}   * {{:resources:tools-software:uc-drivers:ad7156_generic.zip|AD7156 Generic Driver}}
   * {{:resources:tools-software:uc-drivers:microchip:ad7156_pic32.zip|AD7156 PIC32 Driver}}   * {{:resources:tools-software:uc-drivers:microchip:ad7156_pic32.zip|AD7156 PIC32 Driver}}
 +  * {{:resources:tools-software:uc-drivers:microchip:ad7156_dspic33.zip|AD7156 DSPIC33 Driver}}
  
 ====== Digilent Cerebot MX3cK Quick Start Guide ====== ====== Digilent Cerebot MX3cK Quick Start Guide ======
Line 45: Line 46:
 ==== Software Project Setup ==== ==== Software Project Setup ====
 {{page>:resources:tools-software:uc-drivers:microchip:pic32_software_design}} {{page>:resources:tools-software:uc-drivers:microchip:pic32_software_design}}
 +
 +====== 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://www.digilentinc.com/Products/Detail.cfm?Prod=CEREBOT-MC7|Cerebot MC7 (Digilent)]]
 +  * PmodCDC1 
 +
 +==== Required Software ====
 +  * [[http://www.microchip.com/mplabx|MPLAB X Integrated Development Environment]]
 +  * [[http://www.microchip.com/mplabxc|MPLAB XC16 compiler]]
 +
 +==== Hardware Setup ====
 +A PmodCDC1 can be connected to the J6 connector of Cerebot MC7 development board for I2C operation,
 +
 +{{ :resources:tools-software:uc-drivers:microchip:pmod_cdc1_pic32.jpg? |}}
 +
 +==== 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.
 +{{ :resources:tools-software:uc-drivers:microchip:terminal_dspic33.png? |}}
 +
 +==== Software Project Setup ====
 +{{page>:resources:tools-software:uc-drivers:microchip:dspic33_software_design}}
  
 ====== More information ====== ====== More information ======
 {{page>:resources:tools-software:uc-drivers:more-information}} {{page>:resources:tools-software:uc-drivers:more-information}}
resources/tools-software/uc-drivers/microchip/ad7156.txt · Last modified: 22 Jul 2019 13:28 by Andrei Drimbarean