Other Parts Discussed in Thread: AM3359, SYSBIOS
Hello,
i use AM3359 on ICE-Board.
There are two ways to initial an interrupt. Via SYS/BIOS or with the API functions from starterware.
When i initial an interrupt with SysBios function in C-Code it works and the interrupt ISR would be called:
Timer_Params timer3Params;
Timer_Params_init(&timer3Params);
timer3 = Timer_create(1,DMTimer3ISR,&timer3Params,NULL);
When i initial the interrupt with the starterware APIs then i cannot reach the breakpoint in the ISR.
Code-snippet:
/* Enable IRQ in CPSR.*/
IntMasterIRQEnable();
/* Initializing the ARM Interrupt Controller. */
IntAINTCInit();
/* Registering EDMA3 Channel Controller 0 transfer completion interrupt. */
IntRegister(SYS_INT_EDMACOMPINT, Edma3ComplHandlerIsr);
/* Setting the priority for EDMA3CC0 completion interrupt in AINTC. */
IntPrioritySet(SYS_INT_EDMACOMPINT, 0, AINTC_HOSTINT_ROUTE_IRQ);
/* Enabling the EDMA3CC0 completion interrupt in AINTC. */
IntSystemEnable(SYS_INT_EDMACOMPINT);
This is from my current project (and example mcspi_flash_edma) with the DMTImer as INTERRUPT it also did not work.
In antoher code i´ve tried with the API´s to set a McSPI Interrupt, it also did not worked ( i mean can´t reach the breakpoint in the ISR)
So i think i have a generally problem with interrupt and using the starterware APIs?
Is it okay to use starterware API for interrupt and bios_start to use and manage the Tasks / clocks?
Can anyone help me?
Thank you