Table Of Contents

Configuring an I2C Master Protocol

Last Modified: November 6, 2020

Before you begin this procedure, create a PXIe-657x interface using the Digital Pattern Editor and configure the interface using the Semiconductor Device Control Add-On.

Ensure that you open your Semiconductor Device Control Add-On project in a large panel before configuring interfaces and protocols.

Complete the following steps to configure an I2C master protocol for a PXIe-657x interface.

  1. Open the Hardware Configuration tab of the large panel.
  2. In the configuration section of the Hardware Configuration tab, select the PXIe-657x interface that you want to add a protocol to and click Add Protocol.
  3. Enter the name of the protocol, select I2C Master from the Choose Type drop-down menu, and click OK.
  4. Select the new protocol in the list to display the configuration options.
  5. Configure the pin settings for the protocol.
    1. Select the pin group using the Pin Group drop-down menu.
    2. Select the I2C data pin using the Data Pin drop-down menu.
    3. Select the bus number using the Bus drop-down menu.
  6. Configure the pattern project settings for the protocol.
    1. Select the write pattern from the Write Pattern Name drop-down menu.
    2. Select the read pattern from the Read Pattern Name drop-down menu.
  7. Configure the pattern settings for the protocol.
    1. Select the timing file from the Timing File Name drop-down menu.
    2. Select the voltage level file from the Level File Name drop-down menu.
    3. Enter the clock frequency (in KHz) in the Clock Rate input.
    4. Select the I2C mode of operation from the I2C Mode drop-down menu.
  8. Configure the I2C settings for the protocol.
    1. Select the size of the slave address from the Addressing Mode drop-down menu.
    2. Enter the I2C 7-bit slave address in the Slave Address input.
  9. Configure the data order settings for the protocol.
    1. Select the starting point for the address and data from the Bit Order drop-down menu.
    2. Select the byte order for the address and data from the Byte Order drop-down menu.

Recently Viewed Topics