Hello Daniel,
My code is as follows:
LPSLRM_LPDTDIS =0; // TxD-dominant timeout feature is enabled
LPSLRM_LPSLR =0; // Normal Slew Rate (optimized for 20 kbit/s)
LPCR_LPPUE =0; // The pullup resistor is high ohmic (330kOhm)
LPCR_RXONLY =0;// The LIN Physical Layer is not in receive only mode
LPCR_LPWUE =1;// In standby mode the wake-up feature is enabled
LPCR_LPE =1;// The LIN Physical Layer is not in shutdown mode
SCI0ACR1_RXEDGIE =1;
//PPSL_PPSL2 = 0; //falling edge interrupt
PPSL_PPSL2 = 1; //rising edge interrupt
go_sleep_cnt = 0;
PIEL_PIEL2 = 1; //enable interrupt
_asm andcc #0x7f;
_asm stop;
SCI0ACR1_RXEDGIE =0;
PIEL_PIEL2 = 0; //close PL2 interrupt
I can awaken the mcu sometimes ,but it also will disable somtimes ,I donnot know why.