MC68HC908AP64_07 FREESCALE [Freescale Semiconductor, Inc], MC68HC908AP64_07 Datasheet - Page 243

no-image

MC68HC908AP64_07

Manufacturer Part Number
MC68HC908AP64_07
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
14.7 Program Algorithm
When the MMIIC module detects an arbitration loss in master mode, it releases both SDA and SCL lines
immediately. But if there are no further STOP conditions detected, the module will hang up. Therefore, it
is recommended to have time-out software to recover from this condition. The software can start the
time-out counter by looking at the MMBB (bus busy) flag and reset the counter on the completion of one
byte transmission. If a time-out has occurred, software can clear the MMEN bit (disable MMIIC module)
to release the bus, and hence clear the MMBB flag. This is the only way to clear the MMBB flag by
software if the module hangs up due to a no STOP condition received. The MMIIC can resume operation
again by setting the MMEN bit.
Freescale Semiconductor
MMBR2
0
0
0
0
1
1
1
1
MMBR1
The frequency of the MMIIC baud rate is only guaranteed for 100kHz to
10kHz. The divider is available for the flexibility on bus frequency selection.
0
0
1
1
0
0
1
1
MMBR0
0
1
0
1
0
1
0
1
Table 14-2. MMIIC Baud Rate Selection
MC68HC908AP Family Data Sheet, Rev. 4
Divider
1280
2560
160
320
640
20
40
80
3.125kHz
12.5kHz
6.25kHz
400kHz
200kHz
100kHz
NOTE
50kHz
25kHz
8MHz
MMIIC Baud Rates for Bus Clocks:
1.5625kHz
3.125kHz
12.5kHz
6.25kHz
200kHz
100kHz
50kHz
25kHz
4MHz
0.78125kHz
1.5625kHz
3.125kHz
12.5kHz
6.25kHz
100kHz
50kHz
25kHz
2MHz
Program Algorithm
0.78125kHz
1.5625kHz
0.3906kHz
3.125kHz
12.5kHz
6.25kHz
50kHz
25kHz
1MHz
241

Related parts for MC68HC908AP64_07