Static Data Limitation in FlexIO_I2C_Master_Transmit_ISR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Static Data Limitation in FlexIO_I2C_Master_Transmit_ISR

545 Views
anshidt
Contributor I

The data in the 'FlexIO_I2C_Master_Transmit_ISR block' is static. When reading data from a slave, this data represents a register address. However, when writing data to a register, it should represent the register address followed by the data.

The issue arises when I configure my model to perform a read operation—it can only execute read operations. My model needs to configure the slave (i.e., write data to a register) and subsequently read data from another register. This process cannot be performed within a single model because the data in the 'FlexIO_I2C_Master_Transmit_ISR' block is not dynamic.

Is there a way to make this block handle dynamic data for both read and write operations within the same model?

0 Kudos
Reply
0 Replies