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.

TMS320F28388D: Interrupt config in enet_lwip Ethernet_init()

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hello there,

I'm looking into the enet_lwip examples as a starting point for porting lwIP to a SYS/BIOS application. I was wondering about interrupts that are enabled/disabled in the Ethernet_init() function in enet_lwip.c.

The call to Ethernet_getHandle() enables TI, TBU, RI, RBU, AIS, NIS interrupts for DMA channels 0 and 1. Then after that call there's a call to Ethernet_disableDmaInterrupt(), to disable the TBU and NIS interrupts. But it's done only for channel 0. Why not for channel 1?
And the same for the next call to Ethernet_enableMTLInterrupt(), which is done only for queue 0.

Regarding interrupt handling in general, do I understand correctly that the 'generic ISR' is a collection of all (enabled) interrupts, so the SBD interrupt as mentioned in the TRM? (what does SBD stand for anyway?)
And the TX and RX interrupts are only the TI and RI interrupts as mentioned in the DMA_CHx_Status register?

Thanks and kind regards,
Arjan