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
  • But next time when the messages are not there on the bus it is not going to power down mode.

    And how would that have any relevance to Keil, ARM, or even your microcontroller of choice?

    Don't you think this might be a feature of your board? E.g. what you do with the wake-up signal of your CAN transceiver to power-up other parts (the supervisor chip, e.g.), or what mode you leave your CAN transceiver in?

    And how exactly do you even detect that no more CAN messages are coming?

Reply
  • But next time when the messages are not there on the bus it is not going to power down mode.

    And how would that have any relevance to Keil, ARM, or even your microcontroller of choice?

    Don't you think this might be a feature of your board? E.g. what you do with the wake-up signal of your CAN transceiver to power-up other parts (the supervisor chip, e.g.), or what mode you leave your CAN transceiver in?

    And how exactly do you even detect that no more CAN messages are coming?

Children
  • 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();