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.

TMDSCNCD263: Clarification in Category 1 ISRs before StartOS

Part Number: TMDSCNCD263

Hi Team,

Please clarify following queries related to CAT I ISR configuration.

  • We are trying to configure the Category 1 interrupt and following the vector OS document. for the category 1 ISR the mentioned some following sequence, we can do 1,2 and 4 points as per the below snippet. but we are struggling in 3rd step to enable the interrupt of category 1ISRs by directly manipulation the control registers in the interrupt controller.

  • Global interrupt flag/ interrupt priority register, we trying to locate in the technical reference document. but cannot locate. Could you please clarify and guide as to activate CAT 1 ISR? thanks

          

Thanks

Vivek Arivazhagan

  • Hi Vivek,

    Are you using MCAL modules to configure CAT1 ISR?

    Thanks And Regards,

    Sunil Kumar M S

  • Hi Sunil,

    Yes, we are using MCAL version- MCAL_AM263x_08.06.02.01.

    Thanks

    Regards,

    Vivek Arivazhagan

  • Hi Vivek,

    If you need to configure CAT1 category for MCAL modules then in the EB Tresos configurator or Vector DaVinci configurator you need to select interrupt type parameter to CAT1.

    For example:  In Adc module, AdcTypeofInterruptFunction to  ADC_ISR_CAT1

    Thanks And Regards,

    Sunil Kumar M S

  • Hi Sunil,

    Yes, we have option.

    Let's assume GPT module, we have 5 interrupts, 4`s have CAT-2 interrupts and 1 alone CAT-1 In this situation from my understanding in EB we have a one option correct. how it is possible for different channels CAT-2 and CAT-1?

    If we changed the value option via Vector DaVinci configurator, then the vector mentioned some sequences, as I mentioned in previous comments. highlighted below.

                     Enable the Interrupt sources of category 1 ISRs by directly manipulating the control
                      registers in the interrupt controller.

    Could you please guide us without sys_vim library how to enable the Interrupt sources of category 1 ISRs and FIQ by directly manipulating the control registers in the interrupt controller.? If we have sample code for this, please share with us. 

    Note: We are not using the sys_vim library for Enable the Interrupt sources of category 1 ISRs by directly manipulating the control registers in the interrupt controller

    Thanks

    Regards,

    Vivek Arivazhagan

  • Hi Vivek,

    In MCAL We do not have per hardware instance interrupt CAT support but it is module level.

    Thanks And Regards,

    Sunil Kumar M S

  • Hi Vivek,

    Can we close this thread?

    Thanks And Regards,

    Sunil Kumar M S