Other Parts Discussed in Thread: PCA9539
Hi,
I'm currently working on MSP430F4784. In this I'm trying to communicate with two slave devices( Temperature sensor TC74A0 & I/O expander PCA9539 ) using I2C (UCB1).
So far what I'm getting is, while debugging communication with temperature sensor, when executing UCB1CTL1 &= ~UCSWRST; line UCBBUSY is set to 1 and UCSCLLOW is set 1 then in RXBUF I'm getting temperature data. But after a few times of debugging UCBBUSY bit is set 1 and UCSCLLOW bit becomes 0, and data also not receiving RXBUF is always 0.
This happens after the execution of line UCB1CTL1 &= ~UCSWRST;.
Again it works after some time I power up the IC. It is happening repeatedly.
What causes this issue is there anything I have to configure in I2c to get proper data.
Kindly help me out with this.
Thanks and regards