hello everyone,
I'm working on EVM OMAP l138 and using Code composer V 5.1
how could i get the clock value of the GPIO peripheral and how to change ?
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 everyone,
I'm working on EVM OMAP l138 and using Code composer V 5.1
how could i get the clock value of the GPIO peripheral and how to change ?
if my question is not clear, here what i faced exactly.
I'm working on DSP (C6748).
i have configured GP7[9] as interrupt source (input pin) to accept clock cycles with period 3300 nanoseconds [Logic 1 period is 320 ns and logic 0 period is 2.9us]
DSP detects interrupt on Rising Edge and the ISR is as follows :
if(GPIOPinIntStatus(SOC_GPIO_0_REGS,GPIO7P9))
{
count++; // count no of times ISR is executed
GPIOPinIntClear(SOC_GPIO_0_REGS, GPIO7P9);
}
The problem is
i have 52 clock cycles each 3300 nanoseconds coming on GP7[9] so that DSP should detects 52 interrupt (which is not the case i have )
The DSP detects only 50 interrupt so i thought the problem is in GPIO peripheral clock .
So i want to know if the problem in GPIO peripheral clock or in something else ? and how to solve it ?
thanks in advance .