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.

RTICOMPxCLR register is not increased

Hello.

I want to use RTI Compare 0 interrupt to trigger ADC in RM46L852PGE chip, without generating RTI interrupts.

Is it possible?

I found that RTICOMP0CLR register is not increased and interrupt flag is not cleared.

        /** - Setup compare 0 value. This value is compared with selected free running counter. */
        rtiREG1->CMP[0U].COMPx = 1000U;
        rtiREG1->CMP[0U].UDCPx = 1000U;
        rtiREG1->COMP0CLR = 1500U;

Such simple code lead to correct work RTI Compare 0 module except of interrupt flag setting and not clearing. Register COMP0CLR is not increased.

Why?

Regards,

  Vitaliy Bortsov