Click here to return to the Master Control Port page
There are two different versions of I2C Read module.
The 'I2C Periodic Read' block reads a particular sub address from any I2C slave periodically and sends the value read in the output pin.
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.
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.
Name | ADSP-214xx | ADSP-215xx/ADSP-SC5xx | ADAU145x/146x |
---|---|---|---|
—————————————- | —————————————— | ————————————————-- | ——————————————- |
I2C Read | Not Supported | Not Supported | Sample |
Name | Type | Description |
---|---|---|
————————— | ————————— | ———————————-- |
Trigger | Control | Rising edge in this signal initiates read. |
Name | Type | Description |
---|---|---|
————————— | ——————————- | ————————————-- |
OutputX | Control | Outputs data read over I2C |
GUI Control Name | Default Value | Range | Function Description |
---|---|---|---|
—————————————————- | ———————- | —————————————— | ———————————————————————- |
I2CBitrate | 400 kHz | 20 - 400 kHz | I2C Speed |
I2CDeviceAddress | 0 | 0 – 127 | I2C Slave Device Address |
I2CDeviceAddressBits | 8-Bit | 8-Bit/7-Bit | 7 or 8 bit i2c address |
I2CDeviceAddressFormat | Hex | Hex/Dec | Address format |
DataLength | 4 | 1-4 | Length of the data to be read |
SubAddressBytes | 2 | 1-4 | Length of the sub address |
ReadAddress_OutputX | 0 | 0 to Pow(2, Address Length) - 1 | Sub- address of the slave to be read |
InitialOutputValue_OutputX | 0 | -2147483648 to 2147483647 | Value in the output pin till the first read is complete. |
Note: X indicates the channel number
Not applicable
Not applicable