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.

DLPC410: Recommended order of DLL calls to load full image onto DMD

Part Number: DLPC410

Hi,

I am trying to load images onto the DMD, setup with D4100 Package, through the use of the DLL low level controls API. When I turn the board on, I am able to load an image successfully onto the board, but a second image only partially shows up. I was wondering what calls are needed to set the DMD up to be ready for the next board.

Currently, before the load data calls, I set tpg off, clear fifos, and set rowmode to increment

self.set_tpg_enable(devnum,0)
self.clear_fifos(devnum)
self.set_row_mode(devnum,0b01)

and then after load data calls

self.set_row_mode(devnum,0b00)
self.set_block_mode(devnum,0b11)
self.set_block_address(devnum,0b1000)
self.load_control(devnum)

This works as the first image loads, but the subsequent images don't behave as expected. Are there function calls I am missing to set the states up to be ready for the next image.

  • Hello Heyang,

    Please try calling "load_control" three times in a row.  Add a small time between each (as a variable that you can change to test).  

    I wrote a LabView wrapper a long time ago and found that I had to call it three times.  It may also be that a small wait before calling it may have the same result.  I never tried that in my LabView wrapper.

    Fizix

  • It was unclear in the documentation that the SetRwMd function needed to be called for every LoadData function call. The image issue was fixed after that was done.

  • Currently the loading operation is this:

    SetTPGEnable(0)

    ClearFIFOS()

    SetRowMode(11)

    SetRowAddress(0)

    Load3 #load 3 times with 0.01s wait between

    For row in rows

        SetRowMode(01)

        load_data(row)

    set_row_mode(devnum,0b00)
    set_block_mode(devnum,0b11)
    set_block_address(devnum,0b1000)
    load3

  • Hello Heyang,

    Excellent sleuthing!  Thanks for reporting back so others can benefit from your investigation.

    Fizix