Other Parts Discussed in Thread: MSP430F5515
Hi,
I want to print the random numbers I'm generating by way of app note SLA0338 (ported to the MSP430F5515) to a terminal via the UART. Unfortunately, when I come back from the function call to get the random number, there is a DCO Fault that I can't get to clear. I'm running my UART from ACLK, which is sourced by a 32khz crystal. Also the subroutine messes with the ACLK prescalar arbitrarily. What procedure should I use to get the clock system stable enough to output to reliably output to the UART between iterations of this chaotic clock system created by the appnote logic. It seems like stuff I've tried so far makes the processor lock up irrecoverably (but this could be flaky debugger behavior)... Any advice / guidance would be much appreciated.
Regards,
Vic