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:fpga:altera:bemicro:ad5755 [21 Jun 2013 10:51] – Delete every ucProbe reference, update snapshots and add console description Istvan Csomortaniresources:fpga:altera:bemicro:ad5755 [26 Jan 2021 01:21] (current) – update arrow links after their web site update Robin Getz
Line 13: Line 13:
 ====== Overview ====== ====== Overview ======
  
-This lab presents the steps to setup an environment for using the **[[adi>EVAL-AD5755SDZ]]** evaluation board together with the **[[http://www.arrownac.com/solutions/bemicro-sdk/|BeMicro SDK]]** USB stick and the Nios II Embedded Development Suite (EDS). Below is presented a picture of the EVAL-AD5755SDZ Evaluation Board with the BeMicro SDK Platform.+This lab presents the steps to setup an environment for using the **[[adi>EVAL-AD5755SDZ]]** evaluation board together with the **[[https://www.intel.com/content/www/us/en/programmable/b/bemicro-sdk.html|BeMicro SDK]]** USB stick and the Nios II Embedded Development Suite (EDS). Below is presented a picture of the EVAL-AD5755SDZ Evaluation Board with the BeMicro SDK Platform.
  
 {{ :resources:fpga:altera:bemicro:ad5755_bemicro.png?400 }} {{ :resources:fpga:altera:bemicro:ad5755_bemicro.png?400 }}
Line 31: Line 31:
   * [[adi>AD5755|AD5755 Product Info]] - pricing, samples, datasheet   * [[adi>AD5755|AD5755 Product Info]] - pricing, samples, datasheet
   * [[adi>/static/imported-files/user_guides/UG-244.pdf|EVAL-AD5755SDZ evaluation board user guide]]   * [[adi>/static/imported-files/user_guides/UG-244.pdf|EVAL-AD5755SDZ evaluation board user guide]]
-  * [[http://www.arrownac.com/solutions/bemicro-sdk|BeMicro SDK]]+  * [[https://www.intel.com/content/www/us/en/programmable/b/bemicro-sdk.html|BeMicro SDK]]
   * [[http://www.altera.com/devices/processor/nios2|Nios II Embedded Development Suite (EDS)]]   * [[http://www.altera.com/devices/processor/nios2|Nios II Embedded Development Suite (EDS)]]
  
Line 42: Line 42:
  
 Below is presented the list of required hardware items: Below is presented the list of required hardware items:
-  * Arrow Electronics [[http://www.arrow.com/bemicrosdk/|BeMicro SDK]] FPGA-based MCU Evaluation Board +  * Arrow Electronics [[https://www.intel.com/content/www/us/en/programmable/b/bemicro-sdk.html|BeMicro SDK]] FPGA-based MCU Evaluation Board 
-  * [[http://www.arrownac.com/solutions/adi_interposer/|BeMicro SDK/SDP Interposer]] adapter board+  * [[adi>sdp-bemicro|BeMicro SDK/SDP Interposer]] adapter board
   * **EVAL-AD5755SDZ** evaluation board   * **EVAL-AD5755SDZ** evaluation board
   * Intel Pentium III or compatible Windows PC, running at 866MHz or faster, with a minimum of 512MB of system memory   * Intel Pentium III or compatible Windows PC, running at 866MHz or faster, with a minimum of 512MB of system memory
Line 85: Line 85:
 {{ :resources:fpga:altera:bemicro:nios2_cmd_cd.png?600 }} {{ :resources:fpga:altera:bemicro:nios2_cmd_cd.png?600 }}
  
-To configure the **BeMicroSDK** and run the software application have to run a bash script called program_bemicro.sh, this can be done by using the following command: **./program_bemicro.sh** and hit Enter. This script will configure the BeMicroSDK with the corresponding .sof file and will download and run the software application, and starts the Nios2 terminal. +To configure the **BeMicroSDK** and run the software application have to run a bash script called program_bemicro.sh, this can be done by using the following command: **./program_bemicro.sh** and hit Enter. This script will configure the BeMicroSDK with the corresponding .sof file and will download and run the software application, and starts the stand-alone nios2-terminal.exe application
  
 {{ :resources:fpga:altera:bemicro:nios2_cmd_program.png?500 }} {{ :resources:fpga:altera:bemicro:nios2_cmd_program.png?500 }}
Line 91: Line 91:
 If the last message is ** AD5755 OK **, it means that the configuration was successful and the PC is connected to the device through JTAG-UART. If the last message is ** AD5755 OK **, it means that the configuration was successful and the PC is connected to the device through JTAG-UART.
  
-Now the FPGA contains fully functional system and it is possible to skip directly to the **DEMONSTRATION PROJECT USER INTERFACE** section of this lab.+The **AD5755** support the following commands, which can used to evaluate the **AD5755** converter: 
 + 
 +^ **Command** ^ **Description** ^ 
 +| **help?** | Display all available commands | 
 +| **register?** | Get register value for specified channel, the command has two arguments: register address and channel | 
 +| **register=** | Set a register value, the command has four arguments: register type, which can be data or control, register address, channel number and the desired value | 
 +| **power?** | Display the power state of the dc-to-dc converters, DAC and internal amplifiers for the selected channel. The command has one argument : channel | 
 +| **power=** | Set up the power state of the dc-to-dc converters, DAC and internal amplifiers for the selected channel. The command has two arguments: channel and 1 for ON and 0 for OFF | 
 +**range?** | Display the range of the selected channel. The command has one argument : channel | 
 +| **range=** | Set the range of the selected channel. Has two argument: channel and range | 
 +| **voltage?** | Display the output voltage of a specified channel. The command has one argument: channel | 
 +| **voltage=** | Set the output voltage of a specified channel. The command using two arguments: channel and the desired value | 
 +| **current?** | Display the output current of a specified channel. The command has one argument: channel | 
 +| **current=** | Set the output current of a specified channel. The command using two arguments: channel and the desired value | 
 + 
 +<WRAP tip>Note: When using the standalone nios2-terminal for interfacing with the AD5755, it might happen that no characters are echoed from the console, and the backspace are ignored. In this case should be used the Nios II Terminal Console windows from the Nios II IDE to evaluate the device.</WRAP>
  
 ====== FPGA Design ====== ====== FPGA Design ======
Line 104: Line 119:
 This section presents the UART Terminal Interface, which helps the user to interact with the software application, that will run on the BeMicroSDK. This section presents the UART Terminal Interface, which helps the user to interact with the software application, that will run on the BeMicroSDK.
 The UART Terminal Interface can be started in two different way. First from Nios II command shell, by using the **programm_fpga.sh** script (for quick evolution) or from Nios II IDE after programming the **BeMicroSDK**. The UART Terminal Interface can be started in two different way. First from Nios II command shell, by using the **programm_fpga.sh** script (for quick evolution) or from Nios II IDE after programming the **BeMicroSDK**.
 +
 +<WRAP tip>Note: When using the standalone nios2-terminal for interfacing with the AD5755, it might happen that no characters are echoed from the console, and the backspace are ignored. In this case should be used the Nios II Terminal Console windows from the Nios II IDE to evaluate the device.</WRAP>
  
 If the nios2-terminal connected to the device the message ** AD5755 OK ** should appear at the Nios II Console. If the nios2-terminal connected to the device the message ** AD5755 OK ** should appear at the Nios II Console.
Line 114: Line 131:
  
 The **AD5755** support the following commands, which can used to evaluate the **AD5755** converter: The **AD5755** support the following commands, which can used to evaluate the **AD5755** converter:
-    * **help?**          - Display all available commands. 
-    * **register?**      - Get register value for a specified channel, the command has two arguments: register address and channel. 
-    * **register=**      - Set a register value, the command has four arguments: register type, which can be **data** or **control**, register address, channel number and the desired value. 
-    * **power?**         - Display the power state of the dc-to-dc converters, DAC and internal amplifiers for the selected channel. The command has one argument : channel. 
-    * **power=**         - Set up the power state of the dc-to-dc converters, DAC and internal amplifiers for the selected channel. The command has two arguments: channel and 1 for ON and 0 for OFF 
-    * **range?**         - Display the range of the selected channel. The command has one argument : channel. 
-    * **range=**         - Set the range of the selected channel. Has two argument: channel and range. 
-    * **voltage?**       - Display the output voltage of a specified channel. The command has one argument: channel. 
-    * **voltage=**       - Set the output voltage of a specified channel. The command using two arguments: channel and the desired value. 
-    * **current?**       - Display the output current of a specified channel. The command has one argument: channel. 
-    * **current=**       - Set the output current of a specified channel. The command using two arguments: channel and    the desired value. 
  
 +^ **Command** ^ **Description** ^
 +| **help?** | Display all available commands |
 +| **register?** | Get register value for a specified channel, the command has two arguments: register address and channel |
 +| **register=** | Set a register value, the command has four arguments: register type, which can be data or control, register address, channel number and the desired value |
 +| **power?** | Display the power state of the dc-to-dc converters, DAC and internal amplifiers for the selected channel. The command has one argument : channel |
 +| **power=** | Set up the power state of the dc-to-dc converters, DAC and internal amplifiers for the selected channel. The command has two arguments: channel and 1 for ON and 0 for OFF |
 +| **range?** | Display the range of the selected channel. The command has one argument : channel |
 +| **range=** | Set the range of the selected channel. Has two argument: channel and range |
 +| **voltage?** | Display the output voltage of a specified channel. The command has one argument: channel |
 +| **voltage=** | Set the output voltage of a specified channel. The command using two arguments: channel and the desired value |
 +| **current?** | Display the output current of a specified channel. The command has one argument: channel |
 +| **current=** | Set the output current of a specified channel. The command using two arguments: channel and the desired value |
 ====== More information ====== ====== More information ======
   * [[ez>community/fpga|ask questions about the FPGA reference design]]   * [[ez>community/fpga|ask questions about the FPGA reference design]]
   * Example questions: {{rss>http://ez.analog.com/community/feeds/allcontent/atom?community=2061 5 author 1d}}   * Example questions: {{rss>http://ez.analog.com/community/feeds/allcontent/atom?community=2061 5 author 1d}}
resources/fpga/altera/bemicro/ad5755.1371804680.txt.gz · Last modified: 21 Jun 2013 10:51 by Istvan Csomortani