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