This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Clock Module

Other Parts Discussed in Thread: MSP430F5529

I'm working on a sensor recording application with the MSP430f5529, SYS/BIOS 6.33.1.25 and XDCtools 3.22.1.12. I've been consistently experiencing unexpected behavior when toggling LED in a clock module SWI. This status is used to indicate that recording is enabled by using a toggle period of 2Hz. During recording, I've noticed changes in the period and duty cycle after running for a short time (<1min). I suspected that my processing load was high, but after disabling all sensors (i.e. interrupts) the behavior still exists.

I've now simplified my application to a few basic tasks: board init (clocks, pins, etc), SYS/BIOS start and one active clock SWI. There are no external interrupts and most on-chip subsystems are disabled. A SWI from the SYS/BIOS clock module is used to toggle the LED, which is enabled by default and initially works as expected. After a minute or so the SWI does not get executed with the correct period and duty cycle (2Hz, 50%).

At this point it seems the ACLK (32.768KHz) or SYS/BIOS clock module is not behaving as expected. Also this behavior is verified when toggling a GPIO in the clock SWI. Thinking this was a low-power mode issue, I removed the SYS/BIOS's MPS430 power management module, but nothing improved. The only way it seems to work is if I toggle the LED manually in a while loop in the main init SWI.

Any help would be appreciated.