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.

CCS/PGA900: We are having problems with the PGA900.

Part Number: PGA900


Tool/software: Code Composer Studio

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?

  • Hi Oleg,

    It looks like there was some issue with the thread tracking here, and some of the replies have disappeared. I believe from one of your replies you said that changing the deglitch time or the voltage levels had no effect on the interrupt's activation.

    Do you have any trouble with any of the other interrupts? When you read the ICER register (0xE000E180) what do you see? If you read 0's then the ISER register may not be getting written properly.

    Also in your initialization I recommend clearing all of the pending interrupts as one of the first actions (ICPR = 0xFFFFFFFF).

    Finally, in our example code we recommend setting the NVIC_IPR0 to 0x0x80400000. Please try this and see if it allows the OWI interrupt to activate.


    Regards,