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.

Compiler/TDA2PXEVM: RTOS: LCD panel power pin control issue.

Part Number: TDA2PXEVM
Other Parts Discussed in Thread: PCF8575, TLC59108

Tool/software: TI C/C++ Compiler

Hi All,

I am using TDA2x EVM and SDK_0304 to develop.

I connect a LCD panel with deiver ic through the J15 connector of EVM,

I check the V-sycn, H-sync, pixel-clk, DE, data pin have output, but power on ctrl pin is always low.

 I check the code and schematic, power on/down pin is controlled by PCF8575 chip (pin-P15), and PCF8575 should be able to controlled through I2C.

I try to read/write PCF8578 ic, it's failed, I use the SDK origianl api for LCD ctrl to read/write PCF8575 and it's the same.

How to control the power down control pin?

Below is the log message.

[IPU1-0]     10.749679 s:  **************************************
[IPU1-0]     10.749801 s:  NO LCD CONNECTED OR LCD NOT RESPONDING
[IPU1-0]     10.749862 s:  **************************************
[IPU1-0]     10.750625 s:
[IPU1-0]     10.751143 s:  i2cMdSubmitChan: i2c0 transfer to slave address 0x40 failed
[IPU1-0]     10.751265 s: src/bsp_deviceI2c.c @ Line 580:
[IPU1-0]     10.751387 s:  I2C0: DEV 0x40: WR 0x00 = 0x00 ... ERROR !!!
[IPU1-0]     10.751479 s: src/bsp_deviceI2c.c @ Line 602:
[IPU1-0]     10.751540 s:  I2C0: Error timeout 1 ms!!!
[IPU1-0]     10.751631 s: tlc59108/src/bsp_tlc59108.c @ Line 168:
[IPU1-0]     10.751753 s:  Tlc59108 - I2C register write failed !!!
[IPU1-0]     10.754590 s:
[IPU1-0]     10.754895 s:  i2cMdSubmitChan: i2c0 transfer to slave address 0x40 failed
[IPU1-0]     10.754986 s: src/bsp_deviceI2c.c @ Line 580:
[IPU1-0]     10.755108 s:  I2C0: DEV 0x40: WR 0x0c = 0x00 ... ERROR !!!
[IPU1-0]     10.755200 s: src/bsp_deviceI2c.c @ Line 602:
[IPU1-0]     10.755261 s:  I2C0: Error timeout 0 ms!!!
[IPU1-0]     10.755352 s: tlc59108/src/bsp_tlc59108.c @ Line 168:
[IPU1-0]     10.755444 s:  Tlc59108 - I2C register write failed !!!
[IPU1-0]     10.755657 s:  *** UTILS: CPU KHz = 20000 Khz ***
[IPU1-0]     10.756176 s:
[IPU1-0]     10.756450 s:  i2cMdSubmitChan: i2c0 transfer to slave address 0x40 failed
[IPU1-0]     10.756572 s: src/bsp_deviceI2c.c @ Line 346:
[IPU1-0]     10.756664 s:  I2C0: DEV 0x40: RD 0x0c ... ERROR !!!
[IPU1-0]     10.756786 s: src/bsp_deviceI2c.c @ Line 412:
[IPU1-0]     10.756877 s:  I2C0: Error timeout 1 ms!!!

Thanks.

Ranny.

  • Hi Ranny,

    On which I2C is it connected? Can you please check if M4 driver has access to this I2C and it is not being used by other cores?

    Rgds,

    Brijesh

  • Hi Brijesh,

    1. According to log "i2cMdSubmitChan: i2c0 transfer to slave address 0x40 failed", doesn't systenm use I2C0 ?

    2. I disable un-used core, only leave M4 and A15, it has the same error.

    I used original use-case from SDK and choosed display setting "LCD 10-inch 1280x720@60fps",

    make_config is tda2xx_evm_bios_all,  it also has this issue.

    Thanks.

    Ranny.

  • Hi Ranny,

    Is this LCD supported in vision sdk? if yes, can you try one of the existing usecase, by selecting correct display from settings?

    Rgds,

    Brijesh 

  • Hi Brijesh,

    No, this LCD is not supported in vsion SDK.

    The error is happened when read/write PCF8575 ic, PCF8575 is on TDA2x EVM, I think it doesn't matter which LCD is used.

    Thanks.

    Ranny.

  • Hi Ranny,

    may be, can you try configuring PCF form Linux? I think I2C0 is controlled from Linux, so you should be able to configure PCF from Linux. 

    or otherway, can you try PDK example first to check out the new LCD? PDK examples are standalone examples, which exercises specific module. You could refer to dss_display example and update it for your LCD. Here since Linux is not running, you could access i2c0 instance. 

    Since it is new LCD, i would first suggest to use PDK example, bring it up and then use it in vision sdk usecase. 

    Regards,

    Brijesh