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.

PGA900: We are having problems with the PGA900.

Part Number: PGA900

Hello friends!

Hi!

We are having problems with the PGA900. We can't connect OWI. All are doing everything according to the description, but no entrance to the interruption of OWI.

OWI initialization code:

...
//***********************OWI*****************************
   SET_B(DIG_IF_CTRL, OWI_ENABLE|OWI_DEGLITCH_FILTER_10MS);        //include OWI
   DLPWR = OWI_CLK_EN;
   WriteReg(OWI_INTERRUPT_ENABLE, OWI_INT_ENABLE);
   WriteReg(OWI_INTERRUPT, OWI_INTERRUPT_ACTIVE);
   WriteReg(COM_RX_INT_ENABLE,COMBUF_RXRDY_INT_ENABLE);
//***********************OWI*****************************
...
    WriteReg(IPR0, 0xC0C0C0C0);                   //enable interrupts (global)
    WriteReg(IPR1, 0xC0C0C0C0);
    WriteReg(ISER, 0xffffffff);
...

Code in OWI interrupt:

void OwiInterSv(void)
{
    WriteReg(OWI_INTERRUPT, OWI_INTERRUPT_ACTIVE);
    SET_B(DIG_IF_CTRL, OWI_ENABLE|OWI_TRANSCEIVER_ENABLE);                    //the OWI transceiver on

}

The food is served momentum as in the description, the waveform I enclose in the attachment. Don't understand where is the error.

Can you help?

Oscillogram on VDD

  • Hello,

    Just to clarify, you're certain that the OWI interrupt service routine is not being entered?

    If the program is not entering the interrupt then either the activation pulse is not being recognized and the interrupt is not generated at all, the interrupt is not enabled/configured properly.

    The waveform you have shown for the OWI activation pulse looks good, but have you tried setting the deglitch time to 1ms instead of 10ms?


    Regards,