Command register

Discussion in 'Electronics Resources' started by urbanzrim, Apr 10, 2014.

  1. urbanzrim

    Thread Starter New Member

    Sep 5, 2013
    4
    0
    Hi,
    I've came across one problem which I don't understand. In TCS3772 rgb color sensor is one register called COMMAND, which I don't know how to properly use. It says, you should write bits in it if you read/write from the chip, but I don't know how to access it, cuz there is non address for it.
    Any help would be appreciated.
    Thanks!

    [​IMG]

    [​IMG]
     
  2. ericgibbs

    AAC Fanatic!

    Jan 29, 2010
    2,508
    380
    hi,
    The Type & ADDRess are as shown in this image.

    They are the Field values in the Table
    E
     
    urbanzrim likes this.
  3. urbanzrim

    Thread Starter New Member

    Sep 5, 2013
    4
    0
    Thank you!
    So, if I get it..
    It says, that you should use read word protocol bit set in command register before you want to read the data registers.
    So, before I read them I should write 0xe6 in 0x06?

    Sorry, but I saw this problem for the first time and it's really confusing me.
     
  4. ericgibbs

    AAC Fanatic!

    Jan 29, 2010
    2,508
    380
    hi,
    Command 100 00110 will Clear Channel Interrupt.
     
Loading...