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.

CCS/LAUNCHXL-F28379D: F28379D ADC Interrupt Configuration

Part Number: LAUNCHXL-F28379D

Tool/software: Code Composer Studio

Hello,

Im referring the workshop LAB 6 code in that Im not able to configure Interrupt code , I have done some changes but not getting output ..

Any Reasons ??

  • Saurabh,

    To enable ADC-A interrupt 1.1 try:

    //--- Enable the ADC interrupt
    PieCtrlRegs.PIEIER1.bit.INTx1 = 1; // Enable ADCA1 interrupt in PIE group 1
    IER |= 0x0001; // Enable INT1 in IER to enable PIE group

    You don't need to enable the PIE (ENPIE) since this is already done in the PieCtrl.c file. Also, remove your IER |= M_INT1;

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken