I'm having a problem implementing the Max1233 driver in VDK on the BF527 eval board. It initializes correctly and calls the callback function under the initialization. But after that it comes with a kernel error when I pushes on one of the buttons or the touch screen. It calls the callback function again, but in this function:
// return ADC to interrupt-on-event (standby) mode
if((Result = adi_dev_Control(MAX1233DriverHandle, ADI_DEV_CMD_REGISTER_TABLE_WRITE, (void *)MAX1233_DetectKeyPressAndInterrupt))!= ADI_DEV_RESULT_SUCCESS)
printf("Failed to put MAX1233 back into interrupt mode: 0x%08X\n",Result);
it comes with the kernel error. I have created a IVG interrupt in the Kernel tab in visualdsp++ and set it to true at "enabled at boot". If it's false the callback function never gets called after init.
The IVG is EVT_IVG13 and the kernel error is:
Any solution to this problem?