Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hello everyone, I have recently used the LAUNCHXL-F28377S board for my project. The example project (adc_soc_continuous_cpu01) in ContrtolSuite v200 does not work. In this form ( Continuous ADC Sample Code F28377 Not Working ) it is said that this bug is solved in the v200 examples but, this problem still persists.
you need to add this lines (ELLOW and EDIS ) to the code to solve this problem;
do
{
//
//enable ADCINT flags
//
EALLOW; // you need to add here EALLOW
AdcaRegs.ADCINTSEL1N2.bit.INT1E = 1;
AdcaRegs.ADCINTSEL1N2.bit.INT2E = 1;
AdcaRegs.ADCINTSEL3N4.bit.INT3E = 1;
AdcaRegs.ADCINTSEL3N4.bit.INT4E = 1;
AdcaRegs.ADCINTFLGCLR.all = 0x000F;
EDIS; // you need to add here EDIS
//