Preliminary
www.ti.com
Mailbox
1.13.4.1.1.2 Mailbox Global Initialization
1.13.4.1.1.2.1 Main Sequence - Mailbox Global Initialization
This procedure initializes the mailbox module after a power-on or software reset.
Table 1-94. 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
1.13.4.1.2 Operational Modes Configuration
1.13.4.1.2.1 Main Sequence - Sending a Message (Polling Method)
Table 1-95. 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
1.13.4.1.2.2 Main Sequence - Sending a Message (Interrupt Method)
Table 1-96. 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
215
SPRUGX9 – 15 April 2011
Chip Level Resources
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...