Wiki

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
resources:tools-software:uc-drivers:microchip:ad7156 [09 Oct 2012 16:28]
DragosB added driver for MC7
resources:tools-software:uc-drivers:microchip:ad7156 [28 Jun 2013 09:47]
LucianS [Required Software]
Line 7: Line 7:
  
 ===== Downloads ===== ===== Downloads =====
-  * {{:​resources:​tools-software:​uc-drivers:​ad7156_generic.zip|AD7156 Generic Driver}} +<WRAP round download 80%>
-  * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7156_pic32.zip|AD7156 PIC32 Driver}}+
   * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7156_dspic33.zip|AD7156 DSPIC33 Driver}}   * {{:​resources:​tools-software:​uc-drivers:​microchip:​ad7156_dspic33.zip|AD7156 DSPIC33 Driver}}
 +  * **AD7156 Driver: ​          ** https://​github.com/​analogdevicesinc/​no-OS/​tree/​master/​drivers/​AD7156
 +  * **PmodCDC1 Demo for PIC32MX320F128H:​ ** https://​github.com/​analogdevicesinc/​no-OS/​tree/​master/​Microchip/​PIC32MX320F128H/​PmodCDC1
 +  * **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 16: Line 19:
 ==== 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)]]
-  * PmodCDC1+  * [[http://​www.digilentinc.com/​Products/​Detail.cfm?​Prod=PMOD-CDC1|PmodCDC1]]
  
 ==== 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 AD7156 demonstration project for PIC32MX320F128H.
  
 +<WRAP round info 80%>
 +The AD7156 demonstration project for PIC32MX320F128H consists of three parts: the **AD7156 Driver**, ​ the **PmodCDC1 Demo for PIC32MX320F128H** and the **PIC32MX320F128H Common Drivers**.
 +
 +All three parts have to be downloaded.
 +</​WRAP>​
 ==== 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 ​commands were implemented in this version of AD7156 reference project for Cerebot MX3cK board.+The following ​commands were implemented in this version of AD7156 reference project for Cerebot MX3cK board.
 ^ 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?​ | Displays the set range for the selected channel. Accepted values: \\ 1 - Displays the channel 1's range.\\ 2 - Displays the channel 2's range.|  
-| 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:​\\ ​0 - 0..2pF.\\ 1 - 0..0.5pF\\ 2 - 0..1pF\\ ​- 0..4pF. | 
-channel1= | Enables or disabled conversions on channel ​1. Accepted values ​0-1. +powerMode? | Displays the current ​power mode. | 
-| channel2= | Enables or disabled conversions on channel 2. Accepted values ​0-1. | +| powerMode= | Selects the power mode of the device. Accepted values:\\ 0 - Idle.\\ 1 - Continuous conversions.\\ 2 - Single conversion.\\ ​- Power-down. | 
-| samples? | Reads 50 samples form the enabled channels and displays the data as pF. |+channelEnable= | Enables or disabled conversions on selected ​channel. Accepted values:\\ channel:\\ 1 Select channel ​1.\\ 2 - Select ​channel 2.\\ enable:​\\ ​0 - Disable conversions on selected channel.\\ ​- Enable conversions on selected channel. | 
 +| 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 ​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?​ |}}
  
resources/tools-software/uc-drivers/microchip/ad7156.txt · Last modified: 22 Jul 2019 13:28 by AndreiD1994