NEC PD75402A, PD75P402 user manual Acknowledge detection flag R, Busy enable bit R/W

Models: PD75402A PD75P402

1 195
Download 195 pages 45.34 Kb
Page 91
Image 91

CHAPTER 5. PERIPHERAL HARDWARE FUNCTIONS

Fig. 5-26 Serial Bus Interface Control Register (SBIC) Format (3/3)

Acknowledge enable bit (R/W)

ACKE

 

 

 

 

 

 

 

 

 

 

0

Disables automatic output of the acknowledge signal (ACK) (outpt by ACKT is

possibel).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

When set before end of transfer

ACK is output is synchronization with the 9th

 

SCK clock cycle.

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

When set after end of transfer

ACK is output in synchronization with SCK

 

immediately after execution of the setting

 

 

instruction.

 

 

 

 

 

 

 

 

 

 

Acknowledge detection flag (R)

ACKD

 

Clearing Conditions (ACKD = 0)

Setting Condition (ACKD = 1)

 

 

 

 

 

When a transfer is started

 

 

 

When the acknowledge signal (ACK) is de-

When RESET is input

tected (Synchronized with rise of SCK)

 

 

 

 

 

 

 

 

 

 

Busy enable bit (R/W)

BSYE

Disablin of automatic busy signal output

0Busy signal output is stopped in synchronization with the fall of SCK immediately after execution ofthe clearing instruction.

1

The busy signal is output in synchronization with the fall or SCK following the

acknowledge signal.

 

Example 1. To output the command signal.

SET1 CMDT

2.To test RELD and CMDD, and perform different processing according to the type of receive data. This interrupt routine is only performed when WUP = 1 and there is an address match.

SKF

RELD

;

Test RELD

BR

!ADRS

 

 

SKT

CMDD

;

Test CMDD

BR

!DATA

 

 

CMD

:

;

Command interpretation

DATA

:

;

Data processing

ADRS

:

;

Address decoding

80

Page 91
Image 91
NEC PD75402A, PD75P402 user manual Acknowledge detection flag R, Busy enable bit R/W