Hi Team,
I have been trying to configure I2C using Flexcomm 2.I was successfully able to execute the sample code present in SDK. (SDK_2_11_1_EVK MIMXRT685\boards\evkmimxrt685\driver_examples\i2c\polling_b2b\master). This code uses FC4 to configure I2C.
I want to configure I2C using other Flexcomm ports since the project I am working on requires me to use 2 I2Cs simultaneously.
I am not able to establish a connection between master and slave and I do not see any signals going through the master over Saleae logic Analyzer.
I am trying to execute the same example code with changes. Following are the snapshot of the changes made in the sample code (SDK_2_11_1_EVK MIMXRT685\boards\evkmimxrt685\driver_examples\i2c\polling_b2b\master). in order to shift from FC4 to FC2.
Board used: MIMXRT-685; IDE used: Keil
Pin Connections:
J-28_Pin-9 P0_17_FC2_SDA
J-28_Pin-10 P0_18_FC2_SCL
Thank you!
Also, tried adding FC2 configuration through the pin config tool in MCUxpresso. The utility added them to the pin_mux.c and clock_config.c file. Still same results.
Hello,
To understand your case, you are trying to configure an I2C [master Flexcomm2] and another I2C [slave Flexcomm4], that I understood, tell me if I'm right, to give you more information. I will wait for your comments.
All my future recommendations will be based on the IDE MCUXpresso.
Best regards,
Pavel