mc9s08jm16 Freescale Semiconductor, Inc, mc9s08jm16 Datasheet - Page 175

no-image

mc9s08jm16

Manufacturer Part Number
mc9s08jm16
Description
S08jm 8-bit Usb Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08jm16CGT
Manufacturer:
PIXART
Quantity:
1 001
Part Number:
mc9s08jm16CGT
Manufacturer:
FREESCALE
Quantity:
6 005
Part Number:
mc9s08jm16CGT
Manufacturer:
FREESCALE
Quantity:
6 005
Part Number:
mc9s08jm16CGT
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08jm16CLC
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08jm16CLD
Manufacturer:
Freescale Semiconductor
Quantity:
10 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
MC9S08JM16 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
175

Related parts for mc9s08jm16