Post Go back to editing

ADE7763 Interrupts ZXTO and SAG - different behavior between two devices

Hello,

I have two ADE7763 connected via SPI to MCU (ATTINY416). ZXTO Interrupt work and SAG Interrupt don't work at the first device. ZXTO Interrupt don't work and SAG Interrupt work at the second device. Why?

Devices Registers Setup:
SAGCYC = 0x0A
SAGLVL = 0x12
MODE = 0x0004
IRQEN = 0x1010 for ZXTO or 0x0012 for SAG detection

Notes:
-SS/ and IRQ/ are wired individually to MCU
-ZX Interrupt work with both devices.

Best Regards

Parents
  • Clocking of ADE7763

    Analog Devices had quality and fast technical support. This forum is just a bad substitute.

  • Can you capture with a scope  the signal at the clkin pin of the second part? 

    It is possible the crystal is loaded to heavily  27pf + crystal in pin capacitance + parasitic. 

     

    With the power off measure capacitance from clkin on second part to gnd. You may need to resize the load cap on the clkout pin on part 1. 

    As a test try a smaller cap like 20pf does it work then? you need to have the load capacitance correct or the part may not start up. make sure the reset pin is tied high with a resistor.

    If you use a buffer at the clockin output you will have no issues as the clock out pin is designed to drive 1 cmos input.

    I am not sure what the IRQ pin is in reset this is an older part. I do suggest you tie reset to 5v with a 10k resister 

    What micro are you using with this part? This is a 5v part and a 3v3 micro may have issues this part without some kind of level shifting.

    Dave

Reply
  • Can you capture with a scope  the signal at the clkin pin of the second part? 

    It is possible the crystal is loaded to heavily  27pf + crystal in pin capacitance + parasitic. 

     

    With the power off measure capacitance from clkin on second part to gnd. You may need to resize the load cap on the clkout pin on part 1. 

    As a test try a smaller cap like 20pf does it work then? you need to have the load capacitance correct or the part may not start up. make sure the reset pin is tied high with a resistor.

    If you use a buffer at the clockin output you will have no issues as the clock out pin is designed to drive 1 cmos input.

    I am not sure what the IRQ pin is in reset this is an older part. I do suggest you tie reset to 5v with a 10k resister 

    What micro are you using with this part? This is a 5v part and a 3v3 micro may have issues this part without some kind of level shifting.

    Dave

Children