Other Parts Discussed in Thread: CAPTIVATE-FR2676, CAPTIVATE-PGMR
Hello All,
I want to interface an I2C based sensor with MSP430FR2676 where i have connected I2C sensor to Pin P4.3 and P4.4.
For this i am using Captivate-FR2676 with Captivate-PGMR Board,
I am referring the "msp430fr267x_eusci_i2c_standard_master.c" example code.
For testing purpose first i used pin P1.2 and P1.3 and was able to read and write the registers of I2C based sensor.
However when i made the respective changes in the code for pin P4.3 and P4.4 i was not able to test the I2C interface.
Refering the below post and datasheet i also remapped the I2C pins but i was not able to solve my issue.
Also i have attached my code files for reference so please check if i am missing out on something.
I have observed that my code gets stuck on the "__bis_SR_register(LPM0_bits + GIE); " line in both I2C read and write functions.
Please help me to understand what i missing out.
Thanks and Regards.