Not applicable
Nov 21, 2014
02:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 21, 2014
02:40 AM
Hello !
I want to use VADC to start a single conversion. But: not by using DAVE. Just step by step on register base ...
Questions:
1)
After reading the reference, I dont know exactly, how to insert trigger events into the queue for source-0.
I should write into QINR0 register - but when is this register forwarded into the queue? There are several fields - do I have to fill the whole register in one step and it is inserted into the queue at every write access?
Or did I miss some information?
2)
When using "refill"
/* refill */
inr0 |= VADC_G_QINR0_RF_Msk;
is it enough to setup the queue once and it is refilled after conversion?
3)
What type of source do you reccomend, if I yust want to convert a single channel once? queue or sequence?
Many thanks,
Michael
I want to use VADC to start a single conversion. But: not by using DAVE. Just step by step on register base ...
Questions:
1)
After reading the reference, I dont know exactly, how to insert trigger events into the queue for source-0.
I should write into QINR0 register - but when is this register forwarded into the queue? There are several fields - do I have to fill the whole register in one step and it is inserted into the queue at every write access?
Or did I miss some information?
2)
When using "refill"
/* refill */
inr0 |= VADC_G_QINR0_RF_Msk;
is it enough to setup the queue once and it is refilled after conversion?
3)
What type of source do you reccomend, if I yust want to convert a single channel once? queue or sequence?
Many thanks,
Michael
1 Reply
Nov 23, 2014
06:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 23, 2014
06:05 PM
Hi Michael,
You can find many ADC example from this link which does not use DAVE.
Look under the section for Application notes and choose
Device Guide - XMC4000 - Analog-to-Digital Converter (ADC)
Device Guide - XMC4000 - Analog-to-Digital Converter (ADC) - Example Code
http://www.infineon.com/cms/en/product/microcontrollers/32-bit-xmc4000-industrial-microcontrollers-a...
You can find many ADC example from this link which does not use DAVE.
Look under the section for Application notes and choose
Device Guide - XMC4000 - Analog-to-Digital Converter (ADC)
Device Guide - XMC4000 - Analog-to-Digital Converter (ADC) - Example Code
http://www.infineon.com/cms/en/product/microcontrollers/32-bit-xmc4000-industrial-microcontrollers-a...