Hi Sagar Prajapati ,
MSR[BBF]=1 means I2C bus is busy.
Do you check the I2C bus wave? You can use the logic analyzer to test the I2C wave, whether the I2C_CLK and I2C_DATA wave is correct or not?
We don't have the specific MIMXRT1064 I2C code for GT911 , you need to check your GT911 datasheet, to send the related I2C data to your I2C slave.
But NXP provide the RT1064 I2C driver, you can refer to the SDK code which can be downloaded from this link:
Welcome | MCUXpresso SDK Builder
The I2C sample code can be found from this link:
SDK_2.6.1_EVK-MIMXRT1064\boards\evkmimxrt1064\driver_examples\lpi2c
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------