Other Parts Discussed in Thread: OMAPL138, OMAP-L138
Hello All,
I'm working on OMAPL138 custom board in that I want to configure gpio as below 10mhz frequency, Initially, I ran with Cpu clock frequency at 300Mhz.
For changing the clock frequency I have gone through the PLL controllers spreadsheet base on that I have configured my OMAP-L138 LCDK gel so I cross verified with UART whether it's working or not. Finally, it's working when I adjust the SOC_SYSCLK_2_FREQ for 100Mhz.
For GPIO I want to #define SOC_SYSCLK_4_FREQ (SOC_SYSCLK_1_FREQ/4) to get this clock frequency If I ran with PLL0 100mhz it'll divisible by 4. But the thing is for GPIO whichever examples are availabe in that package they're not using SOC_SYSCLK_4_FREQ this macro to get GPIO clock by 4.
I surfed a lot on the internet cant able to find an example code to set a clock for GPIO. Please If someone knows this problem Kindly help me out
Thanks in advance,
Regards,
Seyed