cancel
Showing results for 
Search instead for 
Did you mean: 

External clock does not work when programmed from STVP

gocchan
Associate III

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 discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
gocchan
Associate III

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

Sorry.

View solution in original post

1 REPLY 1
gocchan
Associate III

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

Sorry.