Skip to main content
Visitor II
December 1, 2021
Solved

External clock does not work when programmed from STVP

  • December 1, 2021
  • 1 reply
  • 694 views

Hi,

I want to use external clock 16 MHz.

So I implemented the following code.

CLK_ClockSwitchConfig(CLK_SWITCHMODE_AUTO, CLK_SOURCE_HSE, DISABLE, CLK_CURRENTCLOCKSTATE_ENABLE);

It was confirmed that 16MHz oscillated when programmed from STVD.

However, when the same firmware is programmed from STVP, 16MHz does not oscillate.

Why?

Regards,

Gotoda

    This topic has been closed for replies.
    Best answer by gocchan

    This issue was due to the hardware (our custom board).

    Sorry.

    1 reply

    gocchanAuthorAnswer
    Visitor II
    December 9, 2021

    This issue was due to the hardware (our custom board).

    Sorry.