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.

MSP430I2040: The internal crystal 16.384M and the external crystal 16.384M are not accurate

Part Number: MSP430I2040

Hi team,

Here's an issue from the customer may need your help:

Issue: after the 25-pin of the chip externally connecting to the active crystal 16.384M, the bypass mode is used to simulate and find that the delay interval is too different from the set delay time, the same problem as when using the internal crystal, then resulting in the baud rate to not match when communicating with other chips when using the UART transport protocol.

The following is a simple routine simulation result written during debug. (Set delay of 1ms LED blinking):

#include "msp430.h"

void main(void)
{
WDTCTL = WDTPW | WDTHOLD; // Stop Watchdog Timer

CSCTL0 = DCOBYP; 

P2DIR|=BIT2;

while(1)
{

P2OUT|=BIT2;
__delay_cycles(16384);
P2OUT&=~BIT2;
__delay_cycles(16384);

}

}

Could you help check this case? Thanks.

Best Regards,

Cherry

**Attention** This is a public forum