![Panasonic MN103001G/F01K Скачать руководство пользователя страница 323](http://html.mh-extra.com/html/panasonic/mn103001g-f01k/mn103001g-f01k_user-manual_262908323.webp)
Serial Interface
13-21
• Perform data transmission/reception (B) according to the procedure described below:
(1) Ack setting
"Ack" is represented by the parity bits.
Set the parity bit selection flags (SC0PB2 to 0) to "1 fixed" or "0 fixed" in accordance with the communications
protocol for the device that is connected. (When sending "Ack", set "0 fixed"; when sending NO-Ack, set "1
fixed ".)
(2) Transmission/reception
When transmitting, write the data that is to be transmitted in the transmission buffer (SC0TXB).
When receiving, write "x'FF" in the transmission buffer (SC0TXB).
After the buffers are written, the clock signal is output and the transmission/reception operation is performed.
After transmission/reception are completed, the low signal output is maintained on the SBT and SBO pins.
(3) Reading the reception buffer
Always be certain to read the reception buffer after the transmission/reception operation is completed.
(It is necessary to read the reception buffer after a transmission operation.)
(4) Ack confirmation
Ack can be read as a parity error. Read the parity error indication flag (SC0PEF). When parity is set to "0
fixed", the value of SC0PEF is the value of Ack.
When parity is set to "1 fixed", the inverted value of SC0PEF is the value of Ack.
When performing consecutive transmission/reception operations, repeat steps (1) to (4).
•
Wait function under SCL control
The transmission/reception operation waits until SCL is released if SCL is driven low by a device performing
slave transmission/reception. In this case, SCL goes high for 1/2 the normal interval (1/4 the one-bit width
specified by the clock source selection flags (SC0CK2 to 0)).
• Send the stop sequence (C) according to the procedure described below:
(1) Sending stop sequence
When the I2C mode selection flag (SC0IIC) is changed from "1" to "0", the SBT pin goes high. One IOCLK
cycle after the SBT pin goes high, the SBO pin goes high and the stop sequence is sent.
(2) Confirmation of sending stop sequence
If the stop sequence was generated normally, the I2C stop sequence detection flag (SC0SPF) changes to "1".
(3) Transmission/reception disable
Disable the transmission operation and the reception operation.
(Set SC0TXE and SC0RXE to "0". Be sure to always perform this step every time after the stop sequence is
sent.)
Содержание MN103001G/F01K
Страница 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 7: ...14 A D Converter 15 I O Ports 16 Internal Flash Memory 17 Ordering Mask ROM Appendix 14 15 16 17 ...
Страница 8: ......
Страница 9: ...Table of Contents List of Figures and Tables 0 ...
Страница 26: ...xviii ...
Страница 27: ...1 0 1 General Specifications ...
Страница 35: ...2 CPU 2 ...
Страница 57: ...3 Extension Instruction Specifications 3 ...
Страница 96: ...Extension Instruction Specifications 3 40 ...
Страница 97: ...4 Memory Modes 3 4 ...
Страница 102: ...Memory Modes 4 6 ...
Страница 103: ...5 Operating Mode 5 ...
Страница 107: ...6 Clock Generator 6 13 ...
Страница 111: ...7 Internal Memory 7 ...
Страница 114: ...Internal Memory 7 4 ...
Страница 115: ...8 Bus Controller BC 8 ...
Страница 189: ...9 Interrupt Controller 9 ...
Страница 220: ...Interrupt Controller 9 32 ...
Страница 221: ...10 8 bit Timers 9 10 ...
Страница 254: ...8 bit Timers 10 34 ...
Страница 255: ...11 16 bit Timers 11 ...
Страница 292: ...16 bit Timers 11 38 ...
Страница 293: ...12 Watchdog Timer 11 12 ...
Страница 302: ...Watchdog Timer 12 10 ...
Страница 303: ...13 Serial Interface 13 ...
Страница 354: ...Serial Interface 13 52 ...
Страница 355: ...14 A D Converter 14 ...
Страница 367: ...15 I O Ports 15 ...
Страница 431: ...16 Internal Flash Memory 16 ...
Страница 439: ...17 17 Ordering Mask ROM ...
Страница 442: ...Ordering Mask ROM 17 4 ...
Страница 443: ...Appendix ...