Attachments are accessible only for community members.
Not applicable
Sep 30, 2014
04:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 30, 2014
04:39 AM
Hi,I am working on XMC1200 evolution kit,I am trying to debug following code ,No errors in the code but,at the time of debug it showing following message please find in attachment of code,message in debug and App connectivity Diagram ,I am changing the values of ADC by POT available on XMC board,Kindly Advise me how to solve
Labels
4 Replies
Not applicable
Sep 30, 2014
07:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 30, 2014
07:00 PM
Hi prathibha,
The error indicate that the CPU has jump to the interrupt pointer that you did not have the Interrupt service routine.
From your app connectivity view, I did not see you have added NVIC002 app.
This means you did not connect your ADC to an interrupt node.
I would suggest you take a look at the ADC001 example code.
You can download from DAVE IDE, go to Help > Install DAVE Apps/Example Library > select DAVE Project Library Manager at the drop down list
Then a list will be shown in the 'Name' column and you select XMC1000 > XMC1200 > DAVE Example Project > Analog > Analog Digital Conversion > ADC001_Example2
The error indicate that the CPU has jump to the interrupt pointer that you did not have the Interrupt service routine.
From your app connectivity view, I did not see you have added NVIC002 app.
This means you did not connect your ADC to an interrupt node.
I would suggest you take a look at the ADC001 example code.
You can download from DAVE IDE, go to Help > Install DAVE Apps/Example Library > select DAVE Project Library Manager at the drop down list
Then a list will be shown in the 'Name' column and you select XMC1000 > XMC1200 > DAVE Example Project > Analog > Analog Digital Conversion > ADC001_Example2
Attachments are accessible only for community members.
Not applicable
Sep 30, 2014
11:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 30, 2014
11:37 PM
Hi Jackson,
Thank You for your response,As you told i have checked ADC001 app and seen values are changing according to POT,I am trying to change LED'S status to change According to Values of Result Variable,For all values of ADC result variable LED's are On,Please suggest me how i can on/off LED'S According to code,please find the Hardware connectivity and software connectivity,IO004 configuration.Please find the Attachment.
Thanks&Regards
Prathibha
Thank You for your response,As you told i have checked ADC001 app and seen values are changing according to POT,I am trying to change LED'S status to change According to Values of Result Variable,For all values of ADC result variable LED's are On,Please suggest me how i can on/off LED'S According to code,please find the Hardware connectivity and software connectivity,IO004 configuration.Please find the Attachment.
Thanks&Regards
Prathibha
Not applicable
Oct 01, 2014
08:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 01, 2014
08:29 PM
Hi prathibha,
Since the ADC is running at refill mode, the interrupt for the ADC is too fast that the CPU did not have the chance to execute the instruction in main function.
So if you move the if..else function in the while loop to the ADC interrupt service routine, I believe you could the LED changing.
Since the ADC is running at refill mode, the interrupt for the ADC is too fast that the CPU did not have the chance to execute the instruction in main function.
So if you move the if..else function in the while loop to the ADC interrupt service routine, I believe you could the LED changing.
Not applicable
Oct 06, 2014
11:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 06, 2014
11:49 AM
Thank you so much Jackson, I Got output as you told.
Thanks&Regards
Prathibha
Thanks&Regards
Prathibha