Panasonic MN103S User Manual page 389

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

Transmission BUSY Flag Operation
The SC2TBSY flag of the SC2STR register is set if the SC2SBOS flag of the SC2CTR1 register is set to "1"
when data is set in SC2TB or a when a start condition is recognized while "serial data output" is selected with the
SC2SBOS flag of the SC2CTR1 register. The SC2TBSY flag is cleared to "0" after generation of the communica-
tion end interrupt SC2TIRQ. The SC2TBSY flag setting is maintained during continuous communication. If
transmission buffer empty flag SC2TEMP is set to"0" when the communication complete interrupt SC2TIRQ is
generated, SC2RBSY is cleared to "0". The SC2TBSY flag is reset to "0" when the SC2SBOS flag is cleared to
"0" during communication.
Overrun Error and Error Monitor Flag Operation
After reception is completed, if reception of the next data is completed before data is read from the reception data
buffer SC2RB, overrun error occurs and the SC2ORE flag of the SC2STR register is set to "1". At the same time,
the error monitor flag SC2ERE is set, indicating that the reception has an error. The SC2ERE flag is cleared after
the next communication complete interrupt SC2TIRQ is generated since data is read from SC2RB. The SC2ERE
flag is cleared along with the SC2ORE flag . These error flags have no effects on communication.
Continuous Transmission
This serial is equipped with a continuous transmission function. If data is set in the transmission data buffer
SC2TB during communication, the transmission buffer empty flag SC2TEMP is set; thus, allowing automatic,
continuous communication. Set data to SC2TB the period that after data is loaded to the transmission shift register
and before the communication end interrupt SC2IRQ is generated. In master communication, communication
blank from SC2TIRQ generation to next transfer clock output is 4 transfer clock.
Forced Reset
This serial interface is equipped with a forced reset function to address abnormal operation. Communication can
be shut down by setting both the SC2SBOS and SC2SBIS flags of the SC2CTR1 register to "0" (SBO2 pin func-
tion: port, input data: "1" input). When a force reset is done, the status registers (the SC2BRKF flag of the
SC2CTR2 register, all flags of the SC2STR register) are initialized, but other control registers hold their set val-
ues.
Chapter 13
Serial Interface 2
Operation
XIII - 17

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents