Page 2 of 2

Re: Code doesn't seem to run Nucleo-F401RE

Posted: Wed Nov 18, 2020 9:41 pm
by pablomuro
Yeeeeeeeessssssssssss!!!!!!!!!!! Works perfectly! You are the brain!!!! Thanks very much! The last post that you wrote is the only thing that I made (RCC_OscInitStruct.HSEState = RCC_HSE_ON;). And I have to mention that the serial port for the Nucleo F401RE on Arduino is the Serial2. Now everything is working.
Thanks very mutch.

Re: Code doesn't seem to run Nucleo-F401RE

Posted: Fri Apr 14, 2023 8:37 am
by fpiSTM
Hi,
we found the issue. Depending of the board revisions: C-01 or C-02 the HSE config is not the same.
There are two possible default configurations of the HSE pins, depending on the version of the STM32 Nucleo board hardware.
The board version MB1136 C-01 or MB1136 C-02 is mentioned on the sticker, placed on the bottom side of the PCB.
The board marking MB1136 C-01 corresponds to a board, configured as HSE not used.
The board marking MB1136 C-02 (or higher) corresponds to a board, configured to use
ST-LINK MCO as the clock input.

We will fix this issue by using by default HSI --> https://github.com/stm32duino/Arduino_C ... /pull/2007