Other Parts Discussed in Thread: SYSBIOS
I'm working with a TDA2x board that has NDK/NSP running on M4_1 core with the interrupt mapping below.
var Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
var HalHwi = xdc.useModule('ti.sysbios.hal.Hwi');
var IntXbar = xdc.useModule('ti.sysbios.family.shared.vayu.IntXbar');
/* NDK modules */
var NdkConfigGlobal = xdc.useModule('ti.ndk.config.Global');
var Ip = xdc.useModule('ti.ndk.config.Ip');
var Udp = xdc.useModule('ti.ndk.config.Udp');
/* NSP Driver */
var GMACSW = xdc.useModule('ti.nsp.drv.GMACSW');
GMACSW.instrumentedBuild = false;
/* GMAC_SW RX_THRESH_PULSE Interrupt */
IntXbar.connectIRQMeta(61, 334);
var hwi_param_0 = new Hwi.Params;
hwi_param_0.arg = 0;
Hwi.create(61, '&HwIntRxThresh', hwi_param_0);
/* GMAC_SW RX_PULSE Interrupt */
IntXbar.connectIRQMeta(70, 335);
var hwi_param_1 = new Hwi.Params;
hwi_param_1.arg = 0;
Hwi.create(70, '&HwIntRx', hwi_param_1);
/* GMAC_SW TX_PULSE Interrupt */
IntXbar.connectIRQMeta(59, 336);
var hwi_param_2 = new Hwi.Params;
hwi_param_2.arg = 0;
Hwi.create(59, '&HwIntTx', hwi_param_2);
/* GMAC_SW MISC_PULSE Interrupt */
IntXbar.connectIRQMeta(60, 337);
var hwi_param_3 = new Hwi.Params;
hwi_param_3.arg = 0;
Hwi.create(60, '&HwIntMisc', hwi_param_3);
I want to move NDK from M4_1 to A15 on TDA2x and added "irqoffset" of 32 to the above config and the interrupt numbers are not conflicting with any other interrupts noted in TRM [Table 17-2. MPU_INTC Default Interrupt Mapping].
But the code is struck @ LOCAL_MDIO_WaitForAccessComplete() in mdio.c in NSP.
any suggestion would be helpful.