Panasonic F77G, MN101C77C user manual Is . When SC3ACKO = 1, the reception at

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 425
Image 425

Chapter 12 Serial Interface 3

 

Setup Procedure

 

Description

 

 

 

 

 

 

(19)

Judge the ACK bit level.

(19)

Confirm the level of the ACK bit, received by the

 

SC3CTR (x'3FAA')

 

SC3ACKS flag of the serial 3 control register

 

bp0 : SC3ACKO

 

(SC3CTR). When SC3ACKO = 0, the transmission

 

 

 

is continued. When SC3ACKO = 1, the reception at

 

 

 

slave may be impossible, finish the communication.

(20)

Select the transfer bit count.

(20)

If the transfer bit count is changed, set the

 

SC3MD0(x'3FA8')

 

transfer count bit by the SC3LNG2-0 flag of the

 

bp2-0 : SC3LNG2-0 = 0

 

serial 3 mode register (SC3MD0).

(21)

Select the start condition.

(21)

Set the SC3STE flag of the SC3MD0 register to "0"

 

SC3MD0(x'3FA8')

 

to disable start condition.

 

bp3 : SC3STE = 0

 

 

 

<The next data transmission is started.>

 

 

 

(22)

Serial transmission is started. [ (17)]

(22)

Set the transmission data to SC3TRB to start the

 

 

 

transmission. [ (17)]

<The transmission is finished.>

 

 

 

<Transaction after IIC communication>

 

 

 

(23)

Clear BUSY flag.

(23)

Clear the IICBSY flag of the serial 3 control

 

SC3CTR(x'3FAA')

 

register (SC3CTR) to "0". Then, the stop condition

 

bp7 : IICBSY = 0

 

is automatically generated to finish the

 

 

 

communication.

 

 

 

 

 

Note : In the above (5) to (8), (9) to (12), (13) to (14), (15) to (16), (18) to (19) and (20) to (21), settings can be set at once.

Operation XII - 39

Page 425
Image 425
Panasonic F77G, MN101C77C user manual Is . When SC3ACKO = 1, the reception at