Part Number: MSP430FR59941
Hi,


Thanks & Regards,
Vijay Balaji
Embedded Design Enginner
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: MSP430FR59941
Hi,


Thanks & Regards,
Vijay Balaji
Embedded Design Enginner
Hi Vijay,
The continuous clock tells me the master (FR59941) is either stuck in a loop writing or reading all zeros and this would point to an issue with your software.
You might also want to look at the MSP430FR59941 I2C examples in the TI Resource Explorer. Maybe compare to your code and see if maybe you have overlooked something.
Hi Dennis,
Hi Vijay,
I apologize for the delay in my response. I haven't had a chance to set this up and test, but will try later today. Any success on your side?
I've seen this kind of symptom when the I2C unit was (somehow) partially disconnected from the bus. My hypothesis was that the I2C controller was wiggling the pins but the Bus Monitor couldn't see any effect, so it just kept retrying. Your observation that the sample code doesn't display this behavior suggests that the bus itself is probably OK.
Can you post your I2C configuration code? I'm particularly interested in the PSEL settings.
Hi Dennis,
That I2C is not working but Another I2C is working perfectly.
So, I think that I2C Peripheral only gone
Thanks & Regards
Vijay
Hi Bruce,
Code:
uint8_t RTC_i2c_Init(void)
{
P5DIR |= BIT0 | BIT1;
P5SEL0 |= BIT0 | BIT1;
P5SEL1 &= ~(BIT0 | BIT1);
UCB1CTLW0 = 0x0F91; /* Master, I2C Mode, SMCLK, Transmit mode and Reset enable */
UCB1BRW = 39; /* Baud Rate = SMCLK/40 = 16MHz/40 = 400KHz */
UCB1CTLW0 = 0x0F90; /* Reset is disable */
return 1U;
}
This is my I2C Configuration.
Hi Dennis,
That issue is UCB1 I2C Peripheral is not working but another I2C is working Perfectly.
I Will change the I2C pheripheral UCB1 to UCB0.
Thanks & Regards,
Vijay
**Attention** This is a public forum