Associate
October 21, 2014
Question
STM32F429I-DISCO and XTAL X3 8MHz
- October 21, 2014
- 9 replies
- 2341 views
Posted on October 21, 2014 at 23:30
Hi,
Its my first time here! I have a STM32F429I-DISCO, original from factory. I used the STM32CubeMX with STM32Cube_FW_F4_V1.3.0 to build a code. I selected ''new project\board selector\Type of Board: Discovery\Series: STM32F4\Board List: STM32F429iDISCOVERY'' In the Clock Configurations, all items seemed OK. If I properly understood the manual, the HSE is used for external xtal. In this kit, this crystal is the X3... A 8MHz xtal.I put a screenshot of
STM32CubeMX
Clock Configurations
here. I built a very simple code to the first test of my kit.
/* USER CODE BEGIN 3 */
BSP_LED_Init(LED3);
/* Infinite loop */
while (1)
{
__asm(
''ldr r1, =0x40021800;''
''ldr r3, [r1,#20];''
''loop:;''
''eors r3, 0x2000;''
''str r3, [r1,#20];''
''b loop;''
);
}
/* USER CODE END 3 */
This code will switch the output port PG13, referring to LED3.
I could see a waveform with these following time base:
____ _...
..._| |____|
+---50nS--+
Until this point everything seemed OK.
However, when I pulled the X3 crystal, to my surprise, the kit remained operational!!!
I can not understand how this is possible!!!
Would you could help me with this?
Now, I'm not even sure if the kit is running at the correct frequency of 180MHz!!!