Problem with HAL_ADC_Start_IT(&hadc1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-15 2:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-16 7:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-16 11:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-16 11:55 AM
Hi ipri.nicholas.002,
I recommend to get help from the ADC examples in the STM32CubeF3. Compare the code there with your code to gigure out what is missed there. -Hannibal-- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-16 12:08 PM
My code looks to be consistent with the examples I've looked at (so far)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-16 1:44 PM
// __HAL_ADC_ENABLE(&hadc1);
// while (__HAL_ADC_GET_FLAG(&hadc1, ADC_FLAG_RDY) == RESET); __HAL_ADC_ENABLE_IT(&hadc1, ADC_IT_EOC);- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-19 7:12 AM
So far, the code examples I have found in cube, or online are of little to no help although I am following them faithfully while also following UM1786 Since I am on a short development schedule, I will probably move onto using a different processor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-09-20 8:34 AM
FWIW: The solution was to rename ADC_IRQHandler() to ADC1_IRQHandler(). The majority of online examples I've seen use the former. Also, the STM32CubeMX tool code generator for the ADC does not seem to allow for the enabling and handling of interrupts.
