
LZ85194
IrDA Control Peripheral Engine User
’
s Guide
5
Interface Between PE and μP
The Sharp IrDA Control-PE will exchange information with the μP through a serial interface
(signal line: MSG, SO, RDY, SI, SCK, CMD). The information can be placed into two cat-
egories: Command and Message.
Figure 5 shows a connection example between PE and μP. In this example, SS-Wire sig-
nal pinouts of PE are connected to the common I/O pinouts of μP. IN1, IN2, and IN3 are
for input, and OUT4, OUT5, and OUT6 are for output. The μP, output values of OUT4 and
OUT5 are controlled by the software, and generate serial data as well as clock.
At the μP, when no Commands are issued, SCK signal (OUT5) must be set fixed to H.
When issuing Commands, SCK must be changed as H
→
L
→
H, and output the Com-
mand from D7 bit to D0 bit in serial.
Command
Operation command given by μP to PE. To give Commands to PE, the serial data input SI,
serial data clock SCK, and command recognition signal CMD will be used. The list of com-
mands includes: Get_Message, Send_Data_withACK, Manual_Enum_withBinding,
Set_Peripheral_Info, Set_DcBias, Set_ OperationMode, Get_OperationMode, Shutdown,
Manual_Enum, Reset, Send_Data.
Message
Operation request from PE to μP. Along with the status change, when the PE requires
Commands, PE will use Message and inform the μP of its status. PE will first change MSG
signal L
→
H to inform the μP of a pending Message. Upon receipt of this change, the μP
will issue the Get_Message Command and receive the Message from PE. Serial data out-
put SO and SCK will be used to receive Messages. The μP must determine the require-
ment of the received Message, and issue the corresponding Command required by the PE
immediately. The list of messages include: Recv_Data, Give_Peripheral_Infor,
IrDA-Control_Status_Change, Abort_Indication.
Figure 5. Interface Between PE and μP
PE
MSG
SO
RDY
SI
SCK
CMD
IN1
IN2
IN3
OUT4
OUT5
OUT6
μ
P
FOR
CONTROL
MESSAGES
85194-5
COMMANDS