Skip to content

Bug in MSP430 uslib.c #1

@Sergio5714

Description

@Sergio5714

A bug in MSP430 reported by @lujinhao fw for both wulpus and wulpus-pro.

The impact is fairly low: probably would only save <1mA current draw but should improve the reliability a bit.

"fw/msp430/wulpus_msp430_firmware/uslib/uslib.c#L505

Here, bitwise or makes more sense.

This bug leads to delay of the rest code of the function till the next slow_CCR0 timer (since #define TIMER_SLOW_CCR0_EVENT (1<<0)).

Power wise, the USS module is turned off already in the call back function saphSeqAcqDoneCallback. So I guess the power consumption difference is probably only between LPM0 and LPM3 which is about 200uA (there could be something I missed that draws more current)."

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions