Get Status Request; Set Address Request - Philips PDIUSBD12 Firmware Programming Manual

Hide thumbs Also See for PDIUSBD12:
Table of Contents

Advertisement

Interconnectivity
Firmware Programming Guide for PDIUSBD12

7.2 Get Status Request

In the Get_Status request, MCU will have to return the status for the specific recipient. In our case, MCU will
need to determine again the recipient of the request. If the request is to the device, then MCU will have to return
the status of the device to the host. For system having remote wakeup and self-power capabilities, the returning
data will be 0x0003. If the recipient is an interface, then MCU should return 0x0000 to the host.
Yes
Return Interface
status to host

7.3 Set Address Request

In the Set address request, the device will get the new address from the content of the setup packet. Note that
this set address request does not have a data phase. Therefore, MCU will need to write a zero length data packet
to the host as the acknowledgment phase.
Get_Status
Is recipient a
Yes
device?
No
Return Device
status to host
Is recipient an
interface?
No
Is recipient an
No
endpoint?
Yes
Return Endpoint
Unsupported
status to host
Command
End of Get_Status
Set Address
Write new address
to device_addr register
Sent zero length
packet to Host.
End Set Address
Philips Semiconductors - Asia Product Innovation Centre
Visit
http://www.flexiusb.com
Page 16 of 22

Advertisement

Table of Contents
loading

Table of Contents