Hello,
Its been so long, and I have returned with a question :)
I have a GPIO pin configured as GPIO interrupt. It works fine, except the system powers up.
As soon as I enable the interrupt via CSL functions, I receive an interrupt although the pin is certainly not triggered. I am using the code below to enable the interrupt. I tried the GPIO interrupt configuration right before that code chunk and right after it. I doesn't matter though. As soon as CSL_intcHwControl runs, an interrupt is received out of nowhere. Also I couldn't follow the assembly code of CSL_intcHwControl. Does it suppose to write into IER register?
int_cont_hnd = CSL_intcOpen(&int_cont_obj, CSL_INTC_EVENTID_GPBNKINT13, &interrupt_vector_id, NULL);
CSL_intcHwControl(int_cont_hnd, CSL_INTC_CMD_EVTENABLE, NULL);
Thanks for your help,
Erman