Posted on May 17, 2011 at 09:55I'm also have this problem! I found that if I do like that: Code: <BR><BR> SCU_APBPeriphClockConfig(__GPIO8 ,ENABLE); <BR><BR> SCU_APBPeriphReset(__GPIO8,DISABLE); <BR><BR> SCU_APBPeriphClockConfig(__GPIO9 ,ENABLE); <B...
Posted on May 17, 2011 at 09:432 lazycat1049: pulse length is 0xFF because we need divide prescale value = 256. Look at Reference manual at TIM_CR2 register (CC[7:0]: Clock Control. These bit are written by software to select the frequency of the ti...