Skip to main content
Manjunatha M
Associate
November 21, 2018
Question

Hi Iam Manjunath I am beginer for stm controller using STM cube mx i declared the gpios and i am using keil uvision5 compiler .Now i need one more pin to declare an input how to declare ?

  • November 21, 2018
  • 3 replies
  • 933 views

In STM32 I see in the clock when i declare gpio clock also selected. why we have to set that clock,what is the advantage

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    November 21, 2018

    Please don't put entire question in title/summary.

    Synchronous logic requires a clock to function, you can reduce power consumption by just enabling the clocks for sections of the design being utilized. ​

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Manjunatha M
    Associate
    November 21, 2018

    How to declare GPIO PIN without using STMcube mx

    Tesla DeLorean
    Guru
    November 21, 2018

    The Reference Manual describes the part at the register level.

    The HAL library should have an assortment of examples where pins are configured for an array of different use cases?

    STM32Cube_FW_F7_V1.12.0\Projects\STM32F722ZE-Nucleo\Examples\GPIO\GPIO_EXTI\readme.txt

    Buttons and LEDs at a board support level

    STM32Cube_FW_F7_V1.12.0\Drivers\BSP\STM32F7xx_Nucleo_144\stm32f7xx_nucleo_144.c

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    henry.dick
    Associate II
    November 21, 2018

    High manjunah thay a great question how are you today think your question is a really good one for stmicro engineers and management because they impact all uers tall and short alike if you wrie more I think oters can help you more or less I on't know if that is accurate hope this hels you get your questions ased and answered bst of luck. ​