Hi everyone,
I'm working on a project where I've just purchased an OMAP-L138 EVM from Logic PD and gone through the test programs, which seems to be working fine. But to continue with my project I need to be able to trigger an external device.
I think this can be achieved by doing this:
1. Using pin 9 on the J22 pins (JTAG_RTCK) as the trigger pin.
2. Setting GP8[0] high would trigger an external event on that pin, hence my external device.
I'm using the code below, while having pin 9 connected to a oscilloscope, to investigate whether or not he pin is getting set to high and low.
GPIO_setDir(GPIO_BANK8,GPIO_PIN0,GPIO_OUTPUT);
for (i = 0; i<20; i++)
{
GPIO_setOutput(GPIO_BANK8,GPIO_PIN0,OUTPUT_HIGH);
USTIMER_delay(DELAY_1_SEC);
GPIO_setOutput(GPIO_BANK8,GPIO_PIN0,OUTPUT_LOW);
}
But, as usual, a problem arises! I simply can't see these triggers. Not even when I'm using breakpoints and stepping through the code. Isn't the GP8[0] connected to pin 9 on j22 ()? Do I need to make any more configurations of the GPIO8[0]? Or am I just missing something obvious?
Best regards,
Abebe Hailu