AX8052F143
www.onsemi.com
19
Figure 6. AX8052 Memory Architecture
Arbiter
XRAM
00000FFF
Arbiter
XRAM
10001FFF
Arbiter
X Registers
40007FFF
Arbiter
SFR Registers
80FF
Arbiter
IRAM
00FF
Arbiter
FLASH
0000FFFF
AES DMA
X Bus
AX8052
SFR Bus IRAM Bus Code Bus
Cache
Prefetch
The AX8052 Memory Architecture is fully parallel. All
bus masters may simultaneously access different bus targets
during each system clock cycle. Each bus target includes an
arbiter that resolves access conflicts. Each arbiter ensures
that no bus master can be starved.
Both 4 kBytes RAM blocks may be individually retained
or switched off during sleep mode. The 256 Byte RAM is
always retained during sleep mode.
The AES engine accesses memory 16 bits at a time. It is
therefore slightly faster to align its buffers on even
addresses.
Memory Map
The AX8052, like the other industry standard 8052
compatible microcontrollers, uses a Harvard architecture.
Multiple address spaces are used to access code and data.
Figure 7 shows the AX8052 memory map.
Figure 7. AX8052 Memory Architecture
XRAM
FLASH
0000007F
008000FF
01001FFF
2000207F
20803F7F
3F803FFF
40004FFF
50005FFF
60007FFF
8000FBFF
FC00FFFF
Address
Calibration Data
IRAM
IRAM
P (Code) Space
X Space
I (internal) Space
direct access indirect access
SFR
IRAM
SFR
RREG
RREG (nb)
XREG
FLASH
Calibration Data
AX8052F143
www.onsemi.com
20
The AX8052 uses P or Code Space to access its program.
Code space may also be read using the MOVC instruction.
Smaller amounts of data can be placed in the Internal (see
Note) or Data Space. A distinction is made in the upper half
of the Data Space between direct accesses (MOV reg,addr;
MOV addr,reg) and indirect accesses (MOV reg,@Ri;
MOV @Ri,reg; PUSH; POP); Direct accesses are routed to
the Special Function Registers, while indirect accesses are
routed to the internal RAM.
NOTE: The origin of Internal versus External (X) Space
is historical. External Space used to be outside
of the chip on the original 8052
Microcontrollers.
Large amounts of data can be placed in the External or X
Space. It can be accessed using the
MOVX instructions.
Special Function Registers, as well as additional
Microcontroller Registers (XREG) and the Radio Registers
(RREG) are also mapped into the X Space.
Detailed documentation of the Special Function Registers
(SFR) and additional Microcontroller Registers can be
found in the AX8052 Programming Manual.
The Radio Registers are documented in the AX5043
Programming Manual. Register Addresses given in the
AX5043 Programming Manual are relative to the beginning
of RREG, i.e. 0x4000 must be added to these addresses. It
is recommended that the AXSEM provided ax8052f143.h
header file is used; Radio Registers are prefixed with
AX5043_ in the ax8052f143.h header file to avoid clashes of
samename Radio Registers with AX8052 registers.
Normally, accessing Radio Registers through the RREG
address range is adequate. Since Radio Register accesses
have a higher latency than other AX8052 registers, the
AX8052 provides a method for nonblocking access to the
Radio Registers. Accessing the RREG (nb) address range
initiates a Radio Register access, but does not wait for its
completion. The details of mechanism is documented in the
Radio Interface section of the AX8052 Programming
Manual.
The FLASH memory is organized as 64 pages of 1 kBytes
each. Each page can be individually erased. The write word
size is 16 Bits. The last 1 kByte page is dedicated to factory
calibration data and should not be overwritten.
Power Management
The microcontroller power mode can be selected
independently from the transceiver. The microcontroller
supports the following power modes:
Table 21. POWER MANAGEMENT
PCON
register
Name Description
00 RUNNING The microcontroller and all peripherals are running. Current consumption depends on the system clock
frequency and the enabled peripherals and their clock frequency.
01 STANDBY The microcontroller is stopped. All register and memory contents are retained. All peripherals continue to
function normally. Current consumption is determined by the enabled peripherals. STANDBY is exited
when any of the enabled interrupts become active.
10 SLEEP The microcontroller and its peripherals, except GPIO and the system controller, are shut down. Their
register settings are lost. The internal RAM is retained. The external RAM is split into two 4 kByte blocks.
Software can determine individually for both blocks whether contents of that block are to be retained or
lost. SLEEP can be exited by any of the enabled GPIO or system controller interrupts. For most
applications this will be a GPIO or wakeup timer interrupt.
11 DEEPSLEEP The microcontroller, all peripherals and the transceiver are shut down. Only 4 bytes of scratch RAM are
retained. DEEPSLEEP can only be exited by tying the PB3 pin low.
AX8052F143
www.onsemi.com
21
Clocking
Figure 8. Clock System Diagram
LPOSC
Calib
FRCOSC
Calib
Wakeup
Timer
WDT
Clock
Monitor
Prescaler
÷1,2,4,...
FRCOSC
XOSC
LPXOSC
LPOSC
Interrupt
Internal Reset
SYSCLK
Glitch Free Clock Switch
System Clock
The system clock can be derived from any of the following
clock sources:
The crystal oscillator (RF reference oscillator, typically
16 MHz, via SYSCLK)
The low speed crystal oscillator (typical 32 kHz tuning
fork)
The internal high speed RC (20 MHz) oscillator
The internal low power (640 Hz/10 kHz) oscillator
An additional prescaler allows the selected oscillator to
be divided by a power of two. After reset, the
microcontroller starts with the internal high speed RC
oscillator selected and divided by two. I.e. at startup, the
microcontroller runs with 10 MHz ± 10%. Clocks may be
switched any time by writing to the CLKCON register. In
order to prevent clock glitches, the switching takes
approximately 2·(T
1
+T
2
), where T
1
and T
2
are the periods
of the old and the new clock. Switching may take longer if
the new oscillator first has to start up. Internal oscillators
start up instantaneously, but crystal oscillators may take a
considerable amount of time to start the oscillation.
CLKSTAT can be read to determine the clock switching
status.
A programmable clock monitor resets the CLKCON
register when no system clock transitions are found during
a programmable time interval, thus reverts to the internal RC
oscillator.
Both internal oscillators can be slaved to one of the crystal
oscillators to increase the accuracy of the oscillation
frequency. While the reference oscillator runs, the internal
oscillator is slaved to the reference frequency by a digital
frequency locked loop. When the reference oscillator is
switched off, the internal oscillator continues to run
unslaved with the last frequency setting.
Reset and Interrupts
After reset, the microcontroller starts executing at address
0x0000. Several events can lead to resetting the
microcontroller core:
POR or hardware RESET_N pin activated and released
Leaving SLEEP or DEEPSLEEP mode
Watchdog Reset
Software Reset
The reset cause can be determined by reading the PCON
register.
The microcontroller supports 22 interrupt sources. Each
interrupt can be individually enabled and can be
programmed to have one of two possible priorities. The
interrupt vectors are located at 0x0003, 0x000B,,
0x00AB.

AX8052F143-3-TB05

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
IC RF TXRX+MCU ISM<1GHZ 40VFQFN
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union