Post Go back to editing

Validating short circuit on output channels

Thread Summary

The user is troubleshooting a non-working MAX14906 module that does not trigger a fault condition after a short circuit, despite showing current overload in the OVRLDCHF register. The final answer suggests checking the SPI communication, supply voltages (VDD, V5, VL), and ensuring the A0 and A1 pins are correctly configured. The user confirms that the hardware and firmware are identical to working modules, but the non-working module fails to overwrite default register values. Wei recommends capturing SPI transactions to verify data and timing, and suggests replacing the MAX14906 to determine if the part is damaged.
AI Generated Content
Category: Hardware
Product Number: MAX14906

Hello developers,

Here is the setup: Max14906 configured as output, write logic 1 to the channel and then short the circuit to gnd to check the short circuit detection by MAX module.

I have 2 modules, out of which one is working, and another is not working. And I have captured the values from all the registers (i.e. from 0x00 - SETOUT_REG to 0x0F - MASK_REG) of both the modules and in both the cases i.e. before and after performing short circuit.

Only to understand the contents of the table: ignore the word DOShtDetectionOP in the table, the data is captured for 2 max modules, and short circuit is performed only on MAX1, data captured shows in the format 0xYY - 0xZZ where 0xYY are diagnostic bits and 0xZZ are register values which is in line with the Figure 10 in the data sheet of the MAX14906 module.

THE QUESTION: The non-working module shows Current overload after short circuit at the register MAX1: OVRLDCHF_REG = 0x07 - 0x11, but it does not trigger a fault condition. Is it due to the bits set in MAX1: GLOBALERR_REG = 0x07 - 0x5F? To cross verify I have checked the voltages at Vdd1, Vdd2, Vdd3, Vdd4 and G1, G2, G3, G4 and all sense a voltage level of logic 1 (+ or - 24V). Yet I am not able to determine if the MAX module is working or not!?! Any thoughts on this? 

 

Working module Non - working module
Before Short circuit Before Short circuit
DOShtDectionOP MAX1: SETOUT_REG = 0x00 - 0x00 DOShtDectionOP MAX1: SETOUT_REG = 0x01 - 0x00
DOShtDectionOP MAX1: SETLED_REG = 0x00 - 0x00 DOShtDectionOP MAX1: SETLED_REG = 0x01 - 0x00
DOShtDectionOP MAX1: DOILEVEL_REG = 0x00 - 0x00 DOShtDectionOP MAX1: DOILEVEL_REG = 0x01 - 0x00
DOShtDectionOP MAX1: INTERRUPT_REG = 0x00 - 0x00 DOShtDectionOP MAX1: INTERRUPT_REG = 0x01 - 0xC0
DOShtDectionOP MAX1: OVRLDCHF_REG = 0x00 - 0x00 DOShtDectionOP MAX1: OVRLDCHF_REG = 0x01 - 0x00
DOShtDectionOP MAX1: OPENWRCHF_REG = 0x00 - 0x00 DOShtDectionOP MAX1: OPENWRCHF_REG = 0x01 - 0x00
DOShtDectionOP MAX1: SHTVDDCHF_REG = 0x00 - 0x00 DOShtDectionOP MAX1: SHTVDDCHF_REG = 0x01 - 0x00
DOShtDectionOP MAX1: GLOBALERR_REG = 0x00 - 0x00 DOShtDectionOP MAX1: GLOBALERR_REG = 0x01 - 0x5F
DOShtDectionOP MAX1: OPNWREN_REG = 0x00 - 0x00 DOShtDectionOP MAX1: OPNWREN_REG = 0x01 - 0x00
DOShtDectionOP MAX1: SHTVDDEN_REG = 0x00 - 0x0F DOShtDectionOP MAX1: SHTVDDEN_REG = 0x01 - 0x00
DOShtDectionOP MAX1: CONFIG1_REG = 0x00 - 0x50 DOShtDectionOP MAX1: CONFIG1_REG = 0x01 - 0x53
DOShtDectionOP MAX1: CONFIG2_REG = 0x00 - 0x00 DOShtDectionOP MAX1: CONFIG2_REG = 0x01 - 0x00
DOShtDectionOP MAX1: CONFIGDI_REG = 0x00 - 0x10 DOShtDectionOP MAX1: CONFIGDI_REG = 0x01 - 0x08
DOShtDectionOP MAX1: CONFIGDO_REG = 0x00 - 0x00 DOShtDectionOP MAX1: CONFIGDO_REG = 0x01 - 0x00
DOShtDectionOP MAX1: CURRLIM_REG = 0x00 - 0x00 DOShtDectionOP MAX1: CURRLIM_REG = 0x01 - 0x00
DOShtDectionOP MAX1: MASK = 0x00 - 0xBE DOShtDectionOP MAX1: MASK = 0x01 - 0xBE
DOShtDectionOP MAX2: SETOUT_REG = 0x00 - 0x00 DOShtDectionOP MAX2: SETOUT_REG = 0x01 - 0x00
DOShtDectionOP MAX2: SETLED_REG = 0x00 - 0x00 DOShtDectionOP MAX2: SETLED_REG = 0x01 - 0x00
DOShtDectionOP MAX2: DOILEVEL_REG = 0x00 - 0x00 DOShtDectionOP MAX2: DOILEVEL_REG = 0x01 - 0x00
DOShtDectionOP MAX2: INTERRUPT_REG = 0x00 - 0x00 DOShtDectionOP MAX2: INTERRUPT_REG = 0x01 - 0xC0
DOShtDectionOP MAX2: OVRLDCHF_REG = 0x00 - 0x00 DOShtDectionOP MAX2: OVRLDCHF_REG = 0x01 - 0x00
DOShtDectionOP MAX2: OPENWRCHF_REG = 0x00 - 0x00 DOShtDectionOP MAX2: OPENWRCHF_REG = 0x01 - 0x00
DOShtDectionOP MAX2: SHTVDDCHF_REG = 0x00 - 0x00 DOShtDectionOP MAX2: SHTVDDCHF_REG = 0x01 - 0x00
DOShtDectionOP MAX2: GLOBALERR_REG = 0x00 - 0x00 DOShtDectionOP MAX2: GLOBALERR_REG = 0x01 - 0x1F
DOShtDectionOP MAX2: OPNWREN_REG = 0x00 - 0x00 DOShtDectionOP MAX2: OPNWREN_REG = 0x01 - 0x00
DOShtDectionOP MAX2: SHTVDDEN_REG = 0x00 - 0x0F DOShtDectionOP MAX2: SHTVDDEN_REG = 0x01 - 0x00
DOShtDectionOP MAX2: CONFIG1_REG = 0x00 - 0x50 DOShtDectionOP MAX2: CONFIG1_REG = 0x01 - 0x53
DOShtDectionOP MAX2: CONFIG2_REG = 0x00 - 0x00 DOShtDectionOP MAX2: CONFIG2_REG = 0x01 - 0x00
DOShtDectionOP MAX2: CONFIGDI_REG = 0x00 - 0x10 DOShtDectionOP MAX2: CONFIGDI_REG = 0x01 - 0x08
DOShtDectionOP MAX2: CONFIGDO_REG = 0x00 - 0x00 DOShtDectionOP MAX2: CONFIGDO_REG = 0x01 - 0x00
DOShtDectionOP MAX2: CURRLIM_REG = 0x00 - 0x00 DOShtDectionOP MAX2: CURRLIM_REG = 0x01 - 0x00
DOShtDectionOP MAX2: MASK = 0x00 - 0xBE DOShtDectionOP MAX2: MASK = 0x01 - 0xBE
After Short circuit After short circuit
DOShtDectionOP MAX1: SETOUT_REG = 0x06 - 0x00 DOShtDectionOP MAX1: SETOUT_REG = 0x07 - 0x00
DOShtDectionOP MAX1: SETLED_REG = 0x06 - 0x00 DOShtDectionOP MAX1: SETLED_REG = 0x07 - 0x00
DOShtDectionOP MAX1: DOILEVEL_REG = 0x06 - 0x00 DOShtDectionOP MAX1: DOILEVEL_REG = 0x07 - 0x0F
DOShtDectionOP MAX1: INTERRUPT_REG = 0x06 - 0x03 DOShtDectionOP MAX1: INTERRUPT_REG = 0x07 - 0xC3
DOShtDectionOP MAX1: OVRLDCHF_REG = 0x06 - 0x11 DOShtDectionOP MAX1: OVRLDCHF_REG = 0x07 - 0x11
DOShtDectionOP MAX1: OPENWRCHF_REG = 0x06 - 0x00 DOShtDectionOP MAX1: OPENWRCHF_REG = 0x07 - 0x00
DOShtDectionOP MAX1: SHTVDDCHF_REG = 0x06 - 0x00 DOShtDectionOP MAX1: SHTVDDCHF_REG = 0x07 - 0x00
DOShtDectionOP MAX1: GLOBALERR_REG = 0x06 - 0x00 DOShtDectionOP MAX1: GLOBALERR_REG = 0x07 - 0x5F
DOShtDectionOP MAX1: OPNWREN_REG = 0x06 - 0x00 DOShtDectionOP MAX1: OPNWREN_REG = 0x07 - 0x00
DOShtDectionOP MAX1: SHTVDDEN_REG = 0x06 - 0x0F DOShtDectionOP MAX1: SHTVDDEN_REG = 0x07 - 0x00
DOShtDectionOP MAX1: CONFIG1_REG = 0x06 - 0x50 DOShtDectionOP MAX1: CONFIG1_REG = 0x07 - 0x53
DOShtDectionOP MAX1: CONFIG2_REG = 0x06 - 0x00 DOShtDectionOP MAX1: CONFIG2_REG = 0x07 - 0x00
DOShtDectionOP MAX1: CONFIGDI_REG = 0x06 - 0x10 DOShtDectionOP MAX1: CONFIGDI_REG = 0x07 - 0x08
DOShtDectionOP MAX1: CONFIGDO_REG = 0x06 - 0x00 DOShtDectionOP MAX1: CONFIGDO_REG = 0x07 - 0x00
DOShtDectionOP MAX1: CURRLIM_REG = 0x06 - 0x00 DOShtDectionOP MAX1: CURRLIM_REG = 0x07 - 0x00
DOShtDectionOP MAX1: MASK = 0x06 - 0xBE DOShtDectionOP MAX1: MASK = 0x07 - 0xBE
DOShtDectionOP MAX2: SETOUT_REG = 0x00 - 0x00 DOShtDectionOP MAX2: SETOUT_REG = 0x01 - 0x00
DOShtDectionOP MAX2: SETLED_REG = 0x00 - 0x00 DOShtDectionOP MAX2: SETLED_REG = 0x01 - 0x00
DOShtDectionOP MAX2: DOILEVEL_REG = 0x00 - 0x00 DOShtDectionOP MAX2: DOILEVEL_REG = 0x01 - 0x00
DOShtDectionOP MAX2: INTERRUPT_REG = 0x00 - 0x00 DOShtDectionOP MAX2: INTERRUPT_REG = 0x01 - 0xC0
DOShtDectionOP MAX2: OVRLDCHF_REG = 0x00 - 0x00 DOShtDectionOP MAX2: OVRLDCHF_REG = 0x01 - 0x00
DOShtDectionOP MAX2: OPENWRCHF_REG = 0x00 - 0x00 DOShtDectionOP MAX2: OPENWRCHF_REG = 0x01 - 0x00
DOShtDectionOP MAX2: SHTVDDCHF_REG = 0x00 - 0x00 DOShtDectionOP MAX2: SHTVDDCHF_REG = 0x01 - 0x00
DOShtDectionOP MAX2: GLOBALERR_REG = 0x00 - 0x00 DOShtDectionOP MAX2: GLOBALERR_REG = 0x01 - 0x1F
DOShtDectionOP MAX2: OPNWREN_REG = 0x00 - 0x00 DOShtDectionOP MAX2: OPNWREN_REG = 0x01 - 0x00
DOShtDectionOP MAX2: SHTVDDEN_REG = 0x00 - 0x0F DOShtDectionOP MAX2: SHTVDDEN_REG = 0x01 - 0x00
DOShtDectionOP MAX2: CONFIG1_REG = 0x00 - 0x50 DOShtDectionOP MAX2: CONFIG1_REG = 0x01 - 0x53
DOShtDectionOP MAX2: CONFIG2_REG = 0x00 - 0x00 DOShtDectionOP MAX2: CONFIG2_REG = 0x01 - 0x00
DOShtDectionOP MAX2: CONFIGDI_REG = 0x00 - 0x10 DOShtDectionOP MAX2: CONFIGDI_REG = 0x01 - 0x08
DOShtDectionOP MAX2: CONFIGDO_REG = 0x00 - 0x00 DOShtDectionOP MAX2: CONFIGDO_REG = 0x01 - 0x00
DOShtDectionOP MAX2: CURRLIM_REG = 0x00 - 0x00 DOShtDectionOP MAX2: CURRLIM_REG = 0x01 - 0x00
DOShtDectionOP MAX2: MASK = 0x00 - 0xBE DOShtDectionOP MAX2: MASK = 0x01 - 0xBE
Parents
  • Hi Nagabhushan,

    Thanks for the details.


    1. You should NOT use DOILEVEL to turn on or off the channel. The DOILEVEL register is a read only register. It only displays either the output channel high or low, or the VDDOK status of the channel, depending on the VDDFaultDis bit in the CONFIGDI register.

    You should use SETOUT register HighO_ bit to turn on and off the channel. If you are using DOILEVEL register, I am not sure how you manage to turn on or off the channel. You said you have checked the normal operation of the channel - driving channel to high or low. How did you check the channel operation? Did you measure the DOI pin?


    2. Based on the register value you provided, CONFIG1, CONFIGDI and SHTVDDEN have different values. See below.

    3. The register reading from the non-working module tells that VDD and V5 are not in their normal operating range. Can you double check the supply voltage? Make sure you probe on the VDD and V5 net of the MAX14906, as close to the IC as possible.

    4. The register reading from the non-working module also tells a COMERR - it means you either have a SPI CRC error, wrong number of clocks in a SPI transaction, or watchdog error on SPI or SYNCH. Please monitor your SPI transaction making sure you are sending the correct commands.

    5. If you were trying to write 0x0F to SHTVDDEN, 0x50 to CONFIG1 and 0x10 to CONFIGDI on your non working module, your write attempts were not successful as the SHTVDDEN, CONFIG1 and CONFIGDI registers have different values. Now you need to check whether SPI is working properly on your non working module. What is VL voltage on the non working module? Are you using CRC? Is correct CRC bits attached to the command? Are A1 and A0 bits properly configured to match A1 and A0 pins? Do you send correct number of clocks in a SPI transaction?

    Thanks,

    Wei

  • Hi Wei,

    1. ⁠Thanks for clarifying about the SETOut reg. I am using data lines D_ to turn on and off the channels. I checked the channel operation by writing to the D_ and reading the channel output using multimeter.
      For the module configuration, I am using SPI and for the output mode, I am using D_ lines with SYNC held high.
    2. What I observe is that, the non-working module is not over writing the default/reset values to the new values configured from firmware. I have tried writing to other registers that have read-write permissions like mask register, but UNABLE to overwrite to new value. And unable to read the register, which is why the reset value are not cleared in other registers.
    3. I have checked the voltages on VDD and V5, they are 24V and 5V respectively.
    4. I am not using CRC in the SPI transactions. There is no issue with the SYNC line.
    5. We are using separate chip select line to select the MAX module instead of the A0, A1 pins.

    As I am able to perform read-write operation, with the same firmware and no hardware changes on the working device, why is the non-working module not executing the R-W operations. May I get few suggestions on this behaviour.

     

    Thanks

    Nagabhushan

  • Hi Nagabhushan,

    To verify if the SPI read/write and if the logic interface is operating normally, could you please check the following?

    1. Can you please check VL supply? It should be in the range of 2.5V to 5.5V.

    2. Can you check if CRCEN pin is low? CRCEN = low means CRC is disabled. 

    3. Even A0 and A1 pins are not used, they should be tied high or low on the PCB and the logic state of the A0 and A1 should be correctly reflected in the data packet sent by SDI. The 1st and 2nd bits of the data packet sent on SDI should be A1 and A0 logic state, same as the A1 and A0 pin logic state on the PCB. Can you double check the A1 and A0 pin logic state on the PCB and make sure they match with the 1st and 2nd bits sent on SDI?

    Thanks,

    Wei

  • Hi Wei,

    Here are the details:

    Pins Voltage/Hardware connections Value in SDI
    VL 5V
    CRCEN 0 - GND
    A1 0 - GND 0
    A0 0 - GND 0

    1. VL is within the range.

    2. CRCEN is pulled down in the hardware.

    3. A0, A1 sent from the firmware matches the PCB state (pulled down).

    While analyzing these, it is also important to consider that another board with same hardware works properly.

    Regards,

    Nagabhushan

  • Nagabhushan,

    If the hardware is validated, then we need to look at the SPI transactions received by the MAX14906.

    Can you capture a SPI write and read transaction on the scope, clearly showing CS\, SCLK, SDI and SDO, preferably probing at the MAX14906 CS\, SCLK, SDI and SDO pins or as close as possible. We need to check what data are sent to the MAX14906 and at its timing.

    Please note, from the register data of the non-working module, it always shows INTERRUPT register = 0xc0 and GLOBALERR register = 0x5F. It means that you either have supply error (VDD, V5 or GND) on the board, or communication error due to CRC or SPI clock count.

    Thanks,

    Wei

Reply
  • Nagabhushan,

    If the hardware is validated, then we need to look at the SPI transactions received by the MAX14906.

    Can you capture a SPI write and read transaction on the scope, clearly showing CS\, SCLK, SDI and SDO, preferably probing at the MAX14906 CS\, SCLK, SDI and SDO pins or as close as possible. We need to check what data are sent to the MAX14906 and at its timing.

    Please note, from the register data of the non-working module, it always shows INTERRUPT register = 0xc0 and GLOBALERR register = 0x5F. It means that you either have supply error (VDD, V5 or GND) on the board, or communication error due to CRC or SPI clock count.

    Thanks,

    Wei

Children
  • Hi Wei,
    I have 30 such boards that have MAX14906 module, and all are working perfectly fine. All boards have same hardware design and are working correctly with the same firmware i.e. no problem with register configuration, except this one board. Therefore, I would like to know if MAX module on this boards is dead.

    Thanks,

    Nagabhushan

  • Hi Nagabhushan,

    Since you are able to turn on/off the channel and able to read the registers, I don't think the MAX14906 is "dead". However, I don't have enough information to say if the part is 100% functional. We need to do full ATE test on the unit before we can claim that.

    One way to find out is to replace the existing MAX14906 on your non-working module with a fresh new unit, and test if you see the same behavior. If you don't see the issue anymore, then the previous part is damaged.

    Thanks,

    Wei

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.