I'm having problems with the BSL on my MSP430F5510 based design. The BSL does not work and after debugging the issue I traced it to the XT2 oscillator not starting. The BSL code waits in an endless loop for the XT2 crystal to start oscillating.
I'm using a 4 MHz crystal and consulting the MSP430F5510 datasheet I can see that XT2DRIVE should be set to 0 (the lowest current) when using crystals between frequencies of 4 to 8 MHz. The stock BSL code provided by TI always uses the max current setting of 3.
I modified the BSL code and set the XT2DRIVE to 0, and sure enough the XT2 starts.
So here's the questions:.
1. The TI BSL code performs autodetection of crystal frequencies, yet with an unknown crystal it always uses max XT2DRIVE, violating the spec. Is that a bug in the BSL code?
2. Contradictory to the spec I assumed that max XT2DRIVE will work with any frequency, but for lower power consumption the osc current can be reduced with lower frequency crystals. If this is correct, what reasons could there be that a 4 MHz crystal doesn't oscillate with max current, but it does with min current?
Thank you for any insight.
Daniel