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.

TMS320F280023: LIN interrupt priority

Part Number: TMS320F280023

Hi team,

In "Table 3-3. PIE Channel Mapping" at TRM, the table mentioned LINA0, LINA1, LINB0, LINB1. But these are not clear for my customer.

Are these related to TX/RX settings? or there are other factor they have? 

Regards,

Kotaro Yamashita

  • Hi Kotaro,

    The PIE Channel Mapping table provides a list of the interrupt lines for the device peripherals and shows where they fall in terms of priority within the PIE module. The lower the interrupt number, the higher priority it is. The table also informs the user which PIE registers are designated for specific peripherals. For example, interrupt "LINA0" is designated as interrupt INT8.9 in the PIE and is considered higher priority than "LINA1" which is interrupt INT8.10 in the PIE. The PIE chapter has more detailed information on how the prioritization and function of interrupt enabling/calling works.

    In regard specifically to the four LIN interrupts: There are two LIN modules on the F28002x device, and these are referred to as "LINA" and "LINB". For each LIN module, there are also two interrupts lines: INT0 and INT1. As a result, the PIE channel acknowledges that there are 4 different interrupt lines (INT0 and INT1 for LINA and INT0 and INT1 for LINB). Please see the TRM section below for a description on INT0 vs. INT1:

    As the TRM section from above mentions, the LIN interrupts (for example, transmitter and receiver interrupts), are configurable in terms of whether they belong on the INT0 or INT1 line - you can set the interrupt level (as in, priority level INT0 versus level INT1) using the SCISETINTLVL register- you can refer to the TRM register descriptions for the full list of the applicable interrupts (example from TRM below):

    This information is all in the TRM, so let me know if you have trouble locating it!

    Best Regards,

    Allison

  • Allison,

    Thanks for kindly reply. I understood what PIE table said and F28002x has two LIN module and has INT0 and INT1 in both modules.

    I'm not clear about relation from these information. e.g. Does "LINA0" mean INT0 in LINA module? 

    Regards,

    Kotaro Yamashita

  • Hi Kotaro, 

    Yes, this is correct. LINA0 is INT0 for LINA. LINA1 is INT1 for LINA. This is analogous for LINB.

    Best Regards,

    Allison