Skip to main content
jstor.1the lost one
Associate II
October 17, 2020
Question

I am completely new here, question-how is the best way to get started using the cube ide and my new stm32f401 series chips as far as manipulating the ports ?

  • October 17, 2020
  • 2 replies
  • 1083 views

..

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
October 17, 2020

What "the ports" are you thinking about? In this ARM architecture the peripheral registers are accessed within the memory space of the MCU. Each peripheral also has its own clock enable, which must be enabled in the RCC_APBx and RCC_AHB registers.

I'd suggest reviewing the Reference Manual, and using that to understand the library code and how it interacts with the peripherals.

Might suggest starting with the GPIO pins, and perhaps the UARTs

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
jstor.1the lost one
Associate II
October 17, 2020

GPIO pins, can you assign them different tasks or identity and is there doc i can go to to learn this ?