Master A completes counting of its "Low" level period at the point b, and brings its internal SCL out-
put to the "High" level. However, Master B still keeps the SCL bus line at the "Low" level, and Master
A stops counting of its "High" level period counting.After Master A detects that Master B brings its inter-
nal SCL output to the "High" level and brings the SCL bus line to the "High" level at the point c, it starts
counting of its "High" level period.
After that Master finishes counting the "High" level period, the Master pulls the SCL pin to "Low" and
the SCL bus line becomes "Low".
This way, the clock on the bus is determined by the master with the shortest "High" level period and
the master with the longest "Low" level period among those connected to the bus.
13.5.2 Setting the Acknowledgement Mode
Setting SBICR1<ACK> to "1" selects the acknowledge mode.When operating as a master, the SBI adds
one clock for acknowledgment signal. In slave mode, the clock for acknowledgement signals is counted. In
transmitter mode, the SBI releases the SDAx pin during clock cycle to receive acknowledgement signals
from the receiver. In receiver mode, the SBI pulls the SDAx pin to the "Low" level during the clock cycle
and generates acknowledgement signals. Also in slave mode, if a general-call address is received, the SBI
pulls the SDAx pin to the "Low" level during the clock cycle and generates acknowledgement signals. Howev-
er, the second byte of the general call is necessary to be controlled by software to generate an acknowledge-
ment signal depending on the contents of the second byte.
By setting <ACK> to "0", the non-acknowledgment mode is activated. When operating as a master, the
SBI does not generate clock for acknowledgement signals. In slave mode, the clock for acknowledgement sig-
nals is counted.
13.5.3 Setting the Number of Bits per Transfer
SBICR1<BC[2:0]> specifies the number of bits of the next data to be transmitted or received.
Under the start condition, <BC[2:0]> is set to "000", causing a slave address and the direction bit to be trans-
ferred in a packet of eight bits. At other times, <BC[2:0]> keeps a previously programmed value.
13.5.4 Slave Addressing and Address Recognition Mode
Setting "0" to SBII2CAR<ALS> and a slave address in SBII2CAR<SA[6:0]> sets addressing format, and
then the SBI recognizes a slave address transmitted by the master device and receives data in the addressing for-
mat.
If <ALS> is set to "1", the SBI does not recognize a slave address and receives data in the free data for-
mat. In the case of free data format, a slave address and a direction bit are not recognized; they are recog-
nized as data immediately after generation of the start condition.
13.5.5 Operating mode
The setting of SBICR2<SBIM[1:0]> controls the operating mode. To operate in I2C mode, ensure that the
serial bus interface pins are at "High" level before setting <SBIM[1:0]> to "10". Also, ensure that the bus is
free before switching the operating mode to the port mode.
TMPM3V6/M3V4
Page 281
2019-02-06
Содержание TMPM3V4
Страница 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Страница 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Страница 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Страница 8: ......
Страница 22: ...xiv ...
Страница 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Страница 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Страница 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Страница 206: ...TMPM3V6 M3V4 10 16 bit Timer Event Counters TMRB 10 7 Applications using the Capture Function Page 184 2019 02 06 ...
Страница 232: ...TMPM3V6 M3V4 11 Universal Asynchronous Receiver Transmitter Circuit UART 11 4 Operation Description Page 210 2019 02 06 ...
Страница 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Страница 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Страница 420: ...TMPM3V6 M3V4 16 Analog Digital Converter ADC 16 6 Timing chart of AD conversion Page 398 2019 02 06 ...
Страница 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Страница 510: ...TMPM3V6 M3V4 22 Flash Memory Operation 22 4 Programming in the User Boot Mode Page 488 2019 02 06 ...
Страница 538: ...TMPM3V6 M3V4 25 Electrical Characteristics 25 7 Recommended Oscillation Circuit Page 516 2019 02 06 ...
Страница 541: ...26 3 TMPM3V4FWUG TMPM3V4FSUG Type LQFP64 P 1010 0 50E LPHQVLRQV TMPM3V6 M3V4 Page 519 2019 02 06 ...
Страница 544: ......