Posted on August 05, 2016 at 10:53hi,I just found that clock devider not work for some Frequency, for example if PLL is used without divider, Timer clock cant be devided. EnjoyAll the best, #stm32 #timer #interrupt
Posted on January 27, 2014 at 13:42Hi,I have problem with SPI3 and st-link debugger. CLK pin is always unaveilable.I configure MCU to not use JTDO but in debug mode when I look at AFIO register there is written some other value for SWJ_CFG(always 0x...
Posted on January 27, 2014 at 15:16Hi,Yes, it must be problem with ukeil. Compiler probably predefine some settings for that.Funny thing is that on ukeil without debbuger selected, built code after UART download works!Once I select debugger all stop...
Posted on January 27, 2014 at 14:31As i said, when I set it to be GPIO out, not AF, I can't use it. Next line: AFIO->MAPR = ''what ever I put''; will resul that MAPR is 0x04000000.That is also lie!!! Because 0x04000000 will disable JTAG and SW toget...
Posted on January 27, 2014 at 14:23Hi,I use STM32F03 with st-link debbuger.It imposible to set AFIO register.Every value written will always be restored by debugger.
Posted on January 27, 2014 at 13:47Hi,Also PB3 pin, used for CLK I can't use for anything as I can't even toggle it like GPIO.Here are port settings: GPIO_InitStructure.GPIO_Pin = CLK | MOSI ; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_Ini...