This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

can wake up in lpc2468

Hi, I am trying to get my board into power down mode when CAN messages are not there and then wake on CAN activity, but am having problems.

I can mange to get into power down mode when bus activity is not there and can make it wake up using CAN activity.But next time when the messages are not there on the bus it is not going to power down mode.

Has anyone used power down with CAN in lpc2468?

Parents
  • hi, thanks you for your response.
    I am keeping the transceiver in active mode only.I want to make the micro controller into power down mode.
    I set the timer for 15 sec.When the bus activity is not there for 15sec i can able to put into power down mode.But when i send a message within 15 seconds and make the bus idle, it is not going to power down mode.

    is this correct way to configure CAN to go to power down mode

     while ( CAN1ICR & (1 << 0) );
     PCONP &= ~((DWORD)1 << 13);  /* Disable clock to the peripheral */
     PCON = 0x02;      //powerdown mode bit
     ConfigurePLL();
    

Reply
  • hi, thanks you for your response.
    I am keeping the transceiver in active mode only.I want to make the micro controller into power down mode.
    I set the timer for 15 sec.When the bus activity is not there for 15sec i can able to put into power down mode.But when i send a message within 15 seconds and make the bus idle, it is not going to power down mode.

    is this correct way to configure CAN to go to power down mode

     while ( CAN1ICR & (1 << 0) );
     PCONP &= ~((DWORD)1 << 13);  /* Disable clock to the peripheral */
     PCON = 0x02;      //powerdown mode bit
     ConfigurePLL();
    

Children
No data