Skip to main content
peterdonchev
Senior
July 14, 2017
Question

Confused on TIM_SelectCCDMA

  • July 14, 2017
  • 1 reply
  • 460 views
Posted on July 14, 2017 at 15:19

I want to use Timer Capture event to generate DMA requests, how TIM_SelectCCDMA should be called?

TIM_SelectCCDMA(TIMx, ENABLE)?

This will set CCDS bit, but according the reference manual for STM32F303, bit CCDS should be 0.

    This topic has been closed for replies.

    1 reply

    waclawek.jan
    Super User
    July 17, 2017
    Posted on July 17, 2017 at 12:50

    You want to set one of the CCnDE bits in TIMx_DIER (TIMx DMA/Interrupt enable register) register. I don't know how is this called in Cube.

    JW