Wiki

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:tools-software:ace:ad7606c-remotecontrol [14 Jan 2021 05:38] – use ez> wiki interwiki links Robin Getzresources:tools-software:ace:ad7606c-remotecontrol [03 Feb 2021 19:33] (current) – [ACE Environment] Lluis Beltran
Line 1: Line 1:
 ====== AD7606B/C ACE remote control ====== ====== AD7606B/C ACE remote control ======
 By using [[/resources/tools-software/ace/remotecontrol |ACE Remote Control]], AD7606B and AD7606C plug-ins can be automated to perform several evaluation activities across the different analog input ranges, bandwidth modes, channels, etc.  By using [[/resources/tools-software/ace/remotecontrol |ACE Remote Control]], AD7606B and AD7606C plug-ins can be automated to perform several evaluation activities across the different analog input ranges, bandwidth modes, channels, etc. 
-Different example code will be given.+Different example code are given on the MATLAB examples section.
  
 Without hardware, the [[adi>en/products/ad7606b.html#product-tools|AD7606x Family software model]] can be used to try different configurations for both AD7606C and AD7606B: sampling rate, RC filtering, oversampling, calibration; and analyze frequency response, noise performance, interface timing or power consumption, among others. Without hardware, the [[adi>en/products/ad7606b.html#product-tools|AD7606x Family software model]] can be used to try different configurations for both AD7606C and AD7606B: sampling rate, RC filtering, oversampling, calibration; and analyze frequency response, noise performance, interface timing or power consumption, among others.
Line 12: Line 12:
     * AD7606B     * AD7606B
     * AD7606C-18     * AD7606C-18
 +    * AD7606C-16
 ==== Software ==== ==== Software ====
   - [[adi>en/design-center/evaluation-hardware-and-software/ace-software.html  | ACE software ]]   - [[adi>en/design-center/evaluation-hardware-and-software/ace-software.html  | ACE software ]]
Line 18: Line 19:
  
 ===== ACE Environment ===== ===== ACE Environment =====
-Refer to the [[adi>media/en/technical-documentation/user-guides/EVAL-AD7606CFMCZ-UG-1870.pdf | AD7606C Evaluation Board user guide]] on powering the board up and setting up the ACE plugin. Please make sure that the plugin is functional and the device responds to the plugin interaction before proceeding further.+Refer to the [[adi>media/en/technical-documentation/user-guides/eval-ad7606c-fmcz-ug-1870.pdf| AD7606C Evaluation Board user guide]] on powering the board up and setting up the ACE plugin. Please make sure that the plugin is functional and the device responds to the plugin interaction before proceeding further. 
  
 ==== Setting up communication with ACE ==== ==== Setting up communication with ACE ====
Line 24: Line 26:
   - Go to IPC Server Tab and ensure that it is enabled. Also ensure that a port is allocated.   - Go to IPC Server Tab and ensure that it is enabled. Also ensure that a port is allocated.
                {{ :resources:tools-software:ace:ipcserver.png?400 |}}                {{ :resources:tools-software:ace:ipcserver.png?400 |}}
-==== Recording a macro ==== 
- 
-Macros are very handy to record a series of actions on the GUI, such that these can be later automated minimizing the user workload of inputting all those parameters manually.  
-In order to record and export a macro: 
-  * Open ACE, then go to Tools -> Macro Tools. 
- 
-{{ :resources:tools-software:ace:macrotools.png?400 |}} 
-  * Hit the 'record macro commands' button, the left hand side icon on the below image 
-{{ :resources:tools-software:ace:recordmacro.png?400 |}} 
- 
-  * Enter the parameter and values to be loaded e.g. throughput, number of samples, data interface, reference selection 
-  * The 'Commands' windows will fill up as the GUI is navigated and interacted with. Once all parameters to be entered are recorded, hit the 'stop recording macro commands' button.  
-  * The macro can be exported to C#, python or MATLAB, by selecting the desired language and hitting 'Export' button, right hand side icon on the previous image. 
-{{ :resources:tools-software:ace:exportmacro.jpg?400 |}} 
  
 +===== Recording macros =====
 +Start recording macros as explained on [[:software-tools:ace:recording-macros|Recording a macro]] wiki page
 ===== Editing macros in MATLAB ===== ===== Editing macros in MATLAB =====
  
Line 60: Line 50:
 Use of the software is subject to the terms and conditions of the Clear BSD License ( https://spdx.org/licenses/BSD-3-Clause-Clear.html ).</note> Use of the software is subject to the terms and conditions of the Clear BSD License ( https://spdx.org/licenses/BSD-3-Clause-Clear.html ).</note>
 <WRAP center round download 60%> <WRAP center round download 60%>
-{{ :resources:tools-software:ace:matlabexamplecode.zip |}}+ 
 +{{ :resources:tools-software:ace:ad7606x-matlab-example-code.zip |}}
 </WRAP> </WRAP>
 Along the different examples, a set of variables are used to define the AD7606C configuration: Along the different examples, a set of variables are used to define the AD7606C configuration:
 +  ***generic**            →Either AD7606B, AD7606C-18 or AD7606C-16, depending on the Hardware used
   ***mode**                →True=Software mode; False=Hardware mode   ***mode**                →True=Software mode; False=Hardware mode
-  ***range**             →range=3-->+/-10V Single Ended Range, see register summary in datasheet+  ***range**              →range=3-->+/-10V Single Ended Range, see register summary in datasheet
   ***ref_sel**            →True= Internal Reference; False = External reference   ***ref_sel**            →True= Internal Reference; False = External reference
   ***par_serb**           →True=Parallel Interface; False = Serial Interface   ***par_serb**           →True=Parallel Interface; False = Serial Interface
Line 71: Line 63:
   ***OSR**                  → Oversampling Ratio= 2^OSR   ***OSR**                  → Oversampling Ratio= 2^OSR
   ***sdo_lines**          → number of SDO lines, in serial interface   ***sdo_lines**          → number of SDO lines, in serial interface
 +  ***graph**             →Either 'histogram, 'waverform' or 'FFT
 ==== Oversampling Benefits ==== ==== Oversampling Benefits ====
 The benefits of oversampling are the increased noise performance at the expense of reducing the throughput rate. This can be seen through DC Histograms. So, in order to validate Oversampling feature The benefits of oversampling are the increased noise performance at the expense of reducing the throughput rate. This can be seen through DC Histograms. So, in order to validate Oversampling feature
Line 84: Line 77:
  
  
-<note>If you are rather visualizing the Waveform or FFT on the screen instead of the Histogram, modify the script and assign the graph variable with either 'waveform' or 'FFT'</note>+<note>If you are rather visualizing the Waveform or FFT on the screen instead of the Histogram, modify the script and assign the graph variable with either 'waveform' or 'FFT'. Make sure the correct columns are loaded after 'readtable' function by exploring the .csv files</note>
  
  
resources/tools-software/ace/ad7606c-remotecontrol.txt · Last modified: 03 Feb 2021 19:33 by Lluis Beltran