Not applicable
Nov 24, 2014
02:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 24, 2014
02:05 AM
3 Replies
Not applicable
Nov 25, 2014
09:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 25, 2014
09:34 PM
P2.0 is used as CAN 0 Rx pin. In the Low power mode the CAN transciever is put off and need to wake up on CAN message. So I tried with CCU63 configuration on P2.0 for capturing the rising/falling edges. In low power mode the system clock is set 500K Hz approximately. How to wake up from low power mode on Pin 2.0 input ?
Hoping for reply.
Thanks
Hoping for reply.
Thanks
Not applicable
Nov 27, 2014
01:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 27, 2014
01:48 AM
Hi,
How did you configure? Did you use DAVE2 for the configuration?
How did you configure? Did you use DAVE2 for the configuration?
Not applicable
Nov 27, 2014
02:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 27, 2014
02:17 AM
No I didnt use DAVE2 tool.
Here is the code I did for configuring. Also Please help me how can to wakeup from LPM on Pin P2.0.
{
volatile uint16 Work;
// enable module
CCU63_KSCFG.U = 3;
// read back SFR to avoid pipeline effects
Work = CCU63_KSCFG.U;
CCU63_TCTR0.U = 0x00;//timer
CCU63_CC60SR.U=0;//Clear the shadow register
CCU63_T12MSEL.B.MSEL60=4;//Rising
CCU63_T12PR.U = 115;//Load the Period
CCU63_PISELL.U=0x01;//P2.0
CCU63_ISR.U=0x03;//clear Interrupt
CCU63_TCTR4.B.T12RES=1;//Reset the timer
CCU63_TCTR4.B.T12STD=1;//Clear the Shadow request
CCU63_TCTR4.B.T12STR=1;//Enable Shadow transfer reqest
CCU63_TCTR4.B.T12RS=1;//Run the timer T12
CCU63_IEN.U=3;//rising
CCU63_0IC.U = 0x78;//En and Prio
CCU63_ISR.U=0x03;//clear Interrupt*/
}
Here is the code I did for configuring. Also Please help me how can to wakeup from LPM on Pin P2.0.
{
volatile uint16 Work;
// enable module
CCU63_KSCFG.U = 3;
// read back SFR to avoid pipeline effects
Work = CCU63_KSCFG.U;
CCU63_TCTR0.U = 0x00;//timer
CCU63_CC60SR.U=0;//Clear the shadow register
CCU63_T12MSEL.B.MSEL60=4;//Rising
CCU63_T12PR.U = 115;//Load the Period
CCU63_PISELL.U=0x01;//P2.0
CCU63_ISR.U=0x03;//clear Interrupt
CCU63_TCTR4.B.T12RES=1;//Reset the timer
CCU63_TCTR4.B.T12STD=1;//Clear the Shadow request
CCU63_TCTR4.B.T12STR=1;//Enable Shadow transfer reqest
CCU63_TCTR4.B.T12RS=1;//Run the timer T12
CCU63_IEN.U=3;//rising
CCU63_0IC.U = 0x78;//En and Prio
CCU63_ISR.U=0x03;//clear Interrupt*/
}