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.

TIC12400: CS_select overwrite to 0.

Part Number: TIC12400

I am using tic12400. I am able to read all pins as switch to source but I want to use some pins as switch to sink. When I write any one pin from IN0-IN9 then I am able to do as switch to sink but when I write more than one pin as switch to sink then CS_Select register overwrite to Zero(0). 

  • Hi Alihussain,

    Just so I understand what is happening correctly. The TIC12400-Q1 works as desired when bits 9 - 0 of the CS_SELECT register are 0, "0000000000", and when  only 1 of the bits 9 - 0 are 1 for example, "0000010000", but you run into an issue when you try to write more than one "1" bit into the register it resets back to "0000000000". Am I understanding the problem correctly ?

    If I am understanding the problem correctly then I have a few questions:

    1. Are you having trouble writing to other registers on the TIC12400-Q1 or just this one?

    2. How are you writing data to the CS_SELECT register, are you doing it all at once or are you writing one bit to the register at a time?

    Thanks,

    Parker Dodson

  • Yes, you understand correct my question.

    1. As of now, I am having trouble to write only this register because I can write IN_EN, CONFIG,MODE,WETTING CURRENT1 & 2,INT_EN_COMP1 and 2 properly.

    2.I am writing whole register at a time.

  • Ali,

    How are you calculating the parity bit? Is it getting calculated correctly?

    Regards

    Saminah

  • Thanks Saminah,

    You pointed on the correct point... I was not calculating the parity before... Now I am calculating the parity and it is working ...Thanks again for your help... TI forum is best....