Download Can microcontroller that utilizes a dedicated RAM memory space to

Transcript
US 6,493,287 B1
15
16
What is claimed is:
1. A CAN microcontroller that supports a plurality of
10. The CAN microcontroller as set forth in claim 1,
Wherein:
the CAN microcontroller supports a number n of message
objects each having a number m of associated memory
message objects, comprising:
a processor core that runs CAN applications;
5
n different addressable storage locations are designated in
each separate RAM module, one for each of the n
respective message objects; and,
the dedicated RAM memory space comprises m separate
RAM modules, each of the separate RAM modules
ciated With each of the message objects, the plurality of
memory-mapped registers associated With each mes
corresponding to a respective one of the m command/
sage object corresponding to respective command/
control ?elds for facilitating con?guration and setup of
that message object; and,
Wherein each of the memory-mapped registers is mapped
to a respective storage location Within the dedicated
RAM memory space.
2. The CAN microcontroller as set forth in claim 1,
mapped registers corresponding to m respective
command/control ?elds;
a CAN/CAL module that processes incoming messages;
a data memory space including a plurality of message
buffers associated With respective ones of the message
objects, and a dedicated RAM memory space that
contains a plurality of memory-mapped registers asso
20
control ?elds.
11. The CAN microcontroller as set forth in claim 1,
Wherein the command/control ?elds associated With each
message object include at least one message acceptance
?ltering screener ?eld.
12. The CAN microcontroller as set forth in claim 1,
Wherein the command/control ?elds associated With each
message object include at least one message acceptance
?ltering match ID ?eld, and at least one message acceptance
Wherein the incoming messages include multi-frame, frag
?ltering mask ID ?eld.
mented messages, and the CAN/CAL module automatically
assembles the multi-frame, fragmented messages.
13. The CAN microcontroller as set forth in claim 1,
Wherein the command/control ?elds associated With each
message object include at least one buffer location ?eld that
speci?es a base address in the data memory space for the
message buffer associated With that message object, and at
3. The CAN microcontroller as set forth in claim 1,
Wherein the CAN/CAL module includes the dedicated RAM
memory space.
4. The CAN microcontroller as set forth in claim 1,
Wherein the processor core, the CAN/CAL module, and the
25
least one buffer siZe ?eld that speci?es a siZe of the message
buffer associated With that message object.
14. The CAN microcontroller as set forth in claim 13,
Wherein the command/control ?elds associated With each
message object further include at least one buffer location
?eld that speci?es a base address in the data memory space
for the message buffer associated With that message object,
dedicated RAM memory space are contained on a single
integrated circuit chip.
5. The CAN microcontroller as set forth in claim 1,
Wherein the processor core, the CAN/CAL module, and the
data memory space are contained on a single integrated
and at least one buffer siZe ?eld that speci?es a siZe of the
circuit chip.
message buffer associated With that message object.
6. The CAN microcontroller as set forth in claim 1,
Wherein the dedicated RAM memory space comprises a
35
plurality of separate RAM modules, each RAM module
being dedicated to a respective one of the command/control
?elds.
7. The CAN microcontroller as set forth in claim 6,
Wherein all of the memory-mapped registers corresponding
15. The CAN microcontroller as set forth in claim 1,
Wherein the command/control ?elds associated With each
message object include at least one control ?eld that speci
?es Whether that message object is enabled or disabled.
16. The CAN microcontroller as set forth in claim 1,
Wherein the command/control ?elds associated With each
message object include at least one control ?eld that speci
to a respective one of the command/control ?elds are located
?es Whether that message object is a transmit or receive
in a respective one of the separate RAM modules dedicated
to that command/control ?eld.
8. The CAN microcontroller as set forth in claim 7,
message object.
Wherein the memory-mapped registers corresponding to a
45
17. The CAN microcontroller as set forth in claim 1,
Wherein the command/control ?elds associated With each
message object include at least one control ?eld that speci
respective one of the command/control ?elds are located in
?es Whether automatic hardWare assembly of fragmented
respective, designated addressable memory storage loca
receive messages is enabled or disabled for that message
tions Within the separate RAM module dedicated to that
command/control ?eld, With a different addressable memory
object.
storage location being designated for each respective one of
the message objects.
9. The CAN microcontroller as set forth in claim 8,
Wherein:
the CAN microcontroller supports a number n of message
18. The CAN microcontroller as set forth in claim 14,
Wherein the command/control ?elds associated With each
message object further include at least one control ?eld that
speci?es Whether that message object is enabled or disabled,
that speci?es Whether that message object is a transmit or
receive message object, and/or that speci?es Whether auto
objects each having a number m of associated memory
matic hardWare assembly of fragmented receive messages is
mapped registers corresponding to m respective
command/control ?elds;
enabled or disabled for that message object.
19. The CAN microcontroller as set forth in claim 1,
n different addressable storage locations are designated in
each separate RAM module, one for each of the n
respective message objects; and,
the dedicated RAM memory space comprises m separate
RAM modules, each of the separate RAM modules
Wherein the memory-mapped registers appear as special
function registers to the CAN applications that run on the
processor core.
20. The CAN microcontroller as set forth in claim 19,
Wherein the memory-mapped registers are accessed as RAM
by hardWare Within the CAN microcontroller.
corresponding to a respective one of the m command/
control ?elds.
*
*
*
*
*