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.
请教各位大侠,我创建的TMS320F2806工程运行后在F2806x_SysCtrl.c卡死在(*Device_cal)()中,这是怎么回事?具体位置:
EALLOW;
SysCtrlRegs.PCLKCR0.bit.ADCENCLK = 1; // Enable ADC peripheral clock
(*Device_cal)();
SysCtrlRegs.PCLKCR0.bit.ADCENCLK = 0; // Return ADC clock to original state
EDIS;
如果我屏蔽掉这段则程序可以继续运行,但是AD转换有问题。