cancel
Showing results for 
Search instead for 
Did you mean: 

Confused on TIM_SelectCCDMA

peterdonchev
Associate III
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.

1 REPLY 1
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