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.

TIC12400EVM-KIT: IN0 - IN10 not working in SOURCE mode

Part Number: TIC12400EVM-KIT
Other Parts Discussed in Thread: TIC12400-Q1

I am trying to configure IN0 - IN10 as source pins but it is not working..... I have used the following configuration ....

using EVL software and Hardware for testing...

DEVICE_ID = 0x01000000;
INT_START = 0x02000000;
CRC = 0x0300FFFF;
IN_STAT_MISC = 0x04000000;
IN_STAT_COMP = 0x05000000;
IN_STAT_ADC0 = 0x06000000;
IN_STAT_ADC1 = 0x07000000;
IN_STAT_MATRIX0 = 0x08000000;
IN_STAT_MATRIX1 = 0x09000000;
ANA_STAT0 = 0x0A000000;
ANA_STAT1 = 0x0B000000;
ANA_STAT2 = 0x0C000000;
ANA_STAT3 = 0x0D000000;
ANA_STAT4 = 0x0E000000;
ANA_STAT5 = 0x0F000000;
ANA_STAT6 = 0x10000000;
ANA_STAT7 = 0x11000000;
ANA_STAT8 = 0x12000000;
ANA_STAT9 = 0x13000000;
ANA_STAT10 = 0x14000000;
ANA_STAT11 = 0x15000000;
ANA_STAT12 = 0x16000000;
CONFIG = 0x1A00040C;
IN_EN = 0x1BFFFFFF;

CS_SELECT = 0x1C00001F; // 0x1C0003E0;


WC_CFG0 = 0x1DB6DB6D;
WC_CFG1 = 0x1E16DB6D;
CCP_CFG0 = 0x1F000000;
CCP_CFG1 = 0x20000000;
THRES_COMP = 0x21000000;
INT_EN_COMP1 = 0x22FFFFFF;
INT_EN_COMP2 = 0x23FFFFFF;
INT_EN_CFG_0 = 0x24000004;
INT_EN_CFG_1 = 0x25000000;
INT_EN_CFG_2 = 0x26000000;
INT_EN_CFG_3 = 0x27000000;
INT_EN_CFG_4 = 0x28000000;
THRES_CFG0 = 0x29000000;
THRES_CFG1 = 0x2A016800;
THRES_CFG2 = 0x2B00D247;
THRES_CFG3 = 0x2C045C77;
THRES_CFG4 = 0x2D0CBDA2;
THRESMAP_CFG0 = 0x2E000000;
THRESMAP_CFG1 = 0x2F023000;
THRESMAP_CFG2 = 0x300001F5;
MATRIX = 0x31000000;
MODE = 0x32000000;

  • Hello Prateek,

    Can you give a little more detail on what the behavior is when you say it is not working?

    From your register settings it looks like you have not set the Trigger bit of the Config register.  The TIC12400-Q1 will not start polling the input pins until this is set.  So the system should set the register settings first, then enable the trigger bit to start the polling.

    Regards,

    Andrew

  • thank you for the reply

    I am sending the trigger after setting all configuration.  IN0-IN10 is working fine if I set pins as SINK pins. But when I set these pin as SOURCE pins it is not working.

    I am only changing the value of CS_SELECT register from 0x1C0003FF to 0x1C0003E0 

  • Hello Prateek,

    Can you elaborate more on the behavior when the pins are not working and how you are testing?  

    • Is the source current correct?
    • Does it appear that the current sources are simply not on?
    If you disconnect the EVM Switch board and measure the voltage on the pin is it correctly pulled up to supply with no load?  Is it possible to attach a load resistor to the main board test points to see if the Current source is being applied?
    • You may need to put the device in continuous mode to measure this

    Regards,

    Andrew

  • Prateek,

    We haven't seen a response from you in a couple of weeks. Have you resolved this issue?

    Thank you,
    Adam
  • I want to use IN0 to IN10 as Source pin. 

    I have set the cs_select = 0x1C000000. But not working. 

    I have tested the voltage on IC it is correctly coming.

    I am doing all this test on EVL board with interfacing board connected.

    All other register value: 

    DEVICE_ID = 0x01000000;
    INT_START = 0x02000000;
    CRC = 0x0300FFFF;
    IN_STAT_MISC = 0x04000000;
    IN_STAT_COMP = 0x05000000;
    IN_STAT_ADC0 = 0x06000000;
    IN_STAT_ADC1 = 0x07000000;
    IN_STAT_MATRIX0 = 0x08000000;
    IN_STAT_MATRIX1 = 0x09000000;
    ANA_STAT0 = 0x0A000000;
    ANA_STAT1 = 0x0B000000;
    ANA_STAT2 = 0x0C000000;
    ANA_STAT3 = 0x0D000000;
    ANA_STAT4 = 0x0E000000;
    ANA_STAT5 = 0x0F000000;
    ANA_STAT6 = 0x10000000;
    ANA_STAT7 = 0x11000000;
    ANA_STAT8 = 0x12000000;
    ANA_STAT9 = 0x13000000;
    ANA_STAT10 = 0x14000000;
    ANA_STAT11 = 0x15000000;
    ANA_STAT12 = 0x16000000;
    IN_EN = 0x1BFFFFFF;
    CS_SELECT = 0x1C000000;
    WC_CFG0 = 0x1D924924; 
    WC_CFG1 = 0x1E124924; 
    CCP_CFG0 = 0x1F000000;
    CCP_CFG1 = 0x20000000;
    THRES_COMP = 0x21000000;
    INT_EN_COMP1 = 0x22FFFFFF;
    INT_EN_COMP2 = 0x23FFFFFF;
    INT_EN_CFG_0 = 0x24000004;
    INT_EN_CFG_1 = 0x25000000;
    INT_EN_CFG_2 = 0x26000000;
    INT_EN_CFG_3 = 0x27000000;
    INT_EN_CFG_4 = 0x28000000;
    THRES_CFG0 = 0x29000000;
    THRES_CFG1 = 0x2A016800;
    THRES_CFG2 = 0x2B00D247;
    THRES_CFG3 = 0x2C045C77;
    THRES_CFG4 = 0x2D0CBDA2;
    THRESMAP_CFG0 = 0x2E000000;
    THRESMAP_CFG1 = 0x2F023000;
    THRESMAP_CFG2 = 0x300001F5;
    MATRIX = 0x31000000;
    MODE = 0x32000000;

    CONFIG = 0x1A001C2C;