# US 6,732,255 B1 · Can microcontroller that permits concurrent access to different segments of a common memory by both the processor core and the DMA engine thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 6,732,255 B1
- Document ID: US6732255B1
- Status: Granted
- Kind: B1
- Application number: 09/629,672
- Filed: 2000-08-01
- Granted: 2004-05-04
- Earliest claimed: 1999-09-15
- Assignees: Koninklijke Philips Electronics N.V.
- Inventors: Ka Leung Ling; William J. Slivkoff; Neil Edward Birns
- Web page: https://patentgrep.com/patent/US6732255B1

## CPC

- G06F 15/78: comprising a single central processing unit
- H04L 1/16: in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L 9/40: Network security protocols
- H04L 12/40032: {Details regarding a bus interface enhancer}
- H04L 12/4135: {using bit-wise arbitration}
- H04L 47/621: {Individual queue per connection or flow, e.g. per VC}
- H04L 49/90: Buffering arrangements
- H04L 49/901: using storage descriptor, e.g. read or write pointers
- H04L 49/9042: {Separate storage for different parts of the packet, e.g. header and payload}
- H04L 49/9094: {Arrangements for simultaneous transmit and receive, e.g. simultaneous reading/writing from/to the storage element}
- H04L 1/1664: {the supervisory signal being transmitted together with payload signals; piggybacking}
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L 2001/0094: {Bus}
- H04L 2012/40215: {Controller Area Network CAN}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A CAN microcontroller that supports a plurality of message objects, including a processor core that runs CAN applications, and a CAN/CAL module that processes incoming messages, and a data memory. The data memory includes a first memory segment that provides a plurality of message buffers associated with respective ones of the message objects, and a second memory segment that provides a plurality of memory-mapped registers for each of the message objects. The memory-mapped registers for each message object contain respective command/control fields for configuration and setup of that message object. The CAN microcontroller further includes a memory interface unit that permits the processor core and the CAN/CAL module to concurrently access a different respective one of the first and second memory segments, and that arbitrates access to the same one of the first and second memory segments when the processor core and the CAN/CAL module request concurrent access to the same one of the first and second memory segments. In a second embodiment, the data memory includes a first memory space that is located on an integrated circuit chip on which the CAN microcontroller and the CAN/CAL module are incorporated, and a second memory space that is located off the integrated circuit chip. The first memory space includes a first memory segment that provides at least a portion of a message buffer memory space, and a second memory segment that provides a plurality of memory-mapped registers for each of the message objects. With this second embodiment, the CAN microcontroller further includes a memory interface unit that permits the processor core and the CAN/CAL module to concurrently access a different respective one of the first and second memory spaces, that permits the processor core and the CAN/CAL module to concurrently access a different respective one of the first and second memory segments, and that arbitrates access to the second memory space and that arbitrates access to the same one of the first and second memory segments when the processor core and the CAN/CAL module request concurrent access to the second memory space or to the same one of the first and second memory segments.

## Claims

### Claim 1

A CAN microcontroller that supports a plurality of message objects, comprising:
a processor core that runs CAN applications;
a CAN/CAL module that processes incoming messages;
data memory including a first memory segment that provides a plurality of message buffers associated with respective ones of the message objects, and a second memory segment that provides a plurality of memory-mapped registers for each of the message objects, the memory-mapped registers for each message object containing respective command/control fields for configuration and setup of that message object; and,
a memory interface unit that permits the processor core and the CAN/CAL module to concurrently access a different respective one of the first and second memory segments, and that arbitrates access to the same one of the first and second memory segments when the processor core and the CAN/CAL module request concurrent access to the same one of the first and second memory segments.

### Claim 2 (depends on 1)

The CAN microcontroller as set forth in claim 1, wherein the incoming messages include multi-frame, fragmented messages, and the CAN/CAL module automatically assembles the multi-frame, fragmented messages.

### Claim 3 (depends on 1)

The CAN microcontroller as set forth in claim 1, wherein the CAN/CAL module includes the memory-mapped registers.

### Claim 4 (depends on 1)

The CAN microcontroller as set forth in claim 1, wherein the processor core, the CAN/CAL module, and the memory interface unit are contained on a single integrated circuit chip.

### Claim 5 (depends on 4)

The CAN microcontroller as set forth in claim 4, wherein the first and second memory segments are contained on the integrated circuit chip.

### Claim 6 (depends on 4)

The CAN microcontroller as set forth in claim 4, wherein the memory interface unit includes two independent arbiters.

### Claim 7 (depends on 1)

The CAN microcontroller as set forth in claim 1, wherein the memory interface unit arbitrates access according to an alternate winner policy, wherein a previous loser is designated a current winner.

### Claim 8

A CAN microcontroller that supports a plurality of message objects, comprising:
a processor core that runs CAN applications;
a CAN/CAL module that processes incoming messages, wherein the processor core and the CAN/CAL module are contained on a single integrated circuit chip;
data memory including a first memory space that is located on the integrated circuit chip and a second memory space that is located off the integrated circuit chip, the first memory space including a first memory segment that provides at least a portion of a message buffer memory space that includes a plurality of message buffers associated with respective ones of the message objects, and a second memory segment that provides a plurality of memory-mapped registers for each of the message objects, the memory-mapped registers for each message object containing respective command/control fields for configuration and setup of that message object; and,
a memory interface unit that permits the processor core and the CAN/CAL module to concurrently access a different respective one of the first and second memory spaces, that permits the processor core and the CAN/CAL module to concurrently access a different respective one of the first and second memory segments, and that arbitrates access to the second memory space and that arbitrates access to the same one of the first and second memory segments when the processor core and the CAN/CAL module request concurrent access to the second memory space or to the same one of the first and second memory segments.

### Claim 9 (depends on 8)

The CAN microcontroller as set forth in claim 8, wherein the incoming messages include multi-frame, fragmented messages, and the CAN/CAL module automatically assembles the multi-frame, fragmented messages.

### Claim 10 (depends on 8)

The CAN microcontroller as set forth in claim 8, wherein the CAN/CAL module includes the memory-mapped registers.

### Claim 11 (depends on 8)

The CAN microcontroller as set forth in claim 8, wherein the memory interface unit is contained on the single integrated circuit chip.

### Claim 12 (depends on 8)

The CAN microcontroller as set forth in claim 8, wherein the second memory space provides at least a portion of the message buffer memory space.

### Claim 13 (depends on 8)

The CAN microcontroller as set forth in claim 8, wherein the memory interface unit includes two independent arbiters dedicated to a respective one of the first and second memory spaces.

### Claim 14 (depends on 8)

The CAN microcontroller as set forth in claim 8, wherein the memory interface unit arbitrates access according to an alternate winner policy, wherein a previous loser is designated a current winner.

### Claim 15

A method for operating a CAN microcontroller that supports a plurality of message objects, the CAN microcontroller including a processor core that runs CAN applications, a CAN/CAL module that processes incoming messages, and a data memory including a first memory space that is located on the integrated circuit chip and a second memory space that is located off the integrated circuit chip, the first memory space including a first memory segment that provides at least a portion of a message buffer memory space that includes a plurality of message buffers associated with respective ones of the message objects, and a second memory segment that provides a plurality of memory-mapped registers for each of the message objects, the memory-mapped registers for each message object containing respective command/control fields for configuration and setup of that message object, the method comprising:
permitting the processor core and the CAN/CAL module to concurrently access a different respective one of the first and second memory segments; and,
arbitrating access to the same one of the first and second memory segments when the processor core and the CAN/CAL module request concurrent access to the same one of the first and second memory segments.

### Claim 16 (depends on 15)

The method as set forth in claim 15, wherein the arbitrating access step is performed in accordance with an alternate winner policy, wherein a previous loser is designated a current winner.

### Claim 17 (depends on 16)

The method as set forth in claim 16, wherein the arbitrating step is performed by a memory interface unit contained in the CAN microcontroller.

### Claim 18

A method for operating a CAN microcontroller that supports a plurality of message objects, the CAN microcontroller including a processor core that runs CAN applications, a CAN/CAL module that processes incoming messages, and a data memory including a first memory space that is located on an integrated circuit chip on which the CAN microcontroller and the CAN/CAL module are incorporated, and a second memory space that is located off the integrated circuit chip, the first memory space including a first memory segment that provides at least a portion of a message buffer memory space that includes a plurality of message buffers associated with respective ones of the message objects, and a second memory segment that provides a plurality of memory-mapped registers for each of the message objects, the memory-mapped registers for each message object containing respective command/control fields for configuration and setup of that message object, the method comprising:
permitting the processor core and the CAN/CAL module to concurrently access a different respective one of the first and second memory spaces;
permitting the processor core and the CAN/CAL module to concurrently access a different respective one of the first and second memory segments;
arbitrating access to the second memory space when the processor core and the CAN/CAL module request concurrent access to the second memory space; and,
arbitrating access to the same one of the first and second memory segments when the processor core and the CAN/CAL module request concurrent access to the first and second memory segments.

### Claim 19 (depends on 18)

The method as set forth in claim 18, wherein the arbitrating access step is performed in accordance with an alternate winner policy, wherein a previous loser is designated a current winner.

### Claim 20 (depends on 19)

The method as set forth in claim 19, wherein the arbitrating step is performed by a memory interface unit contained in the CAN microcontroller.
