Mailbox
17.1.4.1.2.3 Main Sequence - Receiving a Message (Polling Method)
Table 17-10. Receiving a Message (Polling Method)
Step
Register/Bitfield/Programming Model
Value
IF : Number of messages is not equal to 0
MAILBOX_MSGSTATUS_m[2:0].NBOFM
!=0h
SGMB
Read message
MAILBOX_MESSAGE_m[31:0].MESSAG
----h
EVALUEMBM
ENDIF
17.1.4.1.2.4 Main Sequence - Receiving a Message (Interrupt Method)
Table 17-11. Receiving a Message (Interrupt Method)
Step
Register/Bitfield/Programming Model
Value
Enable interrupt event
MAILBOX_IRQENABLE_SET_u[0 + m*2]
1h
User(processor) can perform anothr task until interrupt occurs
17.1.4.1.3 Events Servicing
17.1.4.1.3.1 Sending Mode
describes the events servicing in sending mode.
Table 17-12. Events Servicing in Sending Mode
Step
Register/Bitfield/Programming Model
Value
Read interrupt status bit
MAILBOX_IRQSTATUS_CLR_u[1 + m*2]
1
Write message
MAILBOX_MESSAGE_m[31:0].MESSAG
----h
EVALUEMBM
Write 1 to acknowledge interrupt
MAILBOX_IRQSTATUS_CLR_u[1 + m*2]
1
17.1.4.1.3.2 Receiving Mode
describes the events servicing in receiving mode.
Table 17-13. Events Servicing in Receiving Mode
Step
Register/Bitfield/Programming Model
Value
Read interrupt status bit
MAILBOX_IRQSTATUS_CLR_u[0 + m*2]
1
IF : Number of messages is not equal to 0
MAILBOX_MSGSTATUS_m[2:0].NBOFM
!=0h
?
SGMB
Read message
MAILBOX_MESSAGE_m[31:0].MESSAG
----h
EVALUEMBM
ELSE
Write 1 to acknowledge interrupt
MAILBOX_IRQSTATUS_CLR_u[0 + m*2]
1
ENDIF
3244Interprocessor Communication
SPRUH73H – October 2011 – Revised April 2013
Copyright © 2011–2013, Texas Instruments Incorporated