Panasonic MN101C77C, F77G user manual XII 26 Operation

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 412
Image 412

Chapter 12 Serial Interface 3

Setup Procedure

Description

 

 

(15) Start serial transmission.

(15) Set the transmission data to the serial

Transmission data

transmit/receive shift register SC3TRB. The

SC3TRB (x'3FAB')

internal clock is generated to start

 

transmission/reception.

 

After the communication is finished, the serial 3

 

interrupt SC3IRQ is generated.

 

 

Note : In the above settings, (6) to (9), (10) to (11),can be set at once.

If the communication is only for transmission, the data that input by setting the SC3SBIS of the SC3MD1 register to "0" should be fixed to "1". The SBI3 pin can be used as a general port.

If the communication is only for reception, set the SC3SBOS of the SC3MD1 register to "0" to select port. The SBO3 pin can be used as a general port.

If the communication is with 2 channels connected the SBO3/SBI3 pins, the SBO3 pin inputs/outputs serial data. The port direction control register P5DIR switches I/O.

At reception, set the SC3SBIS of the SC3MD1 register to "1" to select "input serial data". The SBI3 pin can be used as a general port.

It is possible to shut down the communication. When the communication should be stopped by force, set the SC3SBOS and the SC3SBIS of the SC3MD1 register to "0".

Setup for each flag should be done in order. The activation of communication should be operated after all control registers (table 12-2-1 : except SC3TRB) are set.

The SC3CKS register should set the transfer rate of the transfer clock to "under 2.5 MHz".

XII - 26 Operation

Page 412
Image 412
Panasonic MN101C77C, F77G user manual XII 26 Operation