Wiki

This version (02 Jan 2017 09:46) was approved by Venkatesan Krishnamoorthy.The Previously approved version (26 Apr 2016 07:14) is available.Diff

I2C Read (ADAU145X)

Click here to return to the Master Control Port section.

There are two different versions of I2C Read module.

  1. I2C Periodic Read
  2. I2C Read with external Trigger

I2C Periodic Read

The 'I2C Periodic Read' block reads a particular sub address from any I2C slave periodically and sends the value read in the output pin.


Output Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: I2C Datadecimal - controlOutputs data read over I2C


Configuration

Click on the configure button to configure the parameters for I2C read.

Create Multiple instances for monitoring multiple slaves/ multiple sub address from same slave.


GUI Control

GUI Control NameDefault ValueRangeFunction Description
Bitrate400 kHz 20 - 400 kHzI2C Speed
Device Address00 – 127I2C Slave Device Address
Data Length41-4 Length of the data to be read
Sub-Address Bytes21-4 Length of the sub address
Read Interval1 ms1 - 1000 msInterval between 2 consecutive I2C Read
Read Address00 to Pow(2, Address Length) - 1Sub- address of the slave to be read
Initial Output Value0-2147483648 to 2147483647Value in the output pin till the first read is complete.





I2C Read with external Trigger

The 'I2C Read with external Trigger' block reads a particular sub address from any I2C slave when a rising edge is detected in the input pin.


Input Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Triggerdecimal - controlRising edge in this signal initiates read.


Output Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: I2C Datadecimal - controlOutputs data read over I2C


Configuration

Click on the configure button to configure the parameters for I2C read.

Create Multiple instances for monitoring multiple slaves/ multiple sub address from same slave.


GUI Control

GUI Control NameDefault ValueRangeFunction Description
Bitrate400 kHz 20 - 400 kHzI2C Speed
Device Address00 – 127I2C Slave Device Address
Data Length41-4 Length of the data to be read
Sub-Address Bytes21-4 Length of the sub address
Read Address00 to Pow(2, Address Length) - 1Sub- address of the slave to be read
Initial Output Value0-2147483648 to 2147483647Value in the output pin till the first read is complete.
resources/tools-software/sigmastudio/toolbox/mastercontrolport/i2cread.txt · Last modified: 02 Jan 2017 09:46 by Venkatesan Krishnamoorthy