mc9s08jm60 Freescale Semiconductor, Inc, mc9s08jm60 Datasheet - Page 177

no-image

mc9s08jm60

Manufacturer Part Number
mc9s08jm60
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08jm60CGT
Manufacturer:
FREESCALE
Quantity:
5 200
Part Number:
mc9s08jm60CGT
Manufacturer:
FREESCALE
Quantity:
5 200
Part Number:
mc9s08jm60CLD
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08jm60CLDR
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08jm60CLH
Manufacturer:
FREESCALE
Quantity:
2 500
Part Number:
mc9s08jm60CLH
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08jm60CLHE
Manufacturer:
AZBIL
Quantity:
1 000
11.7
Freescale Semiconductor
Initialization/Application Information
1. Write: IICC2
2. Write: IICA
3. Write: IICC1
4. Initialize RAM variables (IICEN = 1 and IICIE = 1) for transmit data
5. Initialize RAM variables used to achieve the routine shown in
1. Write: IICF
2. Write: IICC1
3. Initialize RAM variables (IICEN = 1 and IICIE = 1) for transmit data
4. Initialize RAM variables used to achieve the routine shown in
5. Write: IICC1
— to enable or disable general call
— to select 10-bit or 7-bit addressing mode
— to set the slave address
— to enable IIC and interrupts
— to set the IIC baud rate (example provided in this chapter)
— to enable IIC and interrupts
— to enable TX
IICC1
IICC2 GCAEN ADEXT
IICA
IICS
IICD
IICF
When addressed as a slave (in slave mode), the module responds to this address
Data register; Write to transmit IIC data read to read IIC data
Baud rate = BUSCLK / (2 x MULT x (SCL DIVIDER))
Module configuration
Module status flags
Address configuration
IICEN
TCF
MULT
IAAS
IICIE
Figure 11-11. IIC Module Quick Start
MC9S08JM60 Series Data Sheet, Rev. 2
BUSY
MST
Module Initialization (Master)
Module Initialization (Slave)
0
Register Model
ARBL
TX
AD[7:1]
0
DATA
TXAK
0
0
ICR
RSTA
SRW
AD10
IICIF
AD9
Inter-Integrated Circuit (S08IICV2)
Figure 11-12
Figure 11-12
0
RXAK
AD8
0
0
177

Related parts for mc9s08jm60