Posted on May 17, 2011 at 13:28OK, for anyone else who might come across this, you have to make sure the UDIS bit is cleared. It says that the PSC, ARR etc are reinitialised if this is set, but it seems to be reinitialised with zero rather than what...
Posted on May 17, 2011 at 13:28Hi Paul, Thanks for the reply. It's not a case of the prescaler not being set, just that whatever value you set it to, the period of the PWM remains unaltered. prx seems to be saying he found the same point (and he als...
Posted on May 17, 2011 at 13:28Thanks for the reply, prx. I must confess I don't understand the point you are making. I assumed you were saying you have to set the prescaler before ARR, but that makes no difference. I then looked at your code and yo...
Posted on May 17, 2011 at 13:28Folks, I have timer three running as a PWM and I would expect if I changed the PSC register (TIM3_PSC) it would affect the frequency of the PWM. So, if I increased the value of the prescaler, it would reduce the freque...
Posted on May 17, 2011 at 13:27Quote:On 19-10-2009 at 18:32, Anonymous wrote: See exactly what the problem is. I had NSS configured as default H/W controlled with SPI_CR1 bit SSM set to 0. NSS pin (PortA Pin4) was not connected and un-configured (de...