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.

How can I change the priority of VIM?

Guru 16800 points
Other Parts Discussed in Thread: TMS570LS2125, HALCOGEN

Hi,

I have a question for the priority of VIM on TMS570LS2125.
How can I change the priority of VIM on TMS570LS2125?
In the case of changing the priority, I think that changing of the map of INT_REQ* and channels by the CHANCTRL register is the only way.
Is this true?

By the way, I've tried to swap the name of ISR by using HALCoGen, however I can't.
Only the ISR name is changed, but the called function is not changed.
Also, can't I change the priority of VIM on TMS570LS2125 with HALCoGen?

Thanks

Nomoto

  • Hi,

    CHANCTLx registers let you remap the channels to priority order. The FIRQPRx registers let you configure whether a channel is an IRQ or an FIQ.

    In addition, section 15.3.1 of the TRM discuss how you can use run time s/w to change priorities by mapping certain interrupts to multiple channels.

    Changes in CHANCTL configuration will need to be done in s/w (i.e. outside of HALCoGen)

    I cannot replicate the ISR name change issue you mention. After changing an ISR name and regenerating the project, a search for the old ISR name gives 0 results.

    - Forum support