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.

Setting Up Power of LCD using GPIO pins

Other Parts Discussed in Thread: OMAP3530

Hi,

I am working on LCD part of OMAP3530 . Trying to write a minimal driver for lcd.

How is LCD powered on with the help of GPIO?

In the ITBOK code it is seen that GPIO5 (out of 6 GPIO modules) is selected for its Power. Where is this configured? Can i change the GPIO module to be another one?

Any help on this is highly appreciable.

Thanks

Jack

  • jack said:
    How is LCD powered on with the help of GPIO?

    The EVM is designed such that the control over the LCD power is managed through a GPIO pin, in particular GPIO_153 should be asseted to power the LCD.

    jack said:
    In the ITBOK code it is seen that GPIO5 (out of 6 GPIO modules) is selected for its Power. Where is this configured?

    I am not sure exactly what you are looking at, but in lcd_utils.c the enable_lcd_power function looks to assert GPIO_NUM_VDD which happens to be 153 (from lcd_utils.h) to correspond to the proper GPIO assertion for the Mistral EVM. You may also find the code within dg_gpio.c handy for your development, as this is the actual GPIO code.

    jack said:
    Can i change the GPIO module to be another one?

    For your own hardware you certainly could, however in the case of the Mistral OMAP3 EVM you have to use the GPIO implemented in the hardware to power up the LCD (GPIO 153 in the newer OMAP3 EVM revisions).

  • Thanks for that bernie,

    I am now currently trying to write an audio driver for OMAP3530.

    Which is the best point to start with?. From where can i get reference?

    I just need to render an audio file. I have a decoded audio file in a buffer , Just need to render it and should be able to hear through the speaker port.

    Can you help me?