ADC EOC Interrupt
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-30 6:08 AM
Posted on May 30, 2011 at 15:08The original post was too long to process during our migration. Please click on the attachment to read the original post.
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-30 7:41 AM
Posted on May 30, 2011 at 16:41
P.S.:
The part void ADC1_2_IRQHandler(void) {...} is the only part where I cannot set any breakpoints in my compiler. Though I don't know if thats significant concerning my problem... Anybody got a hint for me? Sincerely, B.L.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-31 6:34 AM
Posted on May 31, 2011 at 15:34
I don't know if this is your problem, but you are disabling ADC2 EOC despite the comment field.
Also, I would move the NVIC initialization function call to just after the RCC initialization function call. Cheers, HalOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-31 4:18 PM
Posted on June 01, 2011 at 01:18
For my IDE, I have to set the vector table base location at 0x8000000 as part of the NVIC initialization. If Ride 7 doesn't do that for you automagically, that might be the problem.
Cheers, HalOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-06-02 6:37 AM
Posted on June 02, 2011 at 15:37
Hello baird.hal.001,
thanks for your answers. I've been able to solve the problem meanwhile. Apparently the problem was the name of the used IRQ handler. I had used the ADC1_2_IRQHandler but instead I had to use ADC1_IRQHandler. It's just a bit annoying that I spent about a week on solving this problem that I had just because the right handler can't be found neither in the manual nor in the toolchain I'm using. In the newest documnetation only the (wrong) ADC1_2_IRQHandler can be found... B.L.