Panasonic F77G Clock Synchronous Serial Interface, Synchronous Serial Interface Activation Factor

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 347
Image 347

Chapter 11 Serial Interface 0, 1

11-3 Operation

Serial Interface 0, 1 can be used for both clock synchronous and duplex UART.

11-3-1 Clock Synchronous Serial Interface

„Activation Factor for Communication

Table 11-3-1 shows activation factors for communication. At master, the transfer clock is generated by setting data to the transmission data buffer TXBUFn, or by receiving a start condition. Except during communication, the input signal from SBT0 pin is masked to prevent errors by noise or so. This mask can be released automatically by setting a data to TXBUFn(access to the TXBUFn register), or by inputting a start condition to the data input pin. Therefore, at slave, set data to TXBUFn, or input an external clock after a start condition is input.

Table 11-3-1 Synchronous Serial Interface Activation Factor

 

Activation factor

 

 

 

 

Transmission

Reception

 

 

 

at master

Set transmission data

Set dummy data

 

Input start condition

 

 

 

 

 

 

 

Input clock

at slave

Input clock after transmission

after dummy data is set

data is set

 

Input clock

 

 

 

 

 

after start condition is input

 

 

 

„Transfer Bit Setup

The transfer bit count is selected from 1 bit to 8 bits. Set them by the SCnLNG 2 to 0 flag of the SCnMD0 register (at reset : 111). The SCnLNG 2 to 0 flag holds the former set value until it is set again.

Except during communication, SBT pin is masked to prevent errors by noise. At slave com- munication, set data to TXBUFn or input a clock to SBT pin after a start condition is input.

Operation XI - 21

Page 347
Image 347
Panasonic F77G, MN101C77C user manual Clock Synchronous Serial Interface, Synchronous Serial Interface Activation Factor