User Activity

Hi, I want to configure my TIM1 to use it for driving a bldc motor. I have made several configuration in the registers, but it won't work. TIM1_CR1bits.CEN = 0; //Timer enable TIM1_CR1bits.DIR_= 0; TIM1_CR1bits.CMS = 0b01; TIM1_...