This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:fpga:altera:bemicro:ad5755 [21 Jun 2013 10:51] – Delete every ucProbe reference, update snapshots and add console description Istvan Csomortani | resources: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> | + | This lab presents the steps to setup an environment for using the **[[adi> |
{{ : | {{ : | ||
Line 31: | Line 31: | ||
* [[adi> | * [[adi> | ||
* [[adi>/ | * [[adi>/ | ||
- | * [[http://www.arrownac.com/solutions/ | + | * [[https://www.intel.com/content/ |
* [[http:// | * [[http:// | ||
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/ |
- | * [[http:// | + | * [[adi> |
* **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: | ||
{{ : | {{ : | ||
- | To configure the **BeMicroSDK** and run the software application have to run a bash script called program_bemicro.sh, | + | To configure the **BeMicroSDK** and run the software application have to run a bash script called program_bemicro.sh, |
{{ : | {{ : | ||
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 | + | The **AD5755** support |
+ | |||
+ | ^ **Command** ^ **Description** ^ | ||
+ | | **help?** | Display all available commands | | ||
+ | | **register? | ||
+ | | **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? | ||
+ | | **voltage=** | Set the output voltage of a specified channel. The command using two arguments: channel and the desired value | | ||
+ | | **current? | ||
+ | | **current=** | Set the output current of a specified channel. The command using two arguments: channel and the desired value | | ||
+ | |||
+ | <WRAP tip> | ||
====== 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, | This section presents the UART Terminal Interface, which helps the user to interact with the software application, | ||
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> | ||
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? | ||
- | * **register? | ||
- | * **register=** | ||
- | * **power? | ||
- | * **power=** | ||
- | * **range? | ||
- | * **range=** | ||
- | * **voltage? | ||
- | * **voltage=** | ||
- | * **current? | ||
- | * **current=** | ||
+ | ^ **Command** ^ **Description** ^ | ||
+ | | **help?** | Display all available commands | | ||
+ | | **register? | ||
+ | | **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? | ||
+ | | **voltage=** | Set the output voltage of a specified channel. The command using two arguments: channel and the desired value | | ||
+ | | **current? | ||
+ | | **current=** | Set the output current of a specified channel. The command using two arguments: channel and the desired value | | ||
====== More information ====== | ====== More information ====== | ||
* [[ez> | * [[ez> | ||
* Example questions: {{rss> | * Example questions: {{rss> |