7. DA14531 Software Installation

This section describes the installation procedure for the drivers, the configuration of the serial port, and all necessary steps to verify the connection with the PC. It also provides solutions to problems that may occur.

7.1. Requirements of the Development PC

An external host is required for the proper evaluation and application development using the DA14531 SoC and the ProDev Kit. This external host must have a Microsoft Windows already installed and have USB ports as described in Section Section 6.

7.2. Driver Installation

When connected for the first time to a host PC running Microsoft Windows, the system will detect several devices and will automatically install all necessary drivers. If the system is configured to use Microsoft Windows Update, this may take several minutes to complete.

When the driver installation is complete, the system displays a Microsoft window similar as shown in Figure 9.

../_images/driverInstall.jpg

Figure 9 Windows Driver Installation

The Windows driver created two virtual COM ports. The first COM port (lower number, COM28 in Figure 9) provides a UART interface (used for printing) between the PC and the DA14531 device. The second (higher number, COM29 in Figure 9) is used to export measurement data from the current sense circuitry on the ProDev Kit to the Power Profiler tool. For further reading on the Power Profiler, see the SmartSnippets Toolbox User Manual (UM-B-083).

Note

The COM port numbers assigned to the ProDev Kit motherboard may be different from those shown in Figure 9.

Note

If your PC has a serial port, then that is the COM1 that you will see (when windows device manager is open). As a consequence you cannot set up communication between the ProDev Kit board and Windows on that port. Communication can only be set up with the other lowest COM port, COM28 in this case.

The COM port numbers can be found in the Windows Device Manager (Control Panel > Device Manager > Ports (COM & LPT)) as shown in Figure 10.

../_images/comport.jpg

Figure 10 Device Manager Ports

7.3. Serial Port for UART Configuration

Several development tools require UART to be routed to the FTDI serial port. See Figure 39 in Appendix A for the ProDev Kit board connection verification and how to properly configure the specific port.

7.3.1. Serial Port Usage

To make sure that the communication between the ProDev Kit board and the Windows development host is properly established, it is necessary to verify the UART connection between the two nodes.

Do the following steps to use Tera Term on the Windows host to validate the connection to the ProDev Kit:

  1. Use a USB cable to connect the ProDev Kit board to the PC. The location of the board’s USB port is shown in Figure 7.

  2. Use Windows Device Manager to verify that the host discovered two serial ports. The first of which is connected to UART, see Figure 10.

  3. Use the Windows Start menu to start Tera Term as shown in Figure 11.

../_images/teraterm.jpg

Figure 11 Start Tera Term

  1. In the Tera Term: New connection dialog, select Serial, then select the COM Port to use, and click OK.

  2. Select Setup > Serial Port and configure your UART port with the parameters shown in Table 3 (you need to be an administrator on your local machine). See Figure 12.

Table 3 Parameters for Connecting to UART

Settings

Values

Baud rate

115200

Data bits

8

Parity

None

Stop bits

1

Flow Control

None

../_images/comconfig.jpg

Figure 12 Setting Up the Port and Testing Connectivity via Tera Term

7.4. Troubleshooting

If there are any problems to get the ProDev Kit connected to the PC, here are some checks and possible solutions:

  • Make sure that your FTDI drivers are up to date. Drivers are available from the FTDI website.

  • Use a different USB cable to rule out that a USB cable causes any issues.

  • Connect the two elements to a different USB port on the host PC.

Note

If none of these actions resolve the issue, please contact Dialog Tools Forums.