cancel
Showing results for 
Search instead for 
Did you mean: 

Can MLC be configured to run only when magnitude of acceleration is above a threshold (without passing by the MCU, which would remain in sleep or stop mode) or is it always on once we activate it?

Eleon BORLINI
ST Employee
 
1 ACCEPTED SOLUTION

Accepted Solutions
Eleon BORLINI
ST Employee

MLC can be configured to run a certain algorithm (e.g. detecting classes “still�? vs “moving�?, with a simple decision tree with features based on the magnitude of the acceleration). The transition from one class (e.g. “still�?) to the another (e.g. “moving�?), will raise an interrupt (which can be driven to INT1/INT2 pins). The interrupt can be used as trigger for MCU mode change (e.g. from sleep to active, and viceversa).

Power consumption will be consistently reduced while keeping the MCU in sleep mode most of the time. MLC will be always on, but its current consumption is much lower compared to the MCU.

View solution in original post

1 REPLY 1
Eleon BORLINI
ST Employee

MLC can be configured to run a certain algorithm (e.g. detecting classes “still�? vs “moving�?, with a simple decision tree with features based on the magnitude of the acceleration). The transition from one class (e.g. “still�?) to the another (e.g. “moving�?), will raise an interrupt (which can be driven to INT1/INT2 pins). The interrupt can be used as trigger for MCU mode change (e.g. from sleep to active, and viceversa).

Power consumption will be consistently reduced while keeping the MCU in sleep mode most of the time. MLC will be always on, but its current consumption is much lower compared to the MCU.