BlueCoin RCC configuration issue / BlueCoin board (STEVAL-BCNCS01V1)
- April 15, 2026
- 4 replies
- 166 views
Hi all,
I am trying to implement simple USB-FS communication on a BlueCoin board (STEVAL-BCNCS01V1). I am following the official STM tutorial on USB CDC and referencing the official SW package for BlueCoin.
So, for USB I need PLL source from HSE clock: BlueCoin schematic shows that there is a crystal oscillator @16Mhz (NDK NX2520SA) installed directly on the board, so I configured RCC HSE as Crystal/Ceramic Resonator; the problem is that the function HAL_RCC_OscConfig(&RCC_OscInitStruct) in SystemClock_Config retrieves HAL_TIMEOUT as a result. Timeout value is default at 100ms.
Clock configuration in STM32CubeMX is as suggested in the official USB tutorial:

My current debug configuration has BlueCoin connected via SWD to a NUCLEO-G0B1RE, as suggested in UM2240 (see page 14).
Could you please help me? Am I missing something? Thanks to anybody who can help!
