TIDUF41A October   2023  – June 2024

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Key System Specifications
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
    3. 2.3 Highlighted Products
      1. 2.3.1 TIOL112
      2. 2.3.2 MSPM0L1306
  9. 3Hardware, Testing Requirements, and Test Results
    1. 3.1 Hardware Requirements
    2. 3.2 Test Setup
    3. 3.3 Test Results
      1. 3.3.1 TCD_PHYL_INTF_TRENHIGH and TCD_PHYL_INTF_TRENLOW
      2. 3.3.2 TCD_PHYL_INTF_UARTTRANSDELAY
      3. 3.3.3 TCD_PHYL_INTF_RESPONSETIME
      4. 3.3.4 TCD_PHYL_INTF_ISIRD
  10. 4Design and Documentation Support
    1. 4.1 Design Files
      1. 4.1.1 Schematics
      2. 4.1.2 BOM
    2. 4.2 Tools and Software
    3. 4.3 Documentation Support
    4. 4.4 Support Resources
    5. 4.5 Trademarks
  11. 5About the Author
  12. 6Revision History

Test Setup

To test the TIDA-010263, prepare the two boards as previously described and stack together. The supplied hex file can now be loaded to the MSPM0L1306 device using Code Composer Studio (CCS) or UniFlash.

The UniFlash webpage allows you to scan for connected devices and lists the LP-MSPMO1306. Click on the Start button below the device.


TIDA-010263 UniFlash Start

Figure 3-4 UniFlash Start

A screen like Figure 3-5 appears, click the Browser button and select the hex file.


TIDA-010263 UniFlash Select Image

Figure 3-5 UniFlash Select Image

By clicking the Load Image button, the hex file is loaded on the MSPM0 device. The debugger is possibly required to allow a firmware update. If this is needed, an additional prompt appears.


TIDA-010263 UniFlash Flash Image

Figure 3-6 UniFlash Flash Image

After the MSPM0L1306 is programmed, the USB connection can be disconnected and TIDA-010263 can be connected to an IO-Link Master, such as TIDA-010234.

To test the reference design, connect TIDA-010234 as shown in Figure 3-7. An IO-Link communication with COM3 and 400µs can be initiated and the timings can be measured.


TIDA-010263 Test Setup

Figure 3-7 Test Setup

The software running on MSPM0L1306 can now enable an IO-Link communication with COM3 and up to 400µs cycle time. The device sends 16 bits of input process data, 8-bit brightness information from a light sensor, and 8-bit temperature information. The device does not accept any output process data.

The RGB LED that is part of the MSPM0L1306 LaunchPad can be controlled through the last 3 bits of the 8-bit indexed service data unit (ISDU) with index 65.

To connect TIDA-010234 to TIDA-010263, start the supplied IOL Master GUI and scan for a connected Master (see Figure 3-8).


TIDA-010263 TIDA-010234 Search
                    Master

Figure 3-8 TIDA-010234 Search Master

As Figure 3-9 shows, the serial port of the connected Master appears in the Port: drop-down menu. Click the Connect button to connect to the port.


TIDA-010263 TIDA-010234 Connect
                    Master

Figure 3-9 TIDA-010234 Connect Master

Figure 3-10 shows where to select the Std Port Config tab. Select this tab and configure the port where TIDA-010263 is connected. To do so leave the default settings and click the Set Port Config tab.


TIDA-010263 TIDA-010234 Configure
                    Port

Figure 3-10 TIDA-010234 Configure Port

The IO-Link Master can now establish a connection in COM3 with a 400µs cycle time. This can be verified, by clicking the Get Port Status button (see Figure 3-11). The established transmission rate and cycle time appears in the lower tab of the GUI.


TIDA-010263 TIDA-010234 Port
                    Status

Figure 3-11 TIDA-010234 Port Status

Data can now be read and written. To read process data, switch to the Process Data tab and select the Read button.


TIDA-010263 TIDA-010234 Process
                    Data

Figure 3-12 TIDA-010234 Process Data

In a similar manner, on request data can be read and written. As illustrated in Figure 3-13, select the On Request Data tab, enter the index to read or write (in this example 65 for the RGB LED) and click the Read button to read the data. For writing, enter the value to write in the box and click the Write button. The example value 02 turns on D5 of the LaunchPad in green.


TIDA-010263 TIDA-010234 On Request
                    Data

Figure 3-13 TIDA-010234 On Request Data