Panasonic MN103S User Manual page 359

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

Setting Clock
The SCnCKS1 to 0 of the SIFCLK register selects a clock source from the internal clock (clock master), or the
SBTn pins selects it from the external clock (clock slave) by .
Table:12.3.3 Synchronous Serial Interface Clock Source
Clock source
Internal clock
External clock
Setting Data Input/Output Pins
3-channel type (clock pin (SBTn pin), data output pin (SBOn pin), and data input pin (SBIn pin) ) is used for com-
munication.
The transfer rate should be up to 3.0 Mbps. If the transfer rate is over 3.0 Mbps, the transmis-
sion data may not be sent correctly.
..
..
Reception Data Flag Operation
After reception is completed (communication complete interrupt SCnTIRQ), data is automatically stored to
SCnRB from the internal shift register and the reception data flag SCAnRXA of the SCnSTR register is set to "1".
The SCAnRXA flag is cleared to "0" by reading data from SCnRB.
Reception BUSY Flag Operation
If data is set to the SCnTB or a start condition is recognized with setting SCAnREN flag of the SCnCTR register
to "enable", the reception status flag SCAnRBSY of the SCnSTR register is set to "1". The SCAnRBSY flag is
cleared when the communication complete interrupt SCnTIRQ is generated.
Transmission BUSY Flag Operation
If data is set to SCnTB or a start condition is recognized with setting the SCAnTEN flag of the SCnCTR register
to "enable", the reception status flag SCAnTBSY of the SCnSTR register is set to "1". The SCAnTBSY flag is
cleared when the communication complete interrupt SCnTIRQ is generated.
Overrun Error Operation
After reception is completed, if the next data has been already received before reading out of the data of the recep-
tion data buffer SCnRB, overrun error is generated and the SCAnOE flag of the SCnSTR register is set to "1".
The SCAnOE flag is not cleared till the next communication interrupt SCnTIRQ is generated after loading data of
the SCnRB. These error flags have no effects on communication operation.
Continuous Commutation
This serial has no continuous transfer function. Do not set data in the transmission data buffer SCnTB during
communication.
Serial interfaces 0 and 1
1/2 of timer 14 underflow
1/16 of timer 14 underflow
1/2 of timer 15 underflow
1/16 of timer 15 underflow
1/2 of timer 16 underflow
1/16 of timer 16 underflow
SBTn pin
Chapter 12
Serial interface 0 and 1
Operation
XII - 13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents