Posted on August 31, 2014 at 20:10The original post was too long to process during our migration. Please click on the attachment to read the original post.
Yes, that's all rather a mess, with several concepts mixed up inappropriately. Don't use interrupts unless you're going to actually service them. If you're going to start each ADC acquisition do use continuous mode, or reconfigure the channel. The USART pins both need to be in AF mode, this is an L1 part not an F1.
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Posted on August 31, 2014 at 21:23wow .. Thank you Mr. Clive...:) sorry for the previous mistake, I have put the PIN configuration pins B6 and B7 only blinking LED output. I will make a PC oscilloscope for my final project. I want to make some features such as triggering from the internal analog comparator. the output of the comparator will provide ''interrupt'' the ADC to stop working or ''frezee''. and of course, the ADC requires an interrupt. is that rigth? And back to the issue USART interrupt, I will put some protocols on pc for triggering features, such as changing the triggering threshold which will affect the input (+) for analog comparator. So, on the main loop MCU will receive more than one protocol from a PC, rigth? USART is still no need to use interrupts?
Posted on August 31, 2014 at 21:32For triggering feature I meant was, is like the one on this site... http://www.instructables.com/id/Girino-Fast-Arduino-Oscilloscope/