Mark Stokes wrote:
Unless I'm missing something, it appears mspgcc doesn't have support for
the second crystal on the 44x devices. Therefore, instead of bitching
and whining about it, I decided to write the necessary fixes to make it
work.
Attached are the necessary fixed files.
All I did was add the #define for __msp430_have_xt2 in system_clock.h
and in msp430_44x.h.
I hope I followed all the necessary conventions observed by the group.
Please feel free to modify what I have done.
As far as I can tell, this works just fine. I can "turn-on" the XT2
crystal when I want (using the attached code). However, I am apparently
unable to turn the XT2 input off. Not sure if this is even possible.
The only workaround I have at this time is to hit reset (NMI). I am in
communication w/ TI about this and will report as soon as I know
something.
Enjoy
-Mark Stokes
You should have looked at CVS. I checked in changes to support Xtal 2 6
weeks ago. :-)
Regards,
Steve