Other Parts Discussed in Thread: OMAPL138
Hello,
I'm working on LCDKOMAP138 , In that ARM timer interrupt functionality is not working.
Thanks in advance
Regards,
Seyed
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I'm working on LCDKOMAP138 , In that ARM timer interrupt functionality is not working.
Thanks in advance
Regards,
Seyed
Hello Seyed,
Please provide more details. What version of software are you using? What tests are you running? What output do you observe?
Regards,
Nick
Hello Nick,
I'm using CCS10.1.1.00004 and my compiler version is TI v 20.2.1.LTS.
In this both arm and DSP side I did testing for the timercounter.c file.
But I'm able to get output in the Uart console for the DSP side only, both were prebulded code only, Idk why I'm not able to see the o/p in the Uart console for the arm side. Please find the attached Images below then you come to know some idea to know my issue.
Thanks in advance
Regards,
Seyed
Hi Seyed,
Can you please let me know if you are using PDK (RTOS) or linux or legacy software (starterware)?
I do not see timercounter.c under PDK(RTOS).. So, my strong guess is you are not using PDK(RTOS).
Thanks,
Hi Seyed,
I don't think we have support for very old starterware code. I also could not locate the source code file timercounter.c you are mentioning.
Is this something you developed at your side?
Can you check if you are doing below sequence to enable the timer interrupt for arm9?
Please note that this is based on Processor SDK for OMAPL138:
software-dl.ti.com/.../index_FDS.html
The "Intc" routines are under "pdk_omapl138_1_0_11\packages\ti\csl\arch\arm9\src\interrupt.c" file.
Intc_Init();
/* Registering the Interrupt Service Routine(ISR). */
Intc_IntRegister((uint32_t)interruptNum, (IntrFuncPtr) hwiFxn);
/*Set the channel number for a system interrupt. Channel numbers 0-1
are mapped to FIQ and Channel numbers 2-31 are mapped to IRQ of ARM.*/
channelNo = ((params->priority > 31) || (params->priority < 2)) ? 0x12U : priority; (priority that you would like to set for this interrupt).
IntChannelSet((uint32_t)interruptNum, channelNo);
/* Enabling the interrupt */
Intc_IntEnable(0);
/* Enable the Globle interrupt AINTC */
IntMasterIRQEnable();
IntGlobalEnable();
IntIRQEnable();
Thanks