Posted on August 03, 2011 at 09:23Look at chapter 11.9 and the description of ADC_CR1 in paragraph 11.12.2 of RM0008 - STM32F1xx Reference Manual. The definitions, which you found, are different variants of the dual ADC mode.
Posted on August 02, 2011 at 17:48ADC2 doesn't have an associated DMA channel. The way to use it is only in combination with ADC1 in ''Dual ADC mode''. For this purpose the data register of ADC1 contains also the result of conversion of ADC2, so bo...
Posted on July 20, 2011 at 16:10Probably your program is longer than 19456 bytes (0x4C00) and you are erasing part of it. You need to check the occupied address range from the linker listing.
Posted on July 20, 2011 at 11:07You could look on the links bellow (BTW, there are tons of materials like this in the net): http://www.barello.net/papers/motion_control/ http://www.shawnlankton.com/2005/03/pic-pid-controller/ http://atmel.com/dyn/re...
Posted on July 18, 2011 at 15:30 Ryuk, if I understand correctly what you intend to do is a position control of the motor - otherwise, there is no big sense to use an encoder. Of course, the encoder is also suitable for motor speed control. In any c...