AnsweredAssumed Answered

Understanding low level finer points of CubeMX

Question asked by new guy on Sep 21, 2015
Latest reply on Sep 23, 2015 by waclawek.jan

I am trying to set up my first project with CubeMX and would appreciate help
understanding some of the finer details...


ADC configuration:
    A. Under adc NVIC tab, there in an option to enable nvic global interrupts. 

    B. Then if I enable DMA, there is the additional DMA stream2 global interrupt. 

    I am not sure what these are. If using DMA, do I need NVIC globals, are they mutually  
  exclusive? IS Nvic just needed for interrupt driven examples? Can I enable both and then not use some of them in my code with risk?
    C. Analog watchdog. I know what WWDG and IWDG is, but what is analog watchdog under adc config?

RCC Global do I know if I need this? Should I always turn on (default is off)

3.Weird Timer issues.

In the configuration tree on the left hand side of the application, it presents 
all the timers. 

Most timers give the full subtree of options.

However, some just present little more than the option to "enable".
Is this change of presentation a way of saying that the timers are required by other items in my configuration, and should be enabled? For example, I know Timer 6 is needed, and it just presents enabled option. However, other timers also present this way - not sure why, so does this mean they are needed and its just that I don't understand why?

4. Clock config - having spec the HSE correctly, typically can i expect to just run with the clock config that it gives me, or do i need to edit it?