my ADC code cann't get value
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-03-04 8:41 AM
Posted on March 04, 2015 at 17:41The original post was too long to process during our migration. Please click on the attachment to read the original post.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-03-04 9:39 AM
Posted on March 04, 2015 at 18:39
Can't help you at all with the HAL stuff, I wish you much luck.
I will observe that unless you configure the ADC's symmetrically the sequencing of the data is likely to give you a lot of headaches.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-03-09 3:50 AM
Posted on March 09, 2015 at 11:50Which product are you using?Do the execution get stuck at a given level?Are the values in ADCs registers aligned with what you expect?-Mayla-
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-03-11 8:34 AM
Posted on March 11, 2015 at 16:34
I don't know this HAL API but looking at the code you posted I see that:
1. You configured the ADC to use DMA.2. You did not enable interrupts for the ADC.So, how will an end of conversion event get triggered?Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-03-11 9:46 AM
Posted on March 11, 2015 at 17:46
So, how will an end of conversion event get triggered?
Who knows, it's a selective presentation of code, and HAL/Cube hide a lot of the detail, and has a different methodology.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
