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.

TMS320F28374D: PERINTSEL

Part Number: TMS320F28374D

Hi, I read in the technical reference manual: The PERINTSEL in the MODE register of each channel should be set to the channel number (for example, CH2.MODE.PERINTSEL[4:0] = 2).

Does it mean that i have to configure like this:

CH1.MODE.PERINTSEL[4:0] = 1

CH2.MODE.PERINTSEL[4:0] = 2

CH3.MODE.PERINTSEL[4:0] = 3

CH4.MODE.PERINTSEL[4:0] = 4

CH5.MODE.PERINTSEL[4:0] = 5

CH6.MODE.PERINTSEL[4:0] = 6

If this is the case, what's the point of having such registers? 

  • Hi,

    Your understanding is correct. PERIINTSEL register existed on earlier devices. On this device we added DMACHSRCSELx register to have better flexibility but still retained the old one for compatibility with older device. Please refer section "4.2.3 Peripheral Interrupt Event Trigger Sources" in TRM for more detail.

    Regards,
    Vivek Singh