Not applicable
Feb 01, 2016
12:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 01, 2016
12:56 AM
Hi All,
Can someone point out where I can find an example of working with the ADC in data reduction mode. I have now worked quite a bit with the ADC, but would like to see a working example of the data reduction mode.
Regards
Enigma
Can someone point out where I can find an example of working with the ADC in data reduction mode. I have now worked quite a bit with the ADC, but would like to see a working example of the data reduction mode.
Regards
Enigma
- Tags:
- IFX
2 Replies
Feb 01, 2016
02:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 01, 2016
02:45 AM
Hi,
You can just play with the "Result Control Reg" bit field Data Reduction Control (DRCTR).
You can just play with the "Result Control Reg" bit field Data Reduction Control (DRCTR).
Attachments are accessible only for community members.
Feb 01, 2016
02:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 01, 2016
02:49 AM
Hi,
Attached is the example for data reduction using Result register 1.
Please reference to the below code in RED
Attached is the example for data reduction using Result register 1.
Please reference to the below code in RED
// Result register 1
{
.post_processing_mode = XMC_VADC_DMM_REDUCTION_MODE, //DMM = 0 (Data reduction mode)
//.data_reduction_control = 0, //DRCTR = 0 (Data reduction disabled)
.data_reduction_control = 1, //DRCTR = 1 (Accumulate 2 result value)
//.data_reduction_control = 2, //DRCTR = 1 (Accumulate 2 result value)
.part_of_fifo = false, /* No FIFO */
.wait_for_read_mode = true, /* WFS */
.event_gen_enable = false /* No result event */
},