使用FR5738的过程中,用timeB定时器定时250ms,但实际的定时间是700ms左右。时钟源选择的是ACLK,定时器初始化函数如下:
TBCTL = TBSSEL_1 + MC_1 + TBCLR;
TBCCR0 = 8192 ;
TBCCTL0 |= CCIE ;
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
使用FR5738的过程中,用timeB定时器定时250ms,但实际的定时间是700ms左右。时钟源选择的是ACLK,定时器初始化函数如下:
TBCTL = TBSSEL_1 + MC_1 + TBCLR;
TBCCR0 = 8192 ;
TBCCTL0 |= CCIE ;