The MSP430F5529 Device Erratasheet states that when writing to the RTC registers it may result in unexpected results.
There are Code Examples how to write without problems, i could get the workaround to compile right with energia,
The .aline 32 wont compile right and there is always garbage in the registers when i used the workaround, so i tried to write directly to the registers and it seem to work without flaws, am i just lucky?
My msp430f5529 is Rev. H and this revision should be prone to the RTC3 bug. Can anyone help to compile the fix correctly?
Erratasheet http://www.ti.com/lit/er/slaz314i/slaz314i.pdf
Workaround: http://www.ti.com/lit/zip/slac166
it under \MSP430F541x_MSP430F543x_Code_Examples\C\RTC_Workaround.zip
best regards,
Nick