I have designed a PCB including the STM32F429. I already used this controller for several PCB designes, so the layout should be fine.
The only thing I have changed, compared to my other designes is the supply voltage. My current design is supplied with 1.8 V. According to the datasheet [1] the controller can handle a voltage down to 1.7 V. I'm able to flash the controller, and according to the STM32 ST-LINK Utility, everything is OK.
I have created an appropiate board.h file. I'm able to set a certain pin initially HIGH or LOW. I started with an ordinary "LED blinker thread" to check the controllers operation. But it it seems the main-program isn't excecuted/ got stucked.
I thougth the clock configuration may cause problems. I havn't found the maximal possible sytsem clock for a 1.8 V powered controller. According to table 18 on page 97 in the datasheet [1], the maximum HCKL can be 168 MHz (1.7 V to 2.1 V). Thus with a minimum AHB prescaler of 1, the system clock should be equal (168 MHz). I tried to operate my controller with a system clock of 84 MHz, but without any success. Although, I noticed a current consumption reduction. I'm using an external oscillator with 8 MHz.
That's my clock configuration:
Code: Select all
#define STM32_NO_INIT FALSE
#define STM32_HSI_ENABLED FALSE
#define STM32_LSI_ENABLED TRUE
#define STM32_HSE_ENABLED TRUE /* High speed external clock. */
#define STM32_LSE_ENABLED FALSE
#define STM32_CLOCK48_REQUIRED TRUE
#define STM32_SW STM32_SW_PLL
#define STM32_PLLSRC STM32_PLLSRC_HSE
#define STM32_PLLM_VALUE 8 /* PLLM divider value */
#define STM32_PLLN_VALUE 336 /* PLLN multiplier value */
#define STM32_PLLP_VALUE 4 /* PLLP divider value */
#define STM32_PLLQ_VALUE 7
#define STM32_HPRE STM32_HPRE_DIV2 /* AHB Prescaler */
#define STM32_PPRE1 STM32_PPRE1_DIV1
#define STM32_PPRE2 STM32_PPRE2_DIV1
#define STM32_RTCSEL STM32_RTCSEL_LSI
#define STM32_RTCPRE_VALUE 8
#define STM32_MCO1SEL STM32_MCO1SEL_HSE
#define STM32_MCO1PRE STM32_MCO1PRE_DIV1
#define STM32_MCO2SEL STM32_MCO2SEL_SYSCLK
#define STM32_MCO2PRE STM32_MCO2PRE_DIV1
#define STM32_I2SSRC STM32_I2SSRC_CKIN
#define STM32_PLLI2SN_VALUE 192
#define STM32_PLLI2SR_VALUE 5
#define STM32_PVD_ENABLE FALSE
#define STM32_PLS STM32_PLS_LEV0
#define STM32_BKPRAM_ENABLE FALSE
Maybe someone had already similar problems!?! I'm thankful for any hint, solving my problem .
BR
Skadi
[1] Datasheet