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