S9S08SG8E2VTG Freescale Semiconductor, S9S08SG8E2VTG Datasheet - Page 181

no-image

S9S08SG8E2VTG

Manufacturer Part Number
S9S08SG8E2VTG
Description
8-bit Microcontrollers - MCU 9S08 UC W/ 8K 0.25UM SGF
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of S9S08SG8E2VTG

Rohs
yes
Core
S08
Processor Series
MC9S08SG8
Data Bus Width
8 bit
Maximum Clock Frequency
40 MHz
Program Memory Size
8 KB
Data Ram Size
8 KB
On-chip Adc
Yes
Operating Supply Voltage
2.7 V to 5.5 V
Operating Temperature Range
- 40 C to + 105 C
Package / Case
TSSOP-16
Mounting Style
SMD/SMT
A/d Bit Size
10 bit
A/d Channels Available
12
Interface Type
SCI, SPI
Maximum Operating Temperature
+ 105 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
16
Number Of Timers
2
Program Memory Type
Flash
Supply Voltage - Max
5.5 V
Supply Voltage - Min
2.7 V
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
MC9S08SG8 MCU Series Data Sheet, Rev. 7
IAAS
IICIE
Figure 11-11. IIC Module Quick Start
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 S9S08SG8E2VTG