Iam now using S12ZVC .My problem is when Busoff occured . CANerror interrupt could happen .but somtimes when I deal the the CANerror interrupt .It will enter CANerror interrupt again .The following codes is all right in Demo board and in 10 percents of my boards .But 90 percents of my boards will enter CANerror interrupt again and again when busoff happened(use the following codes). I could not sove the problem
Is there any points to taken when deal MSCAN with the CAN PTY ,I just use CP0CR_CPE = 1;CP0CR_SPE = 1;
Other Registers about CAN PTY need care.
Original Attachment has been moved to: S12ZVC_Bus_off.zip