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.

DLPDLCR230NPEVM: Parallel Mode

Part Number: DLPDLCR230NPEVM
Other Parts Discussed in Thread: DLPC3436

I am having a hard time figuring out how to get the parallel mode to work. I know there's a lot of forum post of people figuring it out by using an older version of rasbian due to WiringPi deprecation but I'm unable to figure it out. This product is essentially useless to me and it is insane how you are able to sell an unworkable product with no real instructions on how to use it since the deprecation (almost 4 years ago) 

  • Hello Thai,

    Welcome to the E2E forums and we hope to assist you with your questions. 

    Have you consulted the following user guide?

    https://www.ti.com/lit/ug/dlpu103b/dlpu103b.pdf

    After setup and configuration (Section 9.1), you should be able to run the init_parallel_mode.py which will initializes video output for 18-bit DPI via RGB666 from Raspberry Pi. 

    Regards,

    Alex Chan

  • Yes. As previously stated, I have tried your outdated way that does not include any updated information on the WiringPi deprecation. Please refer to past forums as y'll have YET to resolve this issue. 

  • What version of Raspbian OS are you currently using, do you already have both python files and the firmware files? Are you trying to use the init_parallel mode in 1080p or 960x540 resolution? What version of the physical raspberry pi are you using as well?

  • I have tried the latest version of Rasbian that released 2024-03-15 64 bit. I plan on trying again with the legacy 32-bit version today. I have not adjusted the resolution settings. I had luck running the sample codes on the newest version of Rasbian but was unable to run the init_parallel mode. I have a model 4B pi. Yes, I do have the files. 

  • I am now unable to run the sample software and this is the error I'm getting when running the init_parallel.

  • To confirm, have you placed the TI provided config .txt file in the boot/ folder of microSD card?

  • Please allow me some time to retest our procedure and debug your issue.

  • As a reference, I have done exactly as the quick start guide has said to no avail.

  • Hello Thai,

    Thank you for going through the guide. Please allow us time to debug this issue.

    Regards,

    Austin

  • I have not been able to create this error. 

    • Use Raspberry Pi OS (Legacy 64-bit bullseye)
    • Enable SSH, VNC, SPI, and I2C enabled on the RPi
    • Replace stock config.txt file with TI provided one
    • Check that the i2c.py script from the python support package matches with the active I2C lines on the RPi
      • In the /dev folder there is usually a I2C-1 or I2C-22
      • Try either of the values in the i2c.py script in the default spi bus variable

    Best,

    John

  • this is the error I got. I am also unable to run the sample codes. I have the i2c bus to 22

    set slave address: 27
    Initializing Raspberry Pi Default Settings for DLPC3436...
    sh: 1: gpio: not found
    Setting DLPC3436 Input Source to Raspberry Pi...
    Configuring DLPC3436 Source Settings for Raspberry Pi...
    Traceback (most recent call last):
    File "/home/groupf/Downloads/dlpdldcr230npevm_python_support_software_1.0/api/dlpc343x_xpr4.py", line 599, in ReadFpdLinkConfiguration
    readbytes = _readcommand(3, writebytes, ProtocolData)
    File "/home/groupf/Downloads/dlpdldcr230npevm_python_support_software_1.0/init_parallel_mode.py", line 78, in ReadCommand
    i2c.write(writebytes)
    File "/home/groupf/Downloads/dlpdldcr230npevm_python_support_software_1.0/i2c.py", line 78, in write
    _i2c.write(data)
    File "/home/groupf/Downloads/dlpdldcr230npevm_python_support_software_1.0/linuxi2c.py", line 74, in write
    if os.write(self.fd, wrbuff) < 0:
    OSError: [Errno 6] No such device or address

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/home/groupf/Downloads/dlpdldcr230npevm_python_support_software_1.0/init_parallel_mode.py", line 110, in <module>
    if __name__ == "__main__" : main()
    File "/home/groupf/Downloads/dlpdldcr230npevm_python_support_software_1.0/init_parallel_mode.py", line 101, in main
    Summary, BitRate, PixelMapMode = ReadFpdLinkConfiguration()
    File "/home/groupf/Downloads/dlpdldcr230npevm_python_support_software_1.0/api/dlpc343x_xpr4.py", line 606, in ReadFpdLinkConfiguration
    return Summary, BitRate, PixelMapMode
    UnboundLocalError: local variable 'BitRate' referenced before assignment


    ------------------
    (program exited with code: 1)
    Press return to continue

  • Hello,

    I did run the init_parallel_mode.py script with and without the Raspberry Pi attached to the EVM. I got a similar error when I had the Raspberry Pi removed from the EVM. Can you confirm that the ribbon cable is properly attached to both the EVM and Raspberry Pi? The header pins need to be seated all the way in the ribbon cable. Can you confirm that the ribbon cable is not misaligned with either set of header pins?

    Best,

    John

  • It's seated correctly. Don't worry about it. I'll just return this crappy product that doesn't work.

  • Hello Thai,

    If you are not interested in further pursuing a debug I will close this ticket.

    Regards,

    Austin