Not applicable
Feb 22, 2016
01:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 22, 2016
01:34 AM
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
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
1 Reply
Feb 22, 2016
01:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 22, 2016
01:50 AM
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.