EasyManua.ls Logo

Abov MC97F6108A User Manual

Default Icon
256 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #181 background imageLoading...
Page #181 background image
MC97F6108A User’s manual 16. Inter Integrated Circuit (I2C)
181
I2CSR (I2C Status Register): DBH
7
6
5
4
3
2
1
0
GCALL
TEND
STOP
SSEL
MLOST
BUSY
TMODE
RXACK
R
R
R
R
R
R
R
R
Initial value: 00H
GCALL
This bit has different meaning depending on whether I2C is master or
slave. Note 1)
When I2C is a master, this bit represents whether it received AACK
(Address ACK) from slave.
When I2C is a slave, this bit is used to indicate general call.
0
No AACK is received (Master mode)
1
AACK is received (Master mode)
0
Received address is not general call address (Slave mode)
1
General call address is detected (Slave mode)
TEND
This bit is set when 1-Byte of data is transferred completely. Note 1)
0
1byte of data is not completely transferred
1
1byte of data is completely transferred
STOP
This bit is set when STOP condition is detected. Note 1)
0
No STOP condition is detected
1
STOP condition is detected
SSEL
This bit is set when I2C is addressed by other master. Note 1)
0
I2C is not selected as slave
1
I2C is addressed by other master and acts as a slave
MLOST
This bit represents the result of bus arbitration in master mode. Note 1)
0
I2C maintains bus mastership
1
I2C has lost bus mastership during arbitration process
BUSY
This bit reflects bus status.
0
I2C bus is idle, so any master can issue a START condition
1
I2C bus is busy
TMODE
This bit is used to indicate whether I2C is transmitter or receiver.
0
I2C is a receiver
1
I2C is a transmitter
RXACK
This bit shows the state of ACK signal.
0
No ACK is received
1
ACK is generated at ninth SCL period
NOTES:
1. One of these bits can be a source of an interrupt.
2. When an I2C interrupt occurs except for STOP interrupt, the SCL line is hold LOW.
To release SCL, write arbitrary value to I2CSR.
3. When I2CSR is written, the TEND, STOP, SSEL, LOST, RXACK bits are cleared.

Table of Contents

Question and Answer IconNeed help?

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

Abov MC97F6108A Specifications

General IconGeneral
BrandAbov
ModelMC97F6108A
CategoryMicrocontrollers
LanguageEnglish

Summary

Introduction to MC97F6108A

Reference Documents for MC97F6108A

Lists external documents and resources related to the MC97F6108A microcontroller, including programming tools.

MC97F6108A Device Description

MC97F6108A Device Overview

Provides a general overview of the MC97F6108A microcontroller's features and peripheral counts.

MC97F6108A Block Diagram

Illustrates the internal architecture and connectivity of the MC97F6108A microcontroller's core and peripherals.

MC97F6108A Pinouts and Pin Descriptions

MC97F6108A Pin Assignment

Details the pin configurations for the 20 SOP and 16 SOPN packages, including pin names and assignments.

Pin Description Details

Provides detailed descriptions of each pin's function, I/O type, and remarks for the MC97F6108A microcontroller.

MC97F6108A Port Structures

MC97F6108A Memory Organization

Program Memory Map

Describes the layout and addressing of the MC97F6108A's program memory space.

Data Memory Map

Explains the organization of internal data memory, including RAM, SFRs, and addressing modes.

SFR Map Summary

Provides a summary of the Special Function Registers (SFRs) available on the MC97F6108A.

MC97F6108A I/O Ports Configuration

P0 Port Registers

Details the registers for configuring the P0 port, including data, direction, pull-up, and open-drain settings.

P1 Port Registers

Describes the registers for configuring the P1 port, covering data, direction, pull-up, and open-drain settings.

MC97F6108A Interrupt Controller

Interrupt Vector Table

Lists all interrupt sources, their symbols, priorities, and vector addresses for the MC97F6108A.

Interrupt Register Overview

Details the various registers used for interrupt control, including enable, priority, and flag registers.

MC97F6108A Clock Generator

MC97F6108A Basic Interval Timer (BIT)

MC97F6108A Watchdog Timer (WDT)

MC97F6108A Timer0/1/2/3 Operation

16-bit Timer/Counter Mode

Explains the configuration and operation of the 16-bit timer/counter mode for Timer0/1/2/3.

16-bit Capture Mode

Details the operation of the 16-bit capture mode for Timer0/1/2/3, including data capture.

16-bit PWM Mode

Describes the 16-bit Pulse Width Modulation (PWM) mode for Timer0/1/2/3.

MC97F6108A PPG (Programmable Pulse Generator)

PPG Start and One Shot Pulse

Explains how to start the PPG and its operation in one-shot pulse mode.

Auto Period Mode by Comparator 2

Details the auto period mode operation controlled by Comparator 2.

MC97F6108A Analog Comparator and OP-AMP

Comparator and OP-AMP Description

Provides a detailed description of the analog comparators and operational amplifiers.

MC97F6108A Buzzer Driver

MC97F6108A 12-bit AD Converter (ADC)

Conversion Timing for ADC

Explains the timing requirements and calculation for ADC conversion.

ADC Operation Flow

Illustrates the step-by-step process for operating the Analog-to-Digital Converter.

MC97F6108A USART Operation

USART Data Format

Defines the serial frame format for USART communication, including start, data, parity, and stop bits.

USART Transmitter Operation

Details the functionality and flags of the USART transmitter unit.

USART Receiver Operation

Explains the operation of the USART receiver, including flags and error detection.

SPI Mode Operation

Describes how to configure and operate the USART in Serial Peripheral Interface (SPI) mode.

MC97F6108A Inter Integrated Circuit (I2C)

I2C Bit Transfer Timing

Illustrates the timing for transferring a single bit over the I2C bus.

I2C Start, Repeated Start, and Stop Conditions

Defines the conditions for starting, repeating start, and stopping I2C bus transactions.

I2C Data Transfer Procedure

Explains the process of transferring data bytes, including acknowledgment and MSB/LSB order.

I2C Initialization Process

Details the steps required to initialize the I2C block for slave device service.

MC97F6108A Power Down Operation Modes

Peripheral Operation in IDLE and STOP Modes

Summarizes peripheral behavior during IDLE, STOP1, and STOP2 power-down modes.

IDLE Mode Operation

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

STOP Mode Operation

Details the STOP power-down mode, including exit conditions and timing.

MC97F6108A Reset Features

Reset Block Diagram

Illustrates the internal reset circuitry and its various input sources.

Power On Reset (POR) Function

Describes the Power On Reset functionality and its impact on device operation.

External RESETB Input

Explains the behavior and timing of the external RESETB input pin.

Brown Out Detector (BOD) Processor

Details the on-chip brown-out detection circuit and its configuration.

MC97F6108A Memory Programming

Flash Control and Status Registers

Describes registers for controlling and monitoring Flash memory operations.

Serial In-System Programming (ISP) Mode

Explains the process and sequence for programming Flash memory via serial ISP.

Parallel Mode Operation

Details the parallel programming mode, including instruction format and timing diagrams.

Security Features and Lock Bits

Describes the security features and the use of lock bits for Flash memory protection.

MC97F6108A Electrical Characteristics

Absolute Maximum Ratings

Specifies the absolute maximum electrical ratings to prevent device damage.

Recommended Operating Conditions

Lists the recommended operating conditions for reliable device performance.

DC Characteristics

Provides DC electrical characteristics including voltage, current, and resistor values.

AC Characteristics

Details the AC timing parameters for various interfaces and operations.

Analog Comparator Characteristics

Specifies the DC characteristics for the analog comparators.

SPI Characteristics

Lists the timing parameters for the Serial Peripheral Interface (SPI) operation.

I2C Characteristics

Provides timing parameters for the Inter Integrated Circuit (I2C) communication.

Typical Characteristics

Presents typical performance data for guidance, not guaranteed.

MC97F6108A Package Information

20 SOP Package Outline

Provides the mechanical outline and dimensions for the 20-pin Small Outline Package.

16 SOPN Package Outline

Details the mechanical outline and dimensions for the 16-pin Small Outline Package.

MC97F6108A Ordering Information

MC97F6108A Development Tools

OCD II Emulator and Debugger

Describes the On-Chip Debugger II for emulation, programming, and debugging.

Flash Programming Procedures

Explains the steps for programming the Flash memory, including pin requirements.

On-Chip Debug System Overview

Introduces the features and capabilities of the On-Chip Debug (OCD II) system.

Appendix: Instruction Table

Related product manuals