Static Data Limitation in FlexIO_I2C_Master_Transmit_ISR

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Static Data Limitation in FlexIO_I2C_Master_Transmit_ISR

881件の閲覧回数
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 件の賞賛
返信
0 返答(返信)