Other Parts Discussed in Thread: SYSCONFIG, TMDSCNCD263P, AMC1306EVM
Tool/software:
Hey,
i wanna get my SDFM module triggered by PWM and read out the data when rdy.
Therefore i try to implement the data rdy interrupt, but it doesnt trigger.
When iam debugging, i see the following:
-SDIFLG.AF1=1 -> so i assume my hardware connections are okay and new data is rdy at SDFM module
-SDCTL.MIE=1 -> so interrupts are enabled for SDFM
-SDFIFOCTRL1.DRINTSEL=0 -> so AF1 is source for Data rdy Interrupt
-INTXBAR0_G4_SEL = 2 -> so SD0.FILT1.DRINT is used as R5FSS0_CORE0_CONTROLSS_INTRXBAR0_OUT_0
-VIM0_INTR_EN_SET_4 = 262144 -> so bit 18 is set, which corresponds to R5FSS0_CORE0_CONTROLSS_INTRXBAR0_OUT_0
But my interrupt:
/* Register & enable interrupt */
HwiP_Params_init(&hwiPrms);
hwiPrms.intNum = CSLR_R5FSS0_CORE0_CONTROLSS_INTRXBAR0_OUT_0;
hwiPrms.priority = 0; /* setting high priority. optional */
hwiPrms.isPulse = 1;
hwiPrms.callback = &App_sdfmISR;
status = HwiP_construct(&gAdcHwiObject, &hwiPrms);
doesn't get triggered.
Where is my mistake?
Moreover is there any easy way, to see which interrupts are activated in sysconfig? In debugging my only way is to check the VIM0_INTR_EN_SET registers?
Best regards
Marcel