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.

DLPC3479: After I send the internal display IIC command, the system does not display the pattern I want

Part Number: DLPC3479
Other Parts Discussed in Thread: DLP4710LC, DLP4710, , DLPA3000, DLPC3439

Hello, TI experts:

My system is designed with reference to dlpc4710lc, using also dlpc3479+dlpa3000+dlp4710lc, I send the corresponding IIC commands with reference to the GUI instruction manual that comes with the evaluation version and the programming guide of the dlpc3479 software, but the dlp4710 can't be displayed in accordance with the IIC commands that I send it to, which gives me the following problems that
Question 1: What kind of IIC commands do I need to send from my side to get the system to perform the simplest internal pattern display;
Question 2: Does the WriteGPIO[19:00]Control (0x31) command on this side control the gpio port output of the dlpc?
Question 3: Can I control the voltage output of Vled by sending Write RGB LED Enable (0x52) instruction from my side?

Thanks

Alexander

  • Hello Alexander,

    Can you clarify the issue? Is your system booting up properly, if so what firmware version are you using?

    Question 1: (assuming you already have an internal pattern saved)

    • Write operating mode select (0x05)
    • Write internal pattern control (0x9E)

    Question 2: 

    • Can you clarify where you see command 0x31?

    Question 3:

    • No, this simply turns on or off the LED. 
    • You can use (0x5Ch) to write the maximum LED current, though you cannot adjust Vled via I2C commands. 
  • Hi Maximus,

    Thank you for the answer. Now I can use these two commands to make the internal pattern appear on the dlp.

    Question 2.
    Can you clarify where you see command 0x31?
    I found this command in the DLPC3439 Software Programmer's Guide (I am using the dlpc3479, which is not in the DLPC3479 Software Programmer's Guide).
    Question 3.
    I want to reduce the power consumption by turning off the led, and I don't have a need for the led, so I can control the power of the led by using 0x5c, right?

    New Question:

    if I write the pattern to flash, how do I get the dlp to read the custom pattern data that I have written?

    Best,

    Alexander

  • Hello Alexander,

    The 0x31H command is not supported. Please refer to the latest version of DLP3479 programmer's guide

    DLPC3479 Software Programmer's Guide (Rev. B) (ti.com)

    Question 3.
    I want to reduce the power consumption by turning off the led, and I don't have a need for the led, so I can control the power of the led by using 0x5c, right?

    The Command 0X5C can be used to limit the maximum current for LED but LED will be ON and consume power. If you need LED turned ON then you can use the command 

    "Write RGB LED Enable (52h)"

    to enable and disable each LED individually.

    if I write the pattern to flash, how do I get the dlp to read the custom pattern data that I have written?

    Please refer to "Write Operating Mode Select (05h)". This command gives you an option to select the source for the pattern, including flash.

    regards,

    Vivek 

  • Hello,Vivek

    Thanks for your reply.

    What I want to ask is how I make a pattern file, whether to write the flash to the pattern file through the IIC instruction?

    and secondly, where in flash should the pattern file be programmed?

    Best,

    Alexander

  • Hello Alexander,

    You can use the DLP EVM GUI to create a pattern.bin file via the Light Control tab. Using the firmware tab you can add the pattern.bin to your firmware and then use the Flash Update Commands mentioned in the DLPC3479 Software Programmer's Guide to do this. 

    Best,

    Maximus

  • Hello Maximus,

    Thanks for your reply.

    I can't communicate with dlpc via DLP EVM GUI on my side, there is only one way of IIC communication;

    My question is:
    Can I refer to the load pattern to flash iic command in the dlpc347x_dual_samples.c file in DLPC-API-1.10 for loading pattern data?

    Another question is:
    I can generate the pattern.bin through DLP EVM GUI on my side (without DLP EVM GUI connected to the board)?

    Best,

    Alexander

  • Hi Alexander,

    Yes you can use the flash commands in the API to update the pattern data and yes you may generate a pattern.bin even without a board connected to the GUI.

    Best,

    Maximus

  • Hello Maximus,

    Thanks for your reply.

    I am using the DLPC34XX_DUAL_WriteFlashStart function to write, but the flash start address for writing is 0x00000000, which is not a sensible address to write to, and will result in the firmware changes not being able to be initialised.

    so my question is, can I give an address (the address of the pattern sequence)? This way I can write directly to the flash without going through the iic.

    Another question is, can the trigger_in, trigger_out1 and trigger_out2 signals be enabled only after the pattern data is written to the flash memory?

    Because when I configure the trigger signals via IIC commands, there is no signal output from the dlpc3479.

    Best,

    Alexander

  • Hello, 

    Please give us some time to look into this and get back to you.

    Best,

    Maximus

  • Hello,

    We recommend updating the patterns via the DLPC3479 I2C Flash Update Commands (DLPC3479 Software Programmer's Guide) as this is the safest way to update the flash image without corrupting any of the data. Please try using these commands to update your pattern.bin and when writing the Write Flash Data Type Select (DEh) make sure to set the flash data type as D0 for pattern data. You can also see an example of this by updating your patterns via the GUI and then examining the Debug tab.

    Best,

    Maximus