×

Semaphore coding method to ensure data integrity in a can microcontroller and a can microcontroller that implements this method

  • US 6,631,431 B1
  • Filed: 12/30/1999
  • Issued: 10/07/2003
  • Est. Priority Date: 09/15/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. In a CAN (controller area network) device that includes a microcontroller having a processor core and hardware external to the processor core that includes a CAL/CAN hardware module that emulates CAN Application Layer (CAL) software functions by writing message data into a designated message buffer, a method for ensuring integrity of the message data stored in the designated message buffer of the CAL/CAN hardware module, the method including the steps of:

  • the processor core reads from the designated message buffer a coded semaphore written by a DMA engine of the CAL/CAN module without previous processor core intervention, to indicate a current access status of the designated message buffer, and the processor core determines whether the designated message buffer is ready to be accessed by the processor core and is not in use by the CAL/CAN module based on a current code value of the coded semaphore.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×