Skip to main content
isjeon
Associate II
Jun 27, 2017 12:45 PM UTC
Question

OSC_OUT

Posted on June 27, 2017 at 14:45

Can OSC_OUT pin be used as GPIO pin when OSC_IN is used as clock input ?

CubeMx shows that both of OSC_IN/OSC_OUT should used as clock pins with HSE(bypass clock source) options.

    This topic has been closed for replies.

    7 replies

    ST Technical Moderator
    Jun 27, 2017 1:05 PM UTC
    Posted on June 27, 2017 at 15:05

    Hi

    Jeon.IckSeong

    ,

    Which device are you using ?

    You should check the

    datasheet for your device to be sure about the pins assignment.

    Regards

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    isjeon
    isjeonAuthor
    Associate II
    Jun 27, 2017 3:32 PM UTC
    Posted on June 27, 2017 at 15:32

    Chip part number is stm32f767 

    and I cannot find description about that in STM32F76x datasheet and reference manual.

    What i wanna know is that PH1 can be used as GPIO pin while the PH0 is used as oscillator clock input.

    CubeMx says 'NOT' possible.

    CubeMx version is 4.20.1.

    and Firmware version of STM32F7 is 1.6.1 

    waclawek.jan
    Super User
    Jun 27, 2017 3:59 PM UTC
    Posted on June 27, 2017 at 15:59

    0690X00000607WmQAI.png
    Bogdan Golab
    Lead
    Jun 27, 2017 2:07 PM UTC
    Posted on June 27, 2017 at 16:07

    @

    Waclawek.Jan

    Seems that datasheet wins;)

    Bogdan Golab
    Lead
    Jun 27, 2017 2:11 PM UTC
    Posted on June 27, 2017 at 16:11

    I was wrong - the CubeMX correctly disables the HSE Bypass once I configure the CLOCK OUT PIN for any other purpose