AN 761: Board Management Controller

ID 683850
Date 6/29/2022
Public

Other Software

The communication with the Nios® II processor is established through the UART interface. You can use off-the-shelf terminal software such as Tera Term as a user console.

When you set up the Tera Term software, select CR+LF to enable the New-line Transmit option. This ensure the command sent through the terminal is recognized by the controller. You also need to turn on the Local echo option to track the command entered.

Figure 4. Setting Up the Tera Term Software

Alternatively, you can use the example GUI that is provided with this design example for live data monitoring and display the ADC readout in a graphical format.

Figure 5. Board Control Management GUI

The board management controller GUI is developed using TCL. You need to install a TCL interpreter to use the GUI. You can download the installer from the ActiveTCL Downloads. After installing the TCL interpreter, double click the BoardControl.tcl to open the GUI.

Table 3.  Functionality of Command Buttons
Command Button/ Entry Description
Detect COM PORT Displays which COM PORT is connected to the PC.
Connect COM PORT Double click the COM PORT to specify which COM PORT to connect. Click the Connect COM PORT to connect the selected COM PORT.
Select Channel Radio Button Specifies which ADC channel that you want to stream the data and displays the data in graphical format.
Upper Threshold or Lower Threshold

Specifies the threshold to be displayed on the graph as red lines. This does not alter the threshold limit for the controller.

If TSD is selected at the Select Channel Radio Button, the upper threshold cannot be more than 100°C while the lower threshold cannot be less than –40°C.

For other selection, the upper threshold cannot be more than 2.5V while the lower threshold cannot be less than 0V.

Start Starts streaming the data for the channel selected in the Select Channel Radio Button. The value is displayed and plotted as a graph while the value is transmitted via the UART interface.
Stop Stops data streaming. You can select other channel in the Select Channel Radio Button and update the threshold value.
Log File Name Enter the file name and click Save Datalog if you want to save the output shown in the Interactive Terminal to a file.
Clear Terminal Output Clears the output in the Interactive Terminal.