EasyManua.ls Logo

Abov A96G166 User Manual

Default Icon
247 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Page #1 background imageLoading...
Page #1 background image
A96G166/A96A166/A96S166
Users Manual
16 MHz 8-bit MCU, 16 KB Flash Memory, 12-bit ADC,
3 Timers, USART, I2C, High Current Port
User’s Manual Version 1.13
Global Top Smart MCU Innovator
www.abovsemi.com
Introduction
This user’s manual targets application developers who use A96G166/A96A166/A96S166 for their
specific needs. It provides complete information of how to use A96G166/A96A166/A96S166 device.
Standard functions and blocks including corresponding register information of
A96G166/A96A166/A96S166 are introduced in each chapter, while instruction set is in Appendix.
A96G166/A96A166/A96S166 is based on M8051 core, and provides standard features of 8051 such
as 8-bit ALU, PC, 8-bit registers, timers and counters, serial data communication, PSW, DPTR, SP, 8-
bit data bus and 2x16-bit address bus, and 8/11/16-bit operations.
In addition, this device incorporates followings to offer highly flexible and cost-effective solutions:
16Kbytes of FLASH, 256bytes of IRAM, 512bytes of XRAM, general purpose I/O, basic interval timer,
watchdog timer, 8/16-bit timer/counter, 16-bit PPG output, 8-bit PWM output, 16-bit PWM output,
watch timer, buzzer driving port, USART, I2C, CRC, 12-bit A/D converter, on-chip POR, LVR, LVI, on-
chip oscillator and clock circuitry.
As a field proven best seller, A96G166/A96A166/A96S166 has been sold more than 3 billion units up
to now, and introduces rich features such as excellent noise immunity, code optimization, cost
effectiveness, and so on.
Reference document
A96G166/A96A166/A96S166 programming tools and manuals released by ABOV: They are
available at ABOV website, www.abovsemi.com.
SDK-51 User’s guide (System Design Kit) released by Intel in 1982: It contains all of
components of a single-board computer based on Intel’s 8051 single-chip microcomputer
Information on Mentor Graphics 8051 microcontroller: The technical document is provided at
Mentor website, https://www.mentor.com/products/ip/peripheral/microcontroller/

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Abov A96G166 and is the answer not in the manual?

Abov A96G166 Specifications

General IconGeneral
Operating Frequency48MHz
Flash Memory128KB
SRAM16KB
GPIO PortsUp to 51
Communication InterfacesUART, SPI, I2C
Operating Voltage2.0V ~ 3.6V
Operating Temperature-40°C to +85°C

Summary

Introduction

Reference document

Lists other documents and resources relevant to the product.

1 Description

1.1 Device overview

Details the core features and peripheral counts of the device.

2 Pinouts and pin description

2.1 Pinouts

Illustrates the pin configuration for various package types.

2.2 Pin description

Lists and explains the function of each pin for different packages.

3 Port structures

5.1 Port register

Details the registers controlling I/O port direction, pull-ups, and open-drain behavior.

4 Memory organization

4.1 Program memory

Describes the layout and addressing of the on-chip flash program memory.

4.2 Data memory

Details the internal RAM, SFR, and external XRAM spaces.

4.3 External data memory

Describes the XRAM and XSFR memory areas.

4.4 SFR map

Provides a summary and detailed mapping of Special Function Registers.

5 I/O ports

5.1 Port Register Details

Covers Px, PxIO, PxPU, PxOD, PxDB, PxFSR registers.

5.2-5.5 Port Descriptions

Details the P0, P1, P2, and P3 ports including their registers and function selection.

6 Interrupt controller

6.1 External interrupt

Details the configuration and operation of external interrupt pins.

6.2 Block diagram

Provides a visual representation of the interrupt controller's internal logic.

6.3 Interrupt vector table

Lists all interrupt sources, their priorities, and vector addresses.

7 Clock generator

7.1 Clock generator block diagram

Illustrates the internal structure of the clock generator.

7.2 Register map

Lists the registers used for configuring the clock generator.

8 Basic Interval Timer

8.1 BIT block diagram

Shows the block diagram of the Basic Interval Timer.

8.2 BIT register map

Lists the registers associated with the BIT.

9 Watchdog timer

9.1 Setting window open period of watchdog timer

Explains how to configure the watchdog timer's window period.

9.2 WDT block diagram

Provides a block diagram illustrating the Watchdog Timer's operation.

10 Watch timer

10.1 WT block diagram

Shows the block diagram of the Watch Timer.

10.2 Register map

Lists the registers used for controlling the Watch Timer.

11 Timer 0/1/2

11.1 Timer 0

Details the features, modes, and registers of Timer 0.

11.2 Timer 1

Details the features, modes, and registers of Timer 1.

11.3 Timer 2

Details the features, modes, and registers of Timer 2.

12 Buzzer driver

12.1 Buzzer driver block diagram

Illustrates the block diagram of the buzzer driver circuit.

13 12-bit ADC

13.1 Conversion timing

Describes the timing requirements for ADC conversion.

13.2 Block diagram

Illustrates the block diagram of the ADC module.

13.3 ADC operation

Explains the steps and flow for performing an ADC conversion.

14 I2C

14.1-14.6 I2C Bus Operations

Covers I2C block diagram, bit transfer, start/stop, data transfer, acknowledge, and arbitration.

14.7 Block Operation Details

Details I2C initialization, interrupt service, master transmitter, and slave receiver operations.

15 USART 0/1

15.1-15.6 USART Operation Basics

Covers block diagram, clocking, modes, data format, parity, and transmitter/receiver basics.

15.7-15.12 USART Advanced Features & Registers

Details receiver flags, SPI mode, RTO, and USART register descriptions.

16 CRC

16.1 Block Diagram

Shows the block diagram of the CRC module.

16.2 Register map

Lists the registers for configuring and controlling the CRC module.

17 Power down operation

17.1 Peripheral operation in IDLE/ STOP mode

Details how peripherals behave in IDLE and STOP power-down modes.

17.2 IDLE mode

Explains how to enter and exit the IDLE power-down mode.

17.3-17.4 STOP Mode Operation

Details entering STOP mode and its release conditions.

18 Reset

18.1 Reset Block Diagram and Sources

Covers reset sources, block diagram, and external reset input.

18.2-18.7 Reset Operation Details

Details POR, LVR, LVI, registers, and timing related to reset.

19 Memory programming

19.1 Flash Control and Status Registers

Covers registers for controlling and monitoring flash memory operations.

19.2 Memory Map

Describes the overall memory map, including flash memory organization.

19.3 Serial In-System Program Mode

Explains the Serial In-System Programming (ISP) method and flash operations.

19.4 Mode Entrance Method of ISP Mode

Details how to enter the In-System Programming (ISP) mode.

19.5 Security

Explains security features like lock bits and password protection.

19.6 Configure option

Describes how to configure device options using specific registers.

19.7 Password function

Details the password protection mechanism for device access.

20 Electrical characteristics

20.1 Absolute Maximum Ratings

Lists the limits beyond which device damage may occur.

20.2 Recommended Operating Conditions

Specifies the voltage and temperature ranges for reliable operation.

20.3-20.23 Electrical Performance Parameters

Covers ADC, voltage references, reset, oscillators, DC, AC, USART, SPI, I2C, flash, and package characteristics.

21 Package information

21.1-21.6 Package Outlines

Provides dimensional drawings for various package types (SOPN, TSSOP, SOP, QFN, LQFP).

22 Development tools

22.1 Compiler and OCD Debugger

Recommends compilers and details the On-Chip Debugger (OCD) system.

22.3-22.5 Programming and Debugging Tools

Covers programmers (E-PGM+, E-Gang), flash programming, and the OCD interface.

23 Ordering information

23.1 Device Ordering Information

Lists available part numbers with their features and package types.

Appendix

Instruction table

Lists the available CPU instructions with their mnemonics, bytes, cycles, and hex codes.

Related product manuals