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.

How to Issue I2C Commands Basics (I have a USB to GPIO interface adapter and DLP Pico Projector Development Kit

Hello,

I have a question about how to use issue I2C commands. I hope I am in the right place.  This question may seem long. However, I have provided detailed explanation of my set up only if needed; in other words, the part in blue is not necessary to read unless needed. My question comes under the heading of IMPORTANT (MORE RELATED TO MY QUESTION) PLEASE READ THROUGH WHAT I DID TO ATTEMPT TO ISSUE I2C COMMANDS TO THE PICO PROJECTOR. Thank you for reading; I really need help as I have not done much progress in this project.

WHAT I HAVE:

I have a DLP Pico Projector. I have removed the light engine of the DLP Pico Projector so that I am only working with the DLP 1700 digital micromirror device.
I have a USB to GPIO Interface Adapter. I have bought it from TI. Here is the web link to the item I am referring to: http://www.ti.com/tool/usb-to-gpio.
To connect everything together (connections will be described below), I have also bought a 24 Pin Flat Flex Cable. I have bought it from Digi-Key. Here is the web link to the item I am referring to: http://www.digikey.com/short/7h7n4q. The part number is WM10219-ND.

WHAT I CONNECTED TOGETHER:

My set up is exactly the same way as described by the original writer of this forum http://e2e.ti.com/support/dlp__mems_micro-electro-mechanical_systems/f/94/p/66460/395382.

For more detail of my set up, I have described it below in italics and in blue. (May be unnecessary to read through if set up was understood already from the web link provided) I also provided this for anyone else struggling with the first few steps of set up. I hope some people may find it and the following question helpful!

Pico Projector Set-UP

I had my Pico Projector (without the light engine) connected to the PC by connecting a mini HDMI(male) to HDMI (female) cable to the Pico Projector and then connecting the other end of the cable to an HDMI (Male)  to DVI-D cable (Male) which was the connected to the PC. I then plugged the Pico Projector to the power supply and turned on the Pico Projector. The Pico Projector turned on and everything is fine.

USB to GPIO Interface Adapter Set-UP

I have my USB to GPIO Interface Adapter. I download the software given in the TI website http://www.ti.com/tool/usb-to-gpio. A page where I could enter my I2C commands PMBUS GPIO, etc commands pops up. ( I will provide a picture of the page that I am talking about below) Everything is so far so good. I connect one end of the 10-Pin ribbon cable (that came in the same package as the USB to GPIO Interface Adapter) to the USB to GPIO Interface Adapter. I then connect the USB to mini USB cable (that came in the same package as the USB to GPIO Interface Adapter) to the USB to GPIO Interface Adapter and the other end of the USB to mini USB cable was connected to the PC. Basically, I followed exactly what was described in the user manual. The green light on the USB to GPIO Interface Adapter lit up and everything is fine.

Connection of the Pico Projector and the USB to GPIO Interface Adapter Set-Up


To connect everything up: I had to turn off my Pico Projector and unplugged the Pico Projector from the PC (that is, take out the HDMI - mini HDMI cable from the Pico Projector).  I then unplugged the USB cable from the PC to unplug the USB to GPIO Interface Adapter. I then prepare my layout to solder/connect the Pico Projector to the USB to GPIO Interface Adapter. Here is my layout: I took the 24 Pin Flat Flex Cable and connected one end of it to the Auxillary Port (J113) of the Pico Projector. Three pins of the other end of the 24 Pin Flat Flex Cable needed to be soldered. Therefore, I soldered Pin 24 of the 24 Pin Flat Flex Cable to a wire. The other end of that wire was then soldered to the Pin 6 of the other end of the 10 Pin ribbon cable that was connected to the USB to GPIO Interface Adapter. I then soldered Pin 23 of the 24 Pin Flat Flex Cable to another wire. The other end of the wire was then soldered to Pin 9 of the 10 Pin ribbon cable that was connected to the USB to GPIO Interface Adapter. I then soldered Pin 22 of the 24 Pin Flat Flex Cable to another wire. The other end of the wire was soldered to Pin 10 of the 10 Pin Ribbon Cable. After soldering, I connect the USB-GPIO Interface Adapter to the PC via the USB cable. The green light on the USB to GPIO Interface Adapter lit up. I then connect the Pico Projector to the PC by plugging in the HDMI cable back in the Pico Projector. I then plug in the power supply to the Pico Projector. Then, I turn on the Pico projector and everything is fine.

IMPORTANT (MORE RELATED TO MY QUESTION) PLEASE READ THROUGH

WHAT I DID TO ATTEMPT TO ISSUE I2C COMMANDS TO THE PICO PROJECTOR:


After everything was set up, here is what it looked like in my computer screen:

 

I am using the DLP PICO CHIPSET Programmer's Guide User Manual for the DLP Pico Projector to help me with issuing I2C commands. I have read through it but I do not understand how to use it. I am an extreme beginner at I2C. I have read past forums, user manuals, google, and basically everything but I still do not know what exactly needs to be put in that screen.

MY QUESTION:


If I want a checkerboard pattern to be displayed, (that is, I want the digital micromirrors to have a checkerboard pattern so that whatever is in my computer screen gets "checkerboarded" so to speak.), what needs to be put in Device Address, what needs to be put in Cmd, and what needs to be put in Data for when I2C write is bubbled in? After I have set everything up in I2C write, do I then send or do I have to set things up in I2C read. What needs to be put in I2C read then: what do I put in Device Address, in Length, and in Cmd. I tried playing around with things (putting in numbers that I thought was right) under the "guidance" of past forums and the programmers user's manual, but unfortunately I just get errors. I played with the I2C Write and pressed Send and I got Error under ACK, then I played with the I2C Read and pressed Send and I got Error under ACK. I then tried to set Pull-Up resistor to 2.2K ohms and I got an error.

In conclusion, if someone can provide detailed step-by-step instructions on what numbers needs to be put where to and when I press the Send button, I would really appreciate it. If I can I have some dictionary and examples that translates  and shows how to put whatever is in the programmers user's manual to the screen above in the respective places. I only see in the Programmer's Manual things like (I2C:X0B) and then a column that says BITS and a column that says Description and a column that says TYPE and I do not know what to put in the Device Address, Cmd, Data, length, etc. Can you please tell me what needs to go where. Please tell me exactly what numbers or whatever needs to go where to do the checkerboard example as discussed above. I have read the USER Manual for the USB to GPIO Interface Adapter and still do not get their instructions.

I have researched a lot on my own. I have read all kinds of manuals, and forums and google on my own. I believe I understand the basic idea of I2C but I still do not know what to write under Device Address Cmd, Length, Data and when to press the send button. Please give the checkerboard example. I would really appreciate your time, help, and effort!!!!

Thank you for reading! I apologize for the length of the forum.