Rf Core Data Memory; Radio Ram - Texas Instruments CC253x User Manual

System-on-chip for 2.4ghz
Table of Contents

Advertisement

RF Core Data Memory

To clear an interrupt from the RF core, one must clear two flags, both the flag set in the RF core and the
one set in the main interrupt flag SFR registers, S1CON or TCON (depending on which interrupt is
triggered). If a flag is cleared in the RF core and there are other unmasked flags standing, the main
interrupt flag is set. Exiting the interrupt service routine with the main interrupt flag set causes the interrupt
service routine to be executed again.
TIP: For proper handling of interrupts in ISRs, the following is advised:
At the start of the ISR, read and store the RF core flags
Process the interrupts
Clear the main interrupt flag
Clear the processed RF core flags. It is important that this is done in a single operation.
25.3 RF Core Data Memory
The radio core has 1024 bytes of data RAM divided into eight pages of 128 bytes each. The pages are to
be used as shown in
The active memory page is selected in register RFRAMCFG.PRE. The selected page is accessible at
XDATA addresses 0x6000–0x607F. The RX FIFO page (page 6) is also accessible at XDATA addresses
0x6080–0x60FF. The TX FIFO page (page 7) is also accessible at XDATA addresses 0x6100–0x617F.
A page is used for transferring parameters to the LLE; see
There is no hardware protection to prevent the MCU from overwriting memory used by the LLE and the
FIFO. Thus, the MCU should never write to page 5 (except for special dedicated registers). The MCU
should write to pages 0, 1, 2, 3, and 7 only as specified in this chapter. Writes to the FIFO pages should
only be done in ways compatible with FIFO operation, except for accessing the TX FIFO page while
running an RX task with auto ACK.
Pages 0, 1, 6, and 7 have retention in all power modes, whereas the contents of pages 2–5 are lost in
PM2 and PM3.
Radio core hardware registers are located at XDATA addresses 0x6180–0x61F7.
mapping of radio memory to MCU XDATA memory space.
280
CC2541 Proprietary Mode Radio
Table
25-1.
Table 25-1. Radio RAM Pages
Page Number
0
1
2
3
4
5
6
7
Copyright © 2009–2014, Texas Instruments Incorporated
Assignment
RAM-based registers
For RX with auto ACK: ACK payload FIFO for addresses 2 and
3
For RX with auto ACK: ACK payload FIFO for addresses 4 and
5
For RX with auto ACK: ACK payload FIFO for addresses 6 and
7
Free for MCU use
Additional RAM-based registers. Reserved for LLE
RX FIFO
TX FIFO; for RX with auto ACK: ACK payload FIFO for
addresses 0 and 1
Section
25.3.3.
SWRU191F – April 2009 – Revised April 2014
www.ti.com
Figure 25-1
shows the
Submit Documentation Feedback

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents