Mailbox
17.1.4.1.1.2 Mailbox Global Initialization
17.1.4.1.1.2.1 Main Sequence - Mailbox Global Initialization
This procedure initializes the mailbox module after a power-on or software reset.
Table 17-7. Mailbox Global Initialization
Register/Bitfield/Programming Model
Value
Perform a software reset
MAILBOX_SYSCONFIG[0].SOFTRESET
1
Wait until reset is complete
MAILBOX_SYSCONFIG[0].SOFTRESET
0
Set idle mode configuration
MAILBOX_SYSCONFIG[3:2].SIDLEMOD
0x-
E
17.1.4.1.2 Operational Modes Configuration
17.1.4.1.2.1 Main Sequence - Sending a Message (Polling Method)
Table 17-8. Sending a Message (Polling Method)
Step
Register/Bitfield/Programming Model
Value
IF : Is FIFO full ?
MAILBOX_FIFOSTATUS_m[0].FIFOFULL
=1h
MB
Wait until at least one message slot is
MAILBOX_FIFOSTATUS_m[0].FIFOFULL
=0h
available
MB
ELSE
Write message
MAILBOX_MESSAGE_m[31:0].MESSAG
----h
EVALUEMBM
ENDIF
17.1.4.1.2.2 Main Sequence - Sending a Message (Interrupt Method)
Table 17-9. Sending a Message (Interrupt Method)
Step
Register/Bitfield/Programming Model
Value
IF : Is FIFO full ?
MAILBOX_FIFOSTATUS_m[0].FIFOFULL
=1h
MB
Enable interrupt event
MAILBOX_IRQENABLE_SET_u[1+ m*2]
1h
User(processor) can perform anothr task
until interrupt occurs
ELSE
Write message
MAILBOX_MESSAGE_m[31:0].MESSAG
----h
EVALUEMBM
ENDIF
3243
SPRUH73H – October 2011 – Revised April 2013
Interprocessor Communication
Copyright © 2011–2013, Texas Instruments Incorporated