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.

DLP2010EVM-LC: Creating Batch File to Modify Automatic HDMI Settings

Part Number: DLP2010EVM-LC
Other Parts Discussed in Thread: DLPDLC-GUI

Hello,

I am struggling to write my own batch files for the DLP2010EVM-LC kit. I was hoping to have it automatically flip from portrait to landscape because I am trying to display an android screen.

Would you be able to help me?

This is the batch file I wrote. When I upload via the GUI it just goes to a blank screen.

Jackie

# SET UP SPLASH SOURCE #
#####################################

# 100 ms delay
W 36 DB 64 00

# Write: DisplaySize
W 36 e0 01 56 03

# Input
W 36 2e 00 05 d0 02

# 100 ms delay
W 36 DB 64 00

# Write: ImageOrientation
W 36 14 01

  • Hi Jackie,

    Welcome back to the E2E forum!

    You will find the commands necessary for this transition in the DLPC3470 Programmer's Guide.

    In particular, I would point you to Section 3.1.12.1 (page 27). Please note that you will need to consider the image resolution when rotated (480x854). Exceeding this resolution may cause the controller to output a blank image.

    Additionally, you may be writing to an incorrect location with your Write: DisplaySize command. The location here should be a12h in place of e0h (the location to erase flash data). This would be similar to the command for writing an 854 x 480 display size:

    # Write: DisplaySize
    W 36 12 00 00 00 00 56 03 e0 01

    Please let us know if this resolves your issue.

    Regards,

    Austin

  • Hi Austin,

    I will try this... was the rest of my batch file correct?

    Jackie

  • Jackie,

    Yes, rest of the batchfile seems ok. I would still suggest you to recheck using the software programmers guide.

    We will wait for your further findings.

    Regards,

    Mayank

  • Hi Mayank,

    I did upload the modified batch file: 

    # SET UP SPLASH SOURCE #
    #####################################

    # 100 ms delay
    W 36 DB 64 00

    # Write: DisplaySize
    W 36 12 00 00 00 00 56 03 e0 01

    # Input
    W 36 2e 00 05 d0 02

    # 100 ms delay
    W 36 DB 64 00

    # Write: ImageOrientation
    W 36 14 01

    It still came up with a blank screen. I guess I am just confused how I should be writing the batch file so that it simply intakes the HDMI data and flips the direction. Apologies, I have never written a batch file or direct bits so I am unsure of what I should do for my DMD. I looked through the documentation and I am confused to where I should allocate each detail. Do you have a sample batch file for running an HDMI input to this DLP/DMD eval kit? I could maybe modify it from there?

    Jackie 

  • I actually am looking at the batch file format now and changed all the reserved to 00 as I realized the first variable is W/R, the module is 36 and the command is the next number and then the rest are bit 7:0

    # SET UP SPLASH SOURCE #
    #####################################

    # Input 05h
    W 36 05 00 00 00 00 00 00 00 00


    # Write: External Source Format Select
    # W 36 07 00 00 00 00

    # Write: DisplaySize
    W 36 12 00 00 00 00 56 03 e0 01

    # Write: ImageOrientation
    #W 36 14 00 00 00 00 00 00 00 01

    Jackie

  • Hi Jackie,

    Thank you for providing your batchfile commands. We will look into this further and get back to you soon.

    Thank you,

    Chris

  • Hi Chris,

    Please let me know what I can do to help make this easier. Even if I had the original batch file I could probably modify to meet what I need.

    I have a demo tomorrow and need to have this working.

    Jackie

  • Hello Jackie,

    Thank you for your patience .We will get back .

    regards,

    Vivek

  • Jackie,

    I assuming you have the DLPDLC-GUI. If that is correct the you can find a sample batchfile in the GUI installation folder - 

    "AppData\Roaming\Texas Instruments\DLP Pico Display and Light Control 2.2.0.6\settings\UpdateFlashImageFiles"

    Regards,

    Mayank