Not applicable
Apr 22, 2014
01:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 22, 2014
01:23 AM
I build a project for xmc1100 with ADC001_Example1_XMC12 as model. Of course, for XMC1100 I must use ADC004, all other is the same.
(It's new build, not migrated project.)
In interrupt-routine I added some code to switch the LED on Board in Interrupt.
But nothing happens, while reading the value, I get a zero-value.
What's the trick here?
rgds
(It's new build, not migrated project.)
In interrupt-routine I added some code to switch the LED on Board in Interrupt.
But nothing happens, while reading the value, I get a zero-value.
What's the trick here?
rgds
11 Replies
Attachments are accessible only for community members.
Not applicable
Apr 23, 2014
12:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 23, 2014
12:59 AM
Not applicable
Apr 23, 2014
03:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 23, 2014
03:15 AM
Thanks for your help, Sophia,
but now we have greater confusion. Your sample is near the same I built, as you say: ADC001_Example1_XMC12.
I changed input-pin to 2.7, migrate device to Q024F064 and it works twice. I made some extension to project until it did not run. No trouble, back to start, removed changed project from workspace, import your project, but I did not get it running anymore.
Do you have any idea? Or someone else?
rgds
but now we have greater confusion. Your sample is near the same I built, as you say: ADC001_Example1_XMC12.
I changed input-pin to 2.7, migrate device to Q024F064 and it works twice. I made some extension to project until it did not run. No trouble, back to start, removed changed project from workspace, import your project, but I did not get it running anymore.
Do you have any idea? Or someone else?
rgds
Not applicable
Apr 24, 2014
12:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 24, 2014
12:26 AM
Hi,
Would like to clarify the followings:
1) Did you try to run the example on XMC1100 BootKit with T038F064 package device?
2) If yes, did you try to change the pin from 2.5 to 2.7 and get it running on the same BootKit?
3) Did you try to run the project built for Q024F064 (with the same code & settings) but failed?
4) What do you mean "it works twice"?
Best regards,
Sophia
Would like to clarify the followings:
1) Did you try to run the example on XMC1100 BootKit with T038F064 package device?
2) If yes, did you try to change the pin from 2.5 to 2.7 and get it running on the same BootKit?
3) Did you try to run the project built for Q024F064 (with the same code & settings) but failed?
4) What do you mean "it works twice"?
Best regards,
Sophia
Not applicable
Apr 24, 2014
12:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 24, 2014
12:50 AM
Hi,
1.) no, first migrated to Q024F064, changed Pin 2.5 to 2.7
3.) runs successfully TWICE
4.) TWICE means 2 (or 3) builds:
import, migration, build, success; some changes, build, success; some changes, build, fail (!)
drop complete project, reimport, migration, build, fail; drop, reimport, build, fail; ...
best regards
G.
1.) no, first migrated to Q024F064, changed Pin 2.5 to 2.7
3.) runs successfully TWICE
4.) TWICE means 2 (or 3) builds:
import, migration, build, success; some changes, build, success; some changes, build, fail (!)
drop complete project, reimport, migration, build, fail; drop, reimport, build, fail; ...
best regards
G.
Not applicable
Apr 28, 2014
06:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 28, 2014
06:05 AM
I have changed a configuration to some Ports from group 0 and it works, but I didn't get a value from prot 2.7 (it's in group 1).
New empty project with adc004 on port 2.6 will work, change to port 2.7 will not work.
And, other question (maybe new thread):
How to coexist adc004 and uart001 in one project?
rgds
New empty project with adc004 on port 2.6 will work, change to port 2.7 will not work.
And, other question (maybe new thread):
How to coexist adc004 and uart001 in one project?
rgds
Not applicable
Apr 29, 2014
12:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 29, 2014
12:23 AM
Hi Hans-Jürgen,
1) As for the P2.7 problem, it has been forwarded further, will inform you once get update.
2) What do you suppose to do with ADC004 & UART001?
Best regards,
Sophia
1) As for the P2.7 problem, it has been forwarded further, will inform you once get update.
2) What do you suppose to do with ADC004 & UART001?
Best regards,
Sophia
Not applicable
May 05, 2014
12:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 05, 2014
12:51 AM
Hi Hans-Jürgen,
Here is the update for P2.7 problem:
The XMC1100 does not provide the dual group access to the channels. Each ADC pin is mapped only once to an ADC group. Especially in QFN24 package, only group0 is allowed to be used. Currently in ADC004, the P2.7 is assigned to group1 (Group1 CH1).
Pls follow up with eTicket 751668681.
Best regards,
Sophia
Here is the update for P2.7 problem:
The XMC1100 does not provide the dual group access to the channels. Each ADC pin is mapped only once to an ADC group. Especially in QFN24 package, only group0 is allowed to be used. Currently in ADC004, the P2.7 is assigned to group1 (Group1 CH1).
Pls follow up with eTicket 751668681.
Best regards,
Sophia
Not applicable
May 06, 2014
06:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 06, 2014
06:09 AM
Hi, Sophia,
your answer from Apr 29th
2.) I read the values from Port, do something with it and I'll log these values and some results over UART.
Quite now I found the cause, why I didn't got an Interrupt with easy configuration:
I will not work, if there is an underscore in Name of InterruptServiceRoutine.
In your sample you use "GlobalResultEvent". I used "isr_Adc" and this does not work. After changing to "isrAdc", it works also.
(I can't remember, why sometimes it runs only twice.)
rgds H-J
your answer from Apr 29th
2.) I read the values from Port, do something with it and I'll log these values and some results over UART.
Quite now I found the cause, why I didn't got an Interrupt with easy configuration:
I will not work, if there is an underscore in Name of InterruptServiceRoutine.
In your sample you use "GlobalResultEvent". I used "isr_Adc" and this does not work. After changing to "isrAdc", it works also.
(I can't remember, why sometimes it runs only twice.)
rgds H-J
Not applicable
May 06, 2014
10:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 06, 2014
10:13 PM
Hi Hans-Jürgen,
The interrupt should work even use "isr_Adc", as long as it is the same as what has been defined in "Interrupt Node Configuration" tab and there is no "SPACE" in between eg. "isr Adc".
Best regards,
Sophia
The interrupt should work even use "isr_Adc", as long as it is the same as what has been defined in "Interrupt Node Configuration" tab and there is no "SPACE" in between eg. "isr Adc".
Best regards,
Sophia
Not applicable
May 19, 2014
01:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 19, 2014
01:57 AM
Hi, Sophia,
I should have test it without the actual updates.
With this updates it works as expected.
If there is a space isr-name in main.c, I'll get a compiler error, but solver doesn't generate an error. (I'm sure, there was no space in my test.)
rgds
Hans-Juergen
I should have test it without the actual updates.
With this updates it works as expected.
If there is a space isr-name in main.c, I'll get a compiler error, but solver doesn't generate an error. (I'm sure, there was no space in my test.)
rgds
Hans-Juergen
Not applicable
May 19, 2014
02:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 19, 2014
02:19 AM
Hi Hans-Jürgen,
"DAVE TIP of the day: Why there is no warning if no interrupt function name defined?" explains the mechanism of creating an interrupt for the NVIC002 App. Hope you find it useful.
Best regards,
Sophia
"DAVE TIP of the day: Why there is no warning if no interrupt function name defined?" explains the mechanism of creating an interrupt for the NVIC002 App. Hope you find it useful.
Best regards,
Sophia