Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi All,

Quick simple question.

In reduction mode, if you have assigned the output to be stored in a specific register, does this register obtain the average of the measurement over the amount of cycles or the last measurement? Should you read the average out somewhere else?

Regards
Enigma
0 Likes
1 Reply
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
enigmaldc wrote:
Hi All,

Quick simple question.

In reduction mode, if you have assigned the output to be stored in a specific register, does this register obtain the average of the measurement over the amount of cycles or the last measurement? Should you read the average out somewhere else?

Regards
Enigma


It is not the average result which you will be getting. Instead you got the accumulated value.

In standard reduction mode, you can have the choice of accumulate 2,3 or 4 of the result value by setting the DRCTR. After that an interrupt will be triggered which provide the accumulated result, with this result you can do an average base on the setting you have chosen.


1846.attach
0 Likes