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.

Linux/DLPDLCR2000EVM: Temperature data and setting LED current

Part Number: DLPDLCR2000EVM
Other Parts Discussed in Thread: DLPC2607,

Tool/software: Linux

Hi

trying to set get the temperature and LED current on the EVM connected to a raspberry pi following the thread https://e2e.ti.com/support/dlp__mems_micro-electro-mechanical_systems/video_and_data_display/f/947/p/635358/2344174?tisearch=e2e-sitesearch&keymatch=dlpc2607%20lumens#2344174 

However, unable to change the LED current to 100% duty cycle when i tried the below. 

i think i'm using the correct address and function, so help please? the raspberry pi doesn't allow the use of 0x400

also, how would I set the LED current to 25% or 50% duty cycle? would it be 0x10 and 0x20? 

  • Philbert,

    Can you explain what you mean by 100% duty cycle current? The brightness of the LEDs do not actually correspond to the duty cycle. It is possible we are both thinking of two different problems.

    Best Regards,
    Philippe Dollo
  • Hi Philippe

    I'm referring to the DLPC2607 software programmers guide section 2.4.1.11.2, 2.4.1.11.3, 2.4.1.11.4.

    previously mention in the post above you said 'In order to change the system brightness, you need to do two things. First, you need to adjust the LED current register settings'

    to clarify, I am trying to change the brightness of the projected image.

  • Philbert,

    The python sample scripts provided with the DLPDLCR2000EVM have example code to show how to adjust system brightness. You can get a link to the repo with these scripts here:
    github.com/.../DLPDLCR2000

    I hope this helps.

    Best Regards,
    Philippe Dollo
  • Hi Philippe

    Are the python scripts operated by i2c or DPI? Do i need the library in the same place as the scripts?

    Kind Regards
    Philbert
  • Philbert,

    You don't need the library in the same place, but you need to install the library. Instructions on doing that are provided in the accompanying readme. The python scripts make I2C calls to the EVM.

    Please note these scripts were developed for use with the BeagleBone Black, so modifications may be necessary for compatibility with the Raspberry Pi.

    Best Regards,
    Philippe Dollo
  • Hi Philippe

    I have had a look at the code, and after some debugging i think i manged to get some bits of the code working  - it can write commands to the EVM. However, a error also shows up, ending whatever operation it was doing:Test Failed exception. For example, the LEDTest code manage to change the Display of the EVM red, but was unable to function any further when i returns the error.  I've tried debugging it and it seems to have stopped at 

    callTable(Test_name,datalog,source_defs);

    witht the source_def being the problem

    Any thoughts on what could have gone wrong?

  • Philbert,

    It may be trying to perform data logging functions to save as test data. You can probably disable this data logging functionality without compromising the scripts themselves.

    Alternatively, you may want to just pull from the scripts to understand the I2C commands being used, and write your own implementations following this.

    Best Regards,
    Philippe Dollo