dev null wrote:

Hi all,

we have used the new MSP430F169 SVS Modul. After some unsuccessful Experiments with the SVS we found, that the SVS
Control Register
is NOT at the Adress 0x0056 as decribed in the (older) TI Datasheet and the
svs.h file. The Register Layout for the SVS of the MSP430F16x is not the same as in other MSP's with SVS. SVSCTL is located there at 0x0055.

The Headerfiles shold be adepted to this. We have modiefied our local
msp430x16x.h file to include a separate svs_16x.h file (instead of svs.h) with the small modification.
There is a new Datasheet at the TI Website
(http://www-s.ti.com/sc/ds/msp430f169.pdf) with the corrected SVS Adress Layout.

I hope it would help somebody,
Peter
The early 15x/16x document says SVSCTL is at 0x56. Problem is, it also says a DCO register is at 0x56 :-)

The current TI header file for the 15x and 16x, as in the latest Quadravox and IAR packages, does not define the SVS for the 15x and 16x at all.

I have added a switch to select the right location. I believe all future devices will include the SVS. I also think all devices with a DCO will have this at 0x55, and all devices with an FLL will have it at 0x56. However, I may be wrong, so I didn't make the selection dependant on having a DCO or FLL. I used a new switching variable "__msp430_have_svs_at_0x55".

Thanks for reporting this. Please report any anomolies you find in header files, even spelling mistakes. The cleaner ths header files, the less likely people are to make mistakes using them.

Regards,
Steve



Reply via email to