3.1 Architecture CPU Core Information 3.1 Architecture The AXC51-CORE of AX2228D is fully compatible with the MCS-51 instruction set. The AXC51-CORE employs a pipelined architecture that greatly increases its instruction throughput over the standard 8051 architecture. In a standard 8051, all instructions except for MUL and DIV take 12 or 24 system clock cycles to execute, and usually have a maximum system clock of 12MHz.
A @Ri, A Rn, A 3.3 Memory Mapping 3.3.1 Program Memory Mapping As illustrated in Figure 3-1, AX2228D program include 16KB IRAM at the address form 0x0000 to 0x3FFF. 0xFFFF Reserved 0x8000 0x7FFF 32K OTP 0x0000 CODE Space...
Setting EA to logic 0 disables all interrupts regardless of the individual interrupt-enable settings. The interrupt enables and priorities are functionally identical to those of the 80C52. The AX2228D provides 1 set of vectors entry addresses, starting from 0x0003. The vector base address is set by DPCON [7:6].
DPTR. The AX2228D offers a programmable option that allows any instructions related to data pointer to toggle the DPSEL bit automatically. This option is enabled by setting the toggle-select-enable bit (DPTSL) to logic 1.
In a standard 8051, there is only an 8-bit stack pointer (SP). It can only use the internal 256 byte data memory as stack memory. To increase the stack space for more complex application, AX2228D supports a 16-bit extend stack pointer, it can use both internal data RAM and the 20K byte on-chip SRAM as stack memory.
Sometimes, when the VDD is power-off and quickly power-on again, there might be cases that the POR will work improperly and internal reset might not be generated. For this reason, AX2228D POR circuit incorporates an internal self-reset module to discharge PORB output during power-off to ensure each power cycle will work properly.
Low-Drop-Out regulator (LDO) and that supplies power to internal VDDCORE. User for such reason can momentarily monitor the VDDLDO power if externally connects to some batteries and detect if external power source starts dropping to a level that AX2228D LDO cannot tolerate and can do proper actions in the system program.
11 = 3.1V/2.5V 4.2.2 RTCC Reset AX2228D can be reset by RTCC second and alarm interrupt when IRTRSTEN bit in RTCON is set to 1. 4.2.3 Watchdog Reset If Watchdog timer is enabled, and WDTCON [5] is not written by 1 within watchdog overflow time period, AX2228D will be reset by Watchdog overflow.
4.3.2 Phase Lock Loop (PLL) AX2228D provides one on-chip Phase Locked Loop (PLL 48M) clock generators. The PLL has reference clock from external 32 KHz/4M/12 M crystal oscillators to provide a stable reference clock and the reference clock is multiplied to provide the final PLL output.
(ISR), else AX2228D will execute the instruction following HOLD. When wakeup from HOLD Mode by watchdog, if watchdog reset enable, AX2228D will be reset, else if watchdog interrupt is enabled, AX2228D will enter watchdog‟s ISR. Else AX2228D will execute the instruction following HOLD.
5 Low Power Management When exit IDLE mode, AX2228D will enter interrupt service subroutine if EA is enable. If EA is disabled, the instruction next to IDLE will be executed. 5.1.4 Deep Sleep Mode Deep Sleep mode will disable core 1.8V power, all the RAM, OTP, MROM and logic (except for IRTCC) will be power off.
5.2 Power Supply AX2228D provides two on-chip low drop-out regulators (LDO) to convert from 5V to 3.3V, 3.3V to 1.8V for internal core power use. It is there to provide high power supply noise rejection and also to minimize power consumption.
1 = SDCCLK, SDCCMD and SDCDAT0 are mapped to P20, P21 and P27 6.5 Port interrupt and wakeup AX2228D supports Port interrupt and wakeup function. The PWKEN registers (Wakeup Enable Register) allow PORT to cause wakeup. The PWKEN registers are set to 0Fh upon reset. Clearing bit0-3 in the PWKEN register enables wakeup on corresponding pin.
7.5.1 Watchdog Wake up WDT can be used to wake up AX2228D from Idle, Hold or Sleep mode. RSTEN bit (WDTCON [3]) is used to determine the actions after WDT wake up. When RSTEN sets to 0, the watchdog will generate a non-reset wake up after counter overflows.
7.6.2 IRTCC Timer IRTCC timer can be power independently. It can work even other logic in AX2228D is power off. There is 6-bit valid address for the 64-byte user RAM. So the upper 2-bit of address in the writing RTC_RAM or reading RTC_RAM command are ignored.
11. Go to Step 8 to start another DMA process if needed or turn off SPI0 by clearing SPI0IE and SPI0EN SPI1 AX2228D SPI1 is an accelerated SPI. It can serve as master only. It can operate in normal or DMA mode. Please see PMUXCON0 bit 5 descriptions...
12 SARADC 12 SARADC 12.1 Features AX2228D provides an eight-channel moderate conversion speed and a moderate resolution 10-bit successive approximated register Analog to Digital Converter (SARADC) for users to develop applications in the following areas: Voice grade applications ...
Page 139
AppoTech makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does AppoTech assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages.
Need help?
Do you have a question about the AX2228D and is the answer not in the manual?
Questions and answers