Attachments are accessible only for community members.
Not applicable
Jun 17, 2014
10:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 17, 2014
10:34 AM
Hello,
my first post in this forum and sorry my english is not very well.
My problem is the ADC on XMC2 Go (XMC1100). I have dowload the ADC004_Example1_XMC11 from here and change the pin in IO001/0 to 2.9. Then have connect with a wire the pin 2.9 to pin 3.3v. After compiling and runnung i cannot read the convertet values on "Result.Result" variable in DAVE3-Debugger. It is always "0"(zero). I have tried in free-run and single-step mode.
Secondary i have the "Result.Result" send via serial to PC. It is this same problem. 😞
Now i can't think any further myself. I have tried everything. Please, can you help me, where is the error? 🙂
my first post in this forum and sorry my english is not very well.
My problem is the ADC on XMC2 Go (XMC1100). I have dowload the ADC004_Example1_XMC11 from here and change the pin in IO001/0 to 2.9. Then have connect with a wire the pin 2.9 to pin 3.3v. After compiling and runnung i cannot read the convertet values on "Result.Result" variable in DAVE3-Debugger. It is always "0"(zero). I have tried in free-run and single-step mode.
Secondary i have the "Result.Result" send via serial to PC. It is this same problem. 😞
Now i can't think any further myself. I have tried everything. Please, can you help me, where is the error? 🙂
2 Replies
Not applicable
Jun 17, 2014
01:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 17, 2014
01:21 PM
Hí Nico,
I think the problem is that you did not enable the result interrupt. Please try this: Right-click on the ADC004/0 app, switch to the "Interrupts" tab and check "Enable at Initialization" for the "Result Event".
--
Stephan
longri wrote:
My problem is the ADC on XMC2 Go (XMC1100). I have dowload the ADC004_Example1_XMC11 from here and change the pin in IO001/0 to 2.9. Then have connect with a wire the pin 2.9 to pin 3.3v. After compiling and runnung i cannot read the convertet values on "Result.Result" variable in DAVE3-Debugger. It is always "0"(zero). I have tried in free-run and single-step mode.
Secondary i have the "Result.Result" send via serial to PC. It is this same problem. 😞
I think the problem is that you did not enable the result interrupt. Please try this: Right-click on the ADC004/0 app, switch to the "Interrupts" tab and check "Enable at Initialization" for the "Result Event".
--
Stephan
Not applicable
Jun 17, 2014
11:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 17, 2014
11:15 PM
Hi Stephan,
thank you for your answer. This was the problem :). Now running.
Nico
thank you for your answer. This was the problem :). Now running.
Nico