mc9s08dz32 Freescale Semiconductor, Inc, mc9s08dz32 Datasheet - Page 216

no-image

mc9s08dz32

Manufacturer Part Number
mc9s08dz32
Description
Hcs08 Microcontrollers 8-bit Can Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08dz32ACLC
Manufacturer:
OMRON
Quantity:
20 000
Part Number:
mc9s08dz32ACLC
Manufacturer:
FREESCALE
Quantity:
4 354
Part Number:
mc9s08dz32ACLC
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08dz32ACLC
Manufacturer:
FREESCALE
Quantity:
4 354
Part Number:
mc9s08dz32ACLF
Manufacturer:
FREESCALE
Quantity:
870
Part Number:
mc9s08dz32ACLF
Manufacturer:
FREESCALE
Quantity:
5 000
Part Number:
mc9s08dz32ACLF
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08dz32ACLF
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9s08dz32ACLF
Quantity:
300
Part Number:
mc9s08dz32ACLH
Manufacturer:
FREESCALE
Quantity:
201
Chapter 11 Inter-Integrated Circuit (S08IICV2)
11.7
216
1.
2.
3.
4.
5.
1.
2.
3.
4.
5.
6.
7.
Write: IICC2
— to enable or disable general call
— to select 10-bit or 7-bit addressing mode
Write: IICA
— to set the slave address
Write: IICC1
— to enable IIC and interrupts
Initialize RAM variables (IICEN = 1 and IICIE = 1) for transmit data
Initialize RAM variables used to achieve the routine shown in Figure 11-12
Write: IICF
— to set the IIC baud rate (example provided in this chapter)
Write: IICC1
— to enable IIC and interrupts
Initialize RAM variables (IICEN = 1 and IICIE = 1) for transmit data
Initialize RAM variables used to achieve the routine shown in Figure 11-12
Write: IICC1
— to enable TX
Write: IICC1
— to enable MST (master mode)
Write: IICD
— with the address of the target slave. (The lsb of this byte determines whether the communication is
The routine shown in Figure 11-12 can handle both master and slave IIC operations. For slave operation, an
incoming IIC message that contains the proper address begins IIC communication. For master operation,
communication must be initiated by writing to the IICD register.
Initialization/Application Information
IICC1
IICC2 GCAEN ADEXT
IICD
IICA
IICF
IICS
master receive or transmit.)
When addressed as a slave (in slave mode), the module responds to this address
Baud rate = BUSCLK / (2 x MULT x (SCL DIVIDER))
Module configuration
Module status flags
Data register; Write to transmit IIC data read to read IIC data
Address configuration
IICEN
TCF
MULT
IAAS
IICIE
BUSY
Figure 11-11. IIC Module Quick Start
MST
MC9S08DZ60 Series Data Sheet, Rev. 3
Module Initialization (Master)
0
Module Initialization (Slave)
Register Model
Module Use
ARBL
TX
AD[7:1]
0
DATA
TXAK
0
0
ICR
RSTA
SRW
AD10
IICIF
AD9
0
RXAK
AD8
0
0
Freescale Semiconductor

Related parts for mc9s08dz32