MC68HC912DG128A MOTOROLA [Motorola, Inc], MC68HC912DG128A Datasheet - Page 264
MC68HC912DG128A
Manufacturer Part Number
MC68HC912DG128A
Description
microcontroller unit 16BIT DEVICE
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
1.MC68HC912DG128A.pdf
(404 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MC68HC912DG128ACPV
Manufacturer:
FREESCALE
Quantity:
201
Company:
Part Number:
MC68HC912DG128ACPVE
Manufacturer:
FREESCALE
Quantity:
1 000
Company:
Part Number:
MC68HC912DG128AMPV
Manufacturer:
FREESCALE
Quantity:
334
Company:
Part Number:
MC68HC912DG128AVPV
Manufacturer:
FUJI
Quantity:
6 629
- Current page: 264 of 404
- Download datasheet (3Mb)
Post-Transfer
Software
Response
Inter-IC Bus
MC68HC912DT128A Rev 2.0
264
connected to a multi-master bus system, the state of the IIC Bus Busy
bit (IBB) must be tested to check whether the serial bus is free.
If the bus is free (IBB=0), the start condition and the first byte (the slave
address) can be sent. The data written to the data register comprises the
slave calling address and the LSB set to indicate the direction of transfer
required from the slave.
The bus free time (i.e., the time between a STOP condition and the
following START condition) is built into the hardware that generates the
START cycle. Depending on the relative frequencies of the system clock
and the SCL period it may be necessary to wait until the IIC is busy after
writing the calling address to the IBDR before proceeding with the
following instructions. This is illustrated in the following example.
An example of a program which generates the START signal and
transmits the first byte of data (slave address) is shown below:
Transmission or reception of a byte will set the data transferring bit
(TCF) to 1, which indicates one byte communication is finished. The IIC
Bus interrupt bit (IBIF) is set also; an interrupt will be generated if the
interrupt function is enabled during initialization by setting the IBIE bit.
Software must clear the IBIF bit in the interrupt routine first. The TCF bit
will be cleared by reading from the IIC Bus Data I/O Register (IBDR) in
receive mode or writing to IBDR in transmit mode.
Software may service the IIC I/O in the main program by monitoring the
IBIF bit if the interrupt function is disabled. Note that polling should
monitor the IBIF bit rather than the TCF bit since their operation is
different when arbitration is lost.
Note that when an interrupt occurs at the end of the address cycle the
master will always be in transmit mode, i.e. the address is transmitted. If
CHFLAG
TXSTART
IBFREE
BRSET
BSET
MOVB
BRCLR
Inter-IC Bus
IBSR,#$20,*
IBCR,#$30
CALLING,IBDR
IBSR,#$20,*
;WAIT FOR IBB FLAG TO CLEAR
;SET TRANSMIT AND MASTER MODE
;i.e. GENERATE START CONDITION
;TRANSMIT THE CALLING
;ADDRESS, D0=R/W
;WAIT FOR IBB FLAG TO SET
MOTOROLA
18-iicbus
Related parts for MC68HC912DG128A
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Motorola, Inc [VOLTAGE REGULATOR]
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
6367254 MOTOROLA SC (XSTRS/R F)
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
MC1494LMotorola, Inc [MONOLITHIC FOUR-QUADRANT MULTIPLIER]
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
MC1466LMotorola, Inc [PRECISION WIDE RANGE VOLTAGE AND CURRENT REGULATOR]
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
MC145532DWMotorola, Inc [ADPCM Transcoder]
Manufacturer:
Motorola
Datasheet:
Part Number:
Description:
Silicon Controlled Rectifiers
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
RF Power Field Effect Transistors N-Channel Enhancement-Mode Lateral MOSFETs
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
RF POWER FIELD EFFECT TRANSISTORS
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
LATERAL N-CHANNEL BROADBAND RF POWER MOSFETs
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
RF POWER FIELD EFFECT TRANSISTOR
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
RF LOW POWER TRANSISTOR NPN SILICON
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
PLASTIC SURFACE MOUNT ZENER DIODES 1.5 WATTS 3.3-68 VOLTS
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
OVERVOLTAGE TRANSIENT SUPPRESSOR
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
TMOS POWER FET 15 AMPERES 60 VOLTS
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet:
Part Number:
Description:
TMOS POWER FET LOGIC LEVEL 19 AMPERES 30 VOLTS RDS(on) = 0.099 OHM
Manufacturer:
MOTOROLA [Motorola, Inc]
Datasheet: