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.
部件号:LAUNCHXL-F2.8377万S
工具/软件:Code Composer Studio
大家好,我最近 在我的项目中使用了LAUNCXL-F2.8377万S板。 ContrtolSuite V200中的示例项目(ADC_SOC_CONTACY_cpu01)不起作用。 在这种形式( 连续ADC样例代码F2.8377万不工作 ) 中,据说 V200示例中已解决了此错误,但此问题仍然存在。
您需要在代码中添加此行(以下和EDIS)以解决此问题;
做 { // //启用ADCINT标志 // EALLOW;//您需要在此处添加EALLOW AdcaRegs.ADCINTSEL1N2.bit.INT1E = 1; AdcaRegs.ADCINTSEL1N2.bit.INT2E = 1; AdcaRegs.ADCINTSEL3N4.bit.INT3E = 1; ADcaRegs.ADCINTSEL3N4.bit.INT4E = 1; AdcaRegs.ADCINTFLGCLL.ALL = 0x000F; EDIS;//您需要在此处添加EDIS //