Posted on May 17, 2011 at 13:01Hi, I've been using the Crossworks IDE (full commercial version) for about a year. I would recommend it. I did try to install Eclipse, but found it too awkward to install and use. I think I got it installed OK, and tri...
Posted on May 17, 2011 at 12:46FIXED :- I was missing: RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOD | RCC_APB2Periph_AFIO, ENABLE); ie. the AFIO enable. Yours, John. re: PD0 PD1 OSC_IN OSC_OUT remap
Posted on May 17, 2011 at 12:46Hi, I see there were some problems with the remap feature for PD0/PD1, but STone says it is fixed in the release silicon. I am trying to use PD0 and PD1 as GPIO, input, pull-up. It does not seam to work - they are alwa...
Posted on May 17, 2011 at 12:46Update :- note, the order in which you do things is important ! This works (for me): RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOD, ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); GPIO_PinRemapConfig(GPI...
Posted on May 17, 2011 at 12:40Thanks Magigimix. And another thing :- once the prescaler/reload values have been set, can they be changed again ? ie. in the code, without doing a reset. Thanks, John.