Re: Starting to add Nucleo F334R8
Posted: Fri Oct 03, 2014 9:29 am
FWIW, I'm not succeeding yet in making the on-board LED blink. Tried both GPIOA 5 and GPIOB 13 (which it is on some Nucleo boards).
I disabled the serial port code in main.c to try and narrow down the problem. Can't seem to make the LED do anything, even with a manual palSetPadMode + palTogglePad.
It might have something to do with clock setup - IIUC the clock can go up to 64 MHz on the internal 8 MHz via the PLL. STM32_PLLMUL_VALUE was set to 12, but neither lowering it to 4, nor setting STM32_NO_INIT to TRUE appears to make a difference.
Just as a sanity check, I also tried the demo for the Nucleo F103RB (after switching boards, of course) - yep, that worked fine.
Still a newbie w.r.t. ARM - there sure is lots of rope lying around to hang yourself, no tree needed :)
-jcw
I disabled the serial port code in main.c to try and narrow down the problem. Can't seem to make the LED do anything, even with a manual palSetPadMode + palTogglePad.
It might have something to do with clock setup - IIUC the clock can go up to 64 MHz on the internal 8 MHz via the PLL. STM32_PLLMUL_VALUE was set to 12, but neither lowering it to 4, nor setting STM32_NO_INIT to TRUE appears to make a difference.
Just as a sanity check, I also tried the demo for the Nucleo F103RB (after switching boards, of course) - yep, that worked fine.
Still a newbie w.r.t. ARM - there sure is lots of rope lying around to hang yourself, no tree needed :)
-jcw