Posted on September 30, 2016 at 01:02
I am trying to set up TIM2 as a free-running microsecond counter; no interrupts or anything fancy. Basically, I want to be able to read the 32-bit CNT register and get microseconds; this is very handy for fi...
Posted on December 10, 2015 at 22:29 Okay, we have a bootloader that we want to replace programmatically, as it is not practical to get access to the debug ports. I've done this successfully with a STM32F071, but have not been able to get it worki...
Posted on September 10, 2015 at 16:47
Hi,
I am trying to read the Flash protection registers using something like the following:
#define FLASHPR_BASE 0x8010DFB0
#define FLASH_NVWPR ((volatile uint32_t*)(FLASHPR_BASE + 0))
#...
Posted on July 28, 2015 at 23:04
I'm trying to set Flash read protection, so I run this at startup:
if (FLASH_GetReadOutProtectionStatus() != SET) {
FLASH_ReadOutProtection(ENABLE);
}
This works wrt read protection, in that if I ...
Posted on September 03, 2014 at 23:55
Hi,
I'm trying to modify the standard One Pulse example to use TIM15 to generate a delay, programmable width pulse, triggered by an external input. For the external input, I am using TIM3 routed to th...
Posted on July 29, 2015 at 01:37
More information. It turns out that after I power cycle (actually remove power, not simply toggling the RESET line) the processor, NVIC_SystemReset() works properly!
This is very much better, but still not...
Posted on July 17, 2015 at 01:33Hi Clive,I've been banging my head on this exact same problem, and finally narrowed it down to something observable - mainly, I could not get my external interrupt on PB15 to trigger, and finally noticed in the regist...
Posted on September 05, 2014 at 14:12Hey! TIM15->BDTR |= TIM_BDTR_MOE;Works!Thank you, thank you, thank you!!!FWIW - no where in the reference manual did I see anything about this requirement; indeed, if anything, it seemed only to be applicable if...
Posted on September 04, 2014 at 20:21 Did a bunch of double-checking, and I still cannot get any output. Checked connections, etc. Checked another board, nothing. I recreated the example project, and it works fine using TIM2. Then, changed it...