6 Replies Latest reply on Oct 24, 2018 12:12 AM by elampel_1625036

    EZI2C - write to a specific index in the buffer

    elampel_1625036

      hello all ,

      i have the psoc 4 pioneer kit .

      i am trying to implement an ezi2c slave with 5 registers in it .

      and i want to write to a specific register from the bridge control panel

      without overwriting the other registers.

       

      if i write to offset 00 - i can write to the first register

      bridge panel command i send:  w 13 00 aa p;write to address 13 with offset 00 ,data to reg1 aa

       

      if i write to offset 00 , 2 commands in a row i can write to both of my registers

      bridge panel command i send:  w 13 00 aa bb p;write to address 13 with offset 00 ,data to reg1 aa ,data to reg2 bb

       

      but i want to write only to register 2 ,if try to write to offset 01 some data it still writes to the first register

      bridge panel command i send:  w 13 01 bb p;write to address 13 with offset 01 ,data to reg2 bb .

       

      can someone please tell me what is the bridge control panel command

      i need to send in order to write just to register 2 ??

      Thanks