Not applicable
Aug 30, 2013
06:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 30, 2013
06:46 AM
6 Replies
Not applicable
Sep 02, 2013
12:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 02, 2013
12:09 AM
Hi EVS,
Which device are you using?
Which device are you using?
Not applicable
Sep 04, 2013
01:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 04, 2013
01:00 AM
I'm using XE167FM
Not applicable
Sep 04, 2013
01:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 04, 2013
01:34 AM
Hi EVS,
Did you use DAVE for the code generation?
If yes, it is quite simple.
You just need to enable the Parallel Source in the general tab and choose Enable Autoscan in the Parallel tab.
Then, you enable the ADC channels you want to use and use the function ADC0_vStartParReqChNum to include the ADC channel into the Autoscan.
Did you use DAVE for the code generation?
If yes, it is quite simple.
You just need to enable the Parallel Source in the general tab and choose Enable Autoscan in the Parallel tab.
Then, you enable the ADC channels you want to use and use the function ADC0_vStartParReqChNum to include the ADC channel into the Autoscan.
Not applicable
Sep 04, 2013
02:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 04, 2013
02:54 AM
Jackson wrote:
Hi EVS,
Did you use DAVE for the code generation?
If yes, it is quite simple.
You just need to enable the Parallel Source in the general tab and choose Enable Autoscan in the Parallel tab.
Then, you enable the ADC channels you want to use and use the function ADC0_vStartParReqChNum to include the ADC channel into the Autoscan.
Thanks for the reply.
Yes I did al that! I also read the documentation many times. But the ADC is 0 (RESR0). If I do a single scan it works fine.
I do a conversion request(ADC0_vStartParReqChNum (0)) but it isn't handeld by hardware and I don't know why.
CRMR1=0x0011. I think it should work.
Regards,
Not applicable
Sep 10, 2013
01:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 10, 2013
01:07 AM
Hi EVS,
You need to call the function ADC0_vSetLoadEvent after you call the ADC0_vStartParReqChNum function.
You need to call the function ADC0_vSetLoadEvent after you call the ADC0_vStartParReqChNum function.
Not applicable
Aug 31, 2017
12:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 31, 2017
12:35 AM
Dear,
I also use a XE167FM, I want to read input P15.0 to P15.6 but it's not working.
I change the input at each timer.
When I read only one input it's ok, but if i want to read 15.0, 15.1 the next time... 15.5 the next time it's not working.
I use :
ADC1_vStartParReqChNum(ucCptReadSensor);
ADC1_vSetLoadEvent();
while(ADC1_uwBusy());
fPressureA = (ADC1_uwGetResultData(RESULT_REG_7) + fPressureA * 20)/21;
Do you have an idea about what is wrong?
thank you for your help
Benoît
I also use a XE167FM, I want to read input P15.0 to P15.6 but it's not working.
I change the input at each timer.
When I read only one input it's ok, but if i want to read 15.0, 15.1 the next time... 15.5 the next time it's not working.
I use :
ADC1_vStartParReqChNum(ucCptReadSensor);
ADC1_vSetLoadEvent();
while(ADC1_uwBusy());
fPressureA = (ADC1_uwGetResultData(RESULT_REG_7) + fPressureA * 20)/21;
Do you have an idea about what is wrong?
thank you for your help
Benoît