I'm attempting to use an external oscillator on a MSP430F51x2 using the MSP-TS430RSB40 as target platform.
Our design uses Spy-by-wire because the J.0 - J.4 pins have all been re-purposed. Being unable to get the external 24MHz clock/oscillator input to work on our design, I reverted to the `RSB40 evaluation board and an MSP430F5152.
After considerable UCSCTLn bit fiddling, I have come up with what appears to be a reasonable combination that shuts-down the DCO/FLL, selects the XT1-IN and doesn't periodically generate oscillator faults... Problem now is, the Spy-bi-wire (using FET430UIF) is unstable, it seems to lose communication with the target. It fails to halt on a breakpoint (other than just the first hit), will not resume running when it does break, it cannot reset the target, etc.
To recover I must terminate the current CCS debug session and re-program the target. Instead of the 24MHz oscillator I have also tried a 1MHz to 10MHz signal generator input with similar results.
When I abort the debugger, the external clock appears to initialize and run properly as observed on the ACLKout on P3.4 and the software toggling of PJ.6.
If life's good... the zipped project is supposedly attached...
thanks,
-neil