I tried to control the DMD9000 evaluation board by python code. I am able to use pre-stored pattern mode and send simple images(full white/full black) in pattern-on-the-fly mode. However, I failed to display complicated images in pattern-on-the-fly mode. My procedure is as following:
2. Define LUT
3. Configure LUT
4. Set master bmp
5. Send master image
6. Set slave bmp
7. Send slave image
I tried uniform '0' and uniform '1' image and succeed. Then I tried a checkerboard pattern and failed to see anything on the DMD. Then I tried both uncompressed and Enhanced RLE compression for checkerboard pattern and both failed.
I also did these (both uncompressed and Enhanced RLE compression) on the GUI and enabled command logging and compared the bytes sent by GUI with the bytes sent by me.
The bytes include: PAT_START_STOP, MBOX_DATA,PAT_CONFIG, PATMEM_LOAD_INIT_MASTER, PATMEM_LOAD_DATA_MASTER, PATMEM_LOAD_INIT_SLAVE, PATMEM_LOAD_DATA_SLAVE, and PAT_START_STOP.
They are exactly the same, except for two reserved bits in the image header which the programmer's guide says should be '0' but the GUI actually send '1', for every time I tried.
I'm confused where's the problem since I did succeeded on simple images but failed on complicated images.
I would like to get any help with this! Thank you!