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
Next revisionBoth sides next 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 [28 Jun 2013 14:04] – Add a table with commands Istvan Csomortani
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 92: Line 92:
  
 Now the FPGA contains a fully functional system and it is possible to skip directly to the **DEMONSTRATION PROJECT USER INTERFACE** section of this lab. Now the FPGA contains a fully functional system and it is possible to skip directly to the **DEMONSTRATION PROJECT USER INTERFACE** section of this lab.
 +
 +<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 106:
 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 118:
  
 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.txt · Last modified: 26 Jan 2021 01:21 by Robin Getz