AX8052F143
www.onsemi.com
22
Debugging
A hardware debug unit considerably eases debugging
compared to other 8052 microcontrollers. It allows to
reliably stop the microcontroller at breakpoints even if the
stack is smashed. The debug unit communicates with the
host PC running the debugger using a 3 wire interface. One
wire is dedicated (DBG_EN), while two wires are shared
with GPIO pins (PB6, PB7). When DBG_EN is driven high,
PB6 and PB7 convert to debug interface pins and the GPIO
functionality is no longer available. A pin emulation feature
however allows bits PINB[7:6] to be set and PORTB[7:6]
and DIRB[7:6] to be read by the debugger software. This
allows for example switches or LEDs connected to the PB6,
PB7 pins to be emulated in the debugger software whenever
the debugger is active.
In order to protect the intellectual property of the firmware
developer, the debug interface can be locked using a
developerselectable 64bit key. The debug interface is then
disabled and can only be enabled with the knowledge of this
64bit key. Therefore, unauthorized persons cannot read the
firmware through the debug interface, but debugging is still
possible for authorized persons. Secure erase can be initiated
without key knowledge; secure erase ensures that the main
FLASH array is completely erased before erasing the key,
reverting the chip into factory state.
The DebugLink peripheral looks like an UART to the
microcontroller, and allows exchange of data between the
microcontroller and the host PC without disrupting program
execution.
Timer, Output Compare and Input Capture
The AX8052F143 features three general purpose 16bit
timers. Each timer can be clocked by the system clock, any
of the available oscillators, or a dedicated input pin. The
timers also feature a programmable clock inversion, a
programmable prescaler that can divide by powers of two,
and an optional clock synchronization logic that
synchronizes the clock to the system clock. All three
counters are identical and feature four different counting
modes, as well as a SD mode that can be used to output an
analog value on a dedicated digital pin only employing a
simple RC lowpass filter.
Two output compare units work in conjunction with one
of the timers to generate PWM signals.
Two input capture units work in conjunction with one of
the timers to measure transitions on an input signal.
For software timekeeping, two additional 16bit wakeup
timers with 4 16bit event registers are provided, generating
an interrupt on match events.
UART
The AX8052F143 features two universal asynchronous
receiver transmitters. They use one of the timers as baud rate
generator. Word length can be programmed from 5 to 9 bits.
SPI Master/Slave Controller
The AX8052F143 features a master/slave SPI controller.
Both 3 and 4 wire SPI variants are supported. In master
mode, any of the onchip oscillators or the system clock may
be selected as clock source. An additional prescaler with
divide by two capability provides additional clocking
flexibility. Shift direction, as well as clock phase and
inversion, are programmable.
ADC, Analog Comparators and Temperature Sensor
The AX8052F143 features a 10bit, 500 kSample/s
Analog to Digital converter. Figure 9 shows the block
diagram of the ADC. The ADC supports both single ended
and differential measurements. It uses an internal reference
of 1 V. ×1, ×10 and ×0.1 gain modes are provided. The ADC
may digitize signals on PA0PA7, as well as VDD_IO and
an internal temperature sensor. The user can define four
channels which are then converted sequentially and stored
in four separate result registers. Each channel configuration
consists of the multiplexer and the gain setting.
The AX8052F143 contains an onchip temperature
sensor. Builtin calibration logic allows the temperature
sensor to be calibrated in °C, °F or any other user defined
temperature scale.
The AX8052F143 also features two analog comparators.
Each comparator can either compare two voltages on
dedicated PA pins, or one voltage against the internal 1 V
reference. The comparator output can be routed to a
dedicated digital output pin or can be read by software. The
comparators are clocked with the system clock.
AX8052F143
www.onsemi.com
23
Figure 9. ADC Block Diagram
Temperature
Sensor
ADC Core
Clock Trigger
Gain Ref
VREF
1 V
VDDIO
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PA0
PPP
NNN
FRCOSC
LPOSC
XOSC
LPXOSC
SYSCLK
System Clock
One Shot
Free Running
Timer 0
Timer 1
Timer 2
PC4
ADC Result
ACOMP1REF
ACOMP1ST/PA7/PC1ACOMP1IN
ACOMP1INV
ACOMP0IN
ACOMP0REF
ACOMP0INV
ACOMP0ST/PA4/PC3
System Clock
ADCCONV
ADCCLKSRC
x 0.1, x 1, x 10
Single Ended
0.5 V
Prescaler
÷1,2,4,8,...
DMA Controller
The AX8052F143 features a dual channel DMA engine.
Each DMA channel can either transfer data from XRAM to
almost any peripheral on chip, or from almost any peripheral
to XRAM. Both channels may also be crosslinked for
memorymemory transfers. The DMA channels use buffer
descriptors to find the buffers where data is to be retrieved
or placed, thus enabling very flexible buffering strategies.
The DMA channels access XRAM in a cycle steal fashion.
They access XRAM whenever XRAM is not used by the
microcontroller. Their priority is lower than the
microcontroller, thus interfering very little with the
microcontroller. Additional logic prevents starvation of the
DMA controller.
AES Engine
The AX8052F143 contains a dedicated engine for the
government mandated Advanced Encryption Standard
(AES). It features a dedicated DMA engine and reads input
data as well as key stream data from the XRAM, and writes
output data into a programmable buffer in the XRAM. The
round number is programmable; the chip therefore supports
AES128, AES192, and AES256, as well as higher
security proprietary variants. Keystream (key expansion) is
AX8052F143
www.onsemi.com
24
performed in software, adding to the flexibility of the AES
engine. ECB (electronic codebook), CFB (cipher feedback)
and OFB (output feedback) modes are directly supported
without software intervention.
Crystal Oscillator and TCXO Interface
(RF Reference Oscillator)
The AX8052F143 is normally operated with an external
TCXO, which is required by most narrowband regulation
with a tolerance of 0.5 ppm to 1.5 ppm depending on the
regulation. The onchip crystal oscillator allows the use of
an inexpensive quartz crystal as the RF generation
subsystem’s timing reference when possible from a
regulatory point of view.
A wide range of crystal frequencies can be handled by the
crystal oscillator circuit. As the reference frequency impacts
both the spectral performance of the transmitter as well as
the current consumption of the receiver, the choice of
reference frequency should be made according to the
regulatory regime targeted by the application. Application
Notes for usage of AX5043 in compliance with various
regulatory regimes also apply to AX8052F143.
The crystal or TCXO reference frequency should be
chosen so that the RF carrier frequency is not an integer
multiple of the crystal or TCXO frequency.
The oscillator circuit is enabled by programming the
AX5043_PWRMODE register. At powerup it is enabled.
To adjust the circuit’s characteristics to the quartz crystal
being used, without using additional external components,
the tuning capacitance of the crystal oscillator can be
programmed. The transconductance of the oscillator is
automatically regulated, to allow for fastest startup times
together with lowest power operation during steadystate
oscillation.
The integrated programmable tuning capacitor bank
makes it possible to connect the oscillator directly to pins
CLK16N and CLK16P without the need for external
capacitors. It is programmed using bits XTALCAP[5:0] in
register AX5043_XTALCAP.
To synchronize the receiver frequency to a carrier signal,
the oscillator frequency could be tuned using the capacitor
bank however, the recommended method to implement
frequency synchronization is to make use of the high
resolution RF frequency generation subsystem together
with the Automatic Frequency Control, both are described
further down.
Alternatively a single ended reference (TXCO, CXO)
may be used. The CMOS levels should be applied to
CLK16P via an AC coupling with the crystal oscillator
enabled. For detailed TCXO network recommendations
depending on TCXO output swing refer to the AX5043
Application Note: Use with a TCXO Reference Clock.
Low Power Oscillator and Wake on Radio (WOR) Mode
The AX8052F143 transceiver features an internal lowest
power fully integrated oscillator. In default mode the
frequency of oscillation is 640 Hz ± 1.5%, in fast mode it is
10.2 kHz ± 1.5%.
If Wake on Radio Mode is enabled, the receiver wakes up
periodically at a user selectable interval, and checks for a
radio signal on the selected channel. If no signal is detected,
the receiver shuts down again. If a radio signal is detected,
and a valid packet is received, the microcontroller is alerted
by asserting an interrupt.
SYSCLK Output
The SYSCLK pin outputs the RF reference clock signal
divided by a programmable integer. Divisions from 1 to
2048 are possible. For divider ratios > 1 the duty cycle is
50%. Bits SYSCLK[3:0] in the AX5043_PINCFG1 register
set the divider ratio. The SYSCLK output can be disabled.
PoweronReset (POR) and RESET_N Input
AX8052F143 has an integrated poweronreset block
which is edge sensitive to VDD_IO. For many common
application cases no external reset circuitry is required.
However, if VDD_IO ramps cannot be guaranteed, an
external reset circuit is recommended. For detailed
recommendations and requirements see the AX8052
Application Note: Power On Reset.
After POR or reset all registers are set to their default
values.
The RESET_N pin contains a weak pullup. However, it
is strongly recommended to connect the RESET_N pin to
VDD_IO if not used, for additional robustness.
The AX8052F143 can be reset by software as well. The
microcontroller is reset by writing 1 to the SWRESET bit of
the PCON register. The transceiver can be reset by first
writing 1 and then 0 to the RST bit in the
AX5043_PWRMODE register.

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