Posted on May 17, 2011 at 12:37You're welcome. After figuring out how something works, I always like to go back and clean up the code. Here's the much simplified, shorter, working solution. I did have to flip a few bits other than the single one I m...
Posted on May 17, 2011 at 12:37Never mind... I finally figured it out! I wasn't setting the EXTTRIG bit in ADC_CR2. Once I did that I didn't need to set the ADON bit in my A/D ISR, and everything else worked as expected. Whew... problem solved!
Posted on May 17, 2011 at 12:37P.S. Sorry for any 'comment' confusion. After reviewing the post, I saw that some of the timer comments still refer to a timer other than timer 4. That's an inadvertent cut/paste error in my source. I really am using t...
Posted on May 17, 2011 at 12:36I'm new to the STM32F parts, so maybe I'm trying to do something that's not possible. The datasheet leads me to believe that it should be possible to configure timer 4's capture/compare 4 in PWM mode, route it to an I/...