ΣSigmaStudio Русский

I2C Read (ADAU145X)


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.

I2C Periodic 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.

Configuration

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.

I2C Read with external Trigger

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.

Configuration

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.