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.

AM263P4: SYSCONFIG TIMER Instances RTI5, 6 and 7 Interrupts Don't Trigger

Part Number: AM263P4
Other Parts Discussed in Thread: TMDSCNCD263P, SYSCONFIG

Tool/software:

Hello,

I'm using TMDSCNCD263P,  CCS 12.8.1.00005 and MCU_PLUS_SDK 9.2.0.56.

I created a timer as shown below:

Of available RTIs, RT1 and RT4 work just fine, my ISR callback is called repeatedly. However, all other things being equal, RTI5, RTI6 and RT7 do not call my callback. I suspect the interrupt isn't being triggered similar to the original question.

  • Hello,

    Do RTI0, RTI2, and RTI3 also not work? 
    In addition, as a sanity check, do RTI5-7 generate a callback/interrupt when configured as a RTI via SysConfig as compared to a Timer like you are showing?

    Thank you,

    Susan 

  • Hello Susan,

    Yes, RTI0, RTI2 and RTI3 work fine. They are being used in the Clock section for 3 cores.

    After further analysis I can see a difference between the working and not working RTIs. For example:

    Namely the good RTI's (Clock RTI0, RTI2, RTI3 and TIMER RTI1) code INTR_0 but the non working RTI's (TIMER RTI5 to 7) code interrupt numbers other than INTR_0.

    This looks like a similar code generation problem as the original question from 9 months ago. Please eliminate this as the cause before I go to the trouble of doing the sanity check you requested.

  • I guess I can answer your sanity check in a round about way.

    If you import the blinky project 'rti_led_blink_am263px-cc_r5fss0-0_nortos_ti-arm-clang' the LED blinks just fine.

    If you change the RTI instance therein to use RTI5, 6 or 7, the LED does not blink.

  • Hello,


    Yes, that was the quick check I was looking for. I did go into the SDK set up and did a small patch to fix this. Can you do the same as last time and replace your files as below and confirm the fix?

    Replace below files in SDK-

    "source/drivers/.meta/rti/soc/rti_am263px.syscfg.js"

    "source/kernel/.meta/dpl/clock_am263px.syscfg.js"

    "source/kernel/.meta/dpl/timer_am263px.syscfg.js"

    AM263P_RTI_FIX_OCT24.zip
    Thank you,

    Susan 

  • Many thanks Susan. I can confirm this fix allows RTIs 5 ,6 and 7 to be used as TIMERS. Reading the code differences, it appears to confirm the cause is the wrong interrupt number coded for the intended interrupt INTR0.

    • When will this fix be incorporated into an official SDK release please?
  • Hi Kier,

    We will submit a bug for this issue and given its a minor fix it should appear in the next SDK version.

    Best Regards,

    Ralph Jacobi

  • Many thanks.