I am trying to configure LCD_DATA to GPIO2 (LCD_DATA0 to GPIO2_6)
I have tried two methods
Method 1:
1. Using mmap configured LCD_DATA pins to GPIO using PAD Configuration.
2. Configured GPIO2_OE,GPIO2_DATAOUT using the same procedure.
Method 2:
1. Using Pin mux Utility configured LCD_DATA0 to GPIO2_6.The Pinmux.h file reads MUX_VAL(CONTROL_PADCONF_LCD_DATA0, (IEN | OFF | MODE7 ) ) /* GPIO2[6] */
2.Built the bootloader as per the pin mux utility guide.
3.Rebuilt the kernel with GPIO support.
With both the methods I am able to write into GPIO2_DATAOUT but I cannot see the output on the pin. We are using TMDXEVM3358 board and have tapped LCD_DATA0 pin on J6.
Kindly help me in solving this problem. Sample code for writing into GPIO2_6 and seeing it on LCD_DATA0 will be of great help.