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.

PCM6340-Q1: Share control command between PCM6340 and PCM6360

Part Number: PCM6340-Q1

Hi team,

I would like to share control command through I2C for the project using PCM6340 and the other project using PCM6360.

I plan to send a command to set the register which only exists in PCM6360 (ex Addr:0x0F ASI_CH5) to PCM6340 too.

1. How does PCM6340 device react when I send a command to 0x0F ASI_CH5? Will it return NACK?

2. Addr:0x73 D[2:3] is setting for CH5/6. Should I make it "Disable" if I use PCM6340 or is it OK to leave it default?

3. If I need to set "disable" to above 0x73 D[2:3] register, Is there a possibility that the device return NACK?

regards, 

  • Hi Shinji,

    The registers for the 4-channel device can still be written as normal, but the drivers and ADCs for those channels are not present so it will not transmit data for those channels. 

  • Hi Zak,

    You mean that the all those registers for Ch5 and Ch6 exists in PCM6340 and can be written or Read from MCU,

    Is my understanding correct?

    In that case, is it OK to keep those registers as default for PCM6340?

    I would like to confirm if I can use the same initialization command for PCM6340 and PCM6360.

    regards,

  • Hi Tsuji-san,

    That is correct, the registers can still be written to but they will not have any effect. I think you may want to be careful with the fault diagnostic registers though if you are relying on the interrupts to determine when a fault condition has occurred because the fault register values for channels 5 and 6 will not be valid since these are not active channels. It is possible to run through a sequence to determine which variant you have installed if this is possible. Here is a thread discussing this approach: 

    Best,

    Zak

  • Hi Zak,

    Do you mean there is a potential that invalid fault register value in Channel5 or 6 can trigger false Interrupt?

    In that case, should I disable Channel 5 and 6 at power up or should I set MASK register for Channel5/6 fault?

    regards,

  • Hi Tsuji-san,

    Channels 5 and 6 ADCs will always be disabled in a 4-channel device, but it is still possible to read fault diagnostics on a disabled channel since the pins are monitored by a secondary ADC, so I would set MASK registers for channel 5/6 faults to avoid triggering any faults from these pins.

    Best,

    Zak