Other Parts Discussed in Thread: SYSBIOS
Hello,
I have configured Dual Clock Comparator (DCC) on TDA3x to generate DCCx_IRQ_ERROR (x:1-7) in case of clock drifts which are connected to
IRQ_CROSSBAR_234 (and so forth) and are not mapped by default to any device INTC. I have mapped them to IPU_IRQ_60 (and so forth) on my system.
Using the sysbios apis the hwi is configured. Code snipnet as below
Hwi_Params hwiParams;
Hwi_Params_init(&hwiParams);
hwiParams.enableInt = false;
hwiParams.maskSetting = Hwi_MaskingOption_SELF;
m_hwiHandle = Hwi_create(60, &isr, &hwiParams, NULL);
UINT32 isNotEnabled = Hwi_enableInterrupt(60);
Issue : The issue which I encounter is the Hwi_enableInterrupt does not enable the interrupt and the API always return 1 when the application is loaded from the flash. But, in debug mode (using JTAG and GEL files), the interrupt is ALWAYS enabled.
Question: Do we need to map DCCx_IRQ_ERROR interrupts through Error Signaling Module (ESM) module as given in SPRAC27 or can it be used as a standalone?
Thanks
Richard