at43312 ATMEL Corporation, at43312 Datasheet - Page 12

no-image

at43312

Manufacturer Part Number
at43312
Description
Self- And Bus- Powered Usb Hub Controller
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT43312
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at43312-6SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at43312A
Quantity:
5 510
Part Number:
at43312A
Manufacturer:
ATMEL
Quantity:
5 510
Part Number:
at43312A
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at43312A-55633C
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at43312A-AC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at43312A-SC
Manufacturer:
ATMEL
Quantity:
2 827
Part Number:
at43312A-SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at43312AAU
Manufacturer:
NXP
Quantity:
2 672
Standard Requests
Standard Requests, or commands, are sent to the
AT43312 from the Host on the AT43312's default pipe.
These requests are made using control transfers to
endpoint0. The request and request parameters are sent in
a Setup packet which consists of eight bytes. The following
sections describe which requests are supported by the
AT43312 and the corresponding responses, as well as
those requests not supported and responded with a STALL
packet. Please refer to the USB specifications for details
about the standard requests.
Clear_Feature [Device]
Disable remote wakeup feature.
Clear_Feature [Interface]
Not supported, respond with a STALL.
Clear_ Feature [ Endpoint]
Clear an endpoint’s halt status bit if the condition causing
the stall has been removed.
Get_Configuration
Return one byte of data. Bit 0 will be a copy of bit 0 of the
Controller_Status Register. All other bits will be set to 0.
Get_Descriptor
Return the appropriate descriptor. The last word of the
Get_Descriptor request specifies the number of bytes
AT43312 is to return. If the requested descriptor is longer
than the requested number of bytes, AT43312 will return
only the requested number of bytes from the top of the
descriptor. If the requested descriptor is shorter than the
requested number of bytes, then the AT43312 indicates the
end of the control transfer by sending a short data packet.
Get_Interface
The AT43312 has a single interface with a value of 0. If it
receives a Get_Interface request with the value of 0x0000
as wIndex (bytes 2), and it will return a single byte with the
value 0x00. For any other value of wIndex, the AT43312
will return a STALL.
Get_Status [Device]
Returns two bytes of data, byte 0 and byte 1, in little endian
order Byte 0, Bit 0 = 1, identifying the AT43312 as a self-
powered device. Byte 0, Bit 1 = copy of bit 1 of the
Controller_Status Register. This bit reflects whether the
AT43312’s remote wakeup capability is enabled or dis-
abled. All other bits are set to 0. Bus-powered mode: Byte
0, Bit 0 = 0, identifying the AT43312 as a bus-powered
device.
Get_Status [Interface]
Responds with two bytes of data with all 0 value.
Get_Status [Endpoint]
Responds with two bytes of data. The first bit of the first
byte returned reflects the status of the endpoint halt status
12
AT43312
bits of the Controller Status Register described on page 6.
These bits are set or cleared depending whether the end-
point is stalled or not :
Set_Address
Saves the value of bytes 2 and 3 in a temporary buffer, and
after successful completion of status stage, it will transfer
the value into the Hub_Address Register. This value will be
used as the Hub's address in all future transactions.
Set_Configuration
Sets bit 0 of the Controller_Status Register according to the
value of byte 2 of the Setup packet. The AT43312 has only
one configuration and it will set the bit only if byte 2 is either
00H or 01H, and bytes 3 to 7 are all zeroes. For any other
values, the Hub will respond with a STALL handshake
packet. If the value of byte 2 is 1, the AT43312 will be con-
figured. If 0, it will go to its unconfigured state.
Set_Descriptor
Not supported. Will send a STALL handshake packet.
Set_Feature [Device]
Enables its remote wakeup feature.
Set_Feature [Interface]
Not supported and will respond with a STALL.
Set_Feature [Endpoint]
Sets the stall status bit of the Controller Status Register.
The stalled endpoint now exhibits the same behavior as in
a stall condition.
Set_Interface
The AT43312 has a single interface and responds with a
STALL if a Set_Interface request is received with a value
other than 0x0000 as wValue (alternative setting, bytes 2
and 3).
Sync_Frame
Not supported. Will respond with a STALL packet.
Current Endpoint Status
Halt
Not halt
First Byte
01H
00H
Second Byte
00H
00H

Related parts for at43312