Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Fiche De Données

Codes de produits
ATSAM4E-XPRO
Page de 1506
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
674
Figure 33-15. Transmitting Messages
33.8.3.3   Remote Frame Handling
Producer/consumer model is an efficient means of handling broadcasted messages. The push model allows a
producer to broadcast messages; the pull model allows a customer to ask for messages.
Figure 33-16. Producer / Consumer Model
In Pull Mode, a consumer transmits a remote frame to the producer. When the producer receives a remote frame,
it sends the answer accepted by one or many consumers. Using transmit and receive mailboxes, a consumer must
dedicate two mailboxes, one in Transmit Mode to send remote frames, and at least one in Receive Mode to
capture the producer’s answer. The same structure is applicable to a producer: one reception mailbox is required
to get the remote frame and one transmit mailbox to answer.
Mailboxes can be configured in Producer or Consumer Mode. A lonely mailbox can handle the remote frame and
the answer. With 8 mailboxes, the CAN controller can handle 8 independent producers/consumers.
MTCR
(CAN_MCRx)
MRDY
(CAN_MSRx)
CAN BUS
MBx message
Reading CAN_MSRx
Writing CAN_MDHx &
 CAN_MDLx
MBx message
MACR
(CAN_MCRx)
Abort MBx message 
Try to Abort MBx message
MABT
(CAN_MSRx)
CAN Data Frame
CAN Remote Frame
CAN Data Frame
Indication(s)
Request
Request(s)
Indications
Response
Confirmation(s)
PUSH MODEL
PULL MODEL
Producer
Producer
Consumer
Consumer