Other Parts Discussed in Thread: OMAP-L138
Hello,
I have run "gpioCardDetect" code from path "C:\ti\C6748_Files\pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\examples\lcdkC6748\gpio".
When I put this code into debugging session, led D5 on OMAP LCDK starts blinking.
From data sheet, I got understood that GP6[12] refers to pin number 109, as mentioned in code.
But I could'nt find out that GP6[12] is connected with D5 led. Means I want to know hardware mapping with these GPIO pins. Please refer me any document from which I could get an idea.
Also I want to know if instead of pin 109, If I use GPIO pin 110 that is GP6[13], then which led should blink.
Because when I have tested the above mentioned code by modifying pin 109 to 110, then no led is blinking in code.
/* The Local PSC number for GPIO is 3. GPIO belongs to PSC1 module.*/
PSCModuleControl(SOC_PSC_1_REGS, HW_PSC_GPIO, PSC_POWERDOMAIN_ALWAYS_ON,
PSC_MDCTL_NEXT_ENABLE);
/* Pin Multiplexing of pin 12 of GPIO Bank 6.*/
GPIOBank6Pin12PinMuxSetup();
GPIODirModeSet(SOC_GPIO_0_REGS, 110, GPIO_DIR_OUTPUT);
while(1)
{
GPIOPinWrite(SOC_GPIO_0_REGS, 110, GPIO_PIN_LOW);
Delay(1000000);
GPIOPinWrite(SOC_GPIO_0_REGS, 110, GPIO_PIN_HIGH);
Delay(1000000);
}