Skip to main content
oosthuizen
Associate II
February 13, 2013
Question

STM32F0 peripheral configuration order

  • February 13, 2013
  • 2 replies
  • 548 views
Posted on February 13, 2013 at 15:18

Is there a specific configuration order for peripherals I need to adhere to so peripherals will function correctly.

#stm32f0-peripheral-config
This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
February 13, 2013
Posted on February 13, 2013 at 15:39

Is there a specific configuration order for peripherals I need to adhere to so peripherals will function correctly.

Yeah, make sure you turn the clocks on first. And initialize them before enabling them.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
oosthuizen
Associate II
February 13, 2013
Posted on February 13, 2013 at 15:47

Thanks clive1 but I should clarify. If I want to service the ADC that is clocked with TIM2 with the DMA what should the order of config be? Sonthing like this:

RCC

GPIO

DMA

ADC

TIM2