at85c51snd3b ATMEL Corporation, at85c51snd3b Datasheet - Page 128

no-image

at85c51snd3b

Manufacturer Part Number
at85c51snd3b
Description
Single-chip Digital Audio Decoder - Encoder With Usb 2.0 Interface
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at85c51snd3b1-7FTUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at85c51snd3b1-RTTUL
Manufacturer:
Atmel
Quantity:
10 000
Device Detection
Pipe Selection
128
AT85C51SND3B
The Host controller enters in Suspend state when the USB bus is in Suspend state, i.e.
when the Host controller doesn’t generate the Start of Frame. In this state, the USB con-
sumption is minimum. The Host controller exits to the Suspend state when starting to
generate the SOF over the USB line.
A Device is detected by the USB controller when the USB bus if different from D+ and
D- low. In other words, when the USB Host Controller detects the Device pull-up on the
D+ line. To enable this detection, the Host Controller has to provide the Vbus power
supply to the Device.
The Device Disconnection is detected by the USB Host controller when the USB Idle
correspond to D+ and D- low on the USB line.
Prior to any operation performed by the CPU, the Pipe must first be selected. This is
done by:
The CPU can then access to the various Pipe registers and data.
In the same manner, if the Pipe must be accessed by the DFC, it must first be selected.
This is done by:
The DFC can then access to the banks (read / write).
The controller internally keeps in memory the PNUM for the CPU and the PNUM for the
DFC. In fact, there are 2 PNUM registers multiplexed by the PNUMS bit. Each of them
can be read or written by the CPU.
These two registers permits to easily switch from a Pipe under DFC data transfer to the
default control Pipe when a SETUP has to be sent, without reprogramming the EPNUM
register:
Clearing PNUMS.
Setting PNUM with the Pipe number which will be managed by the CPU.
Setting PNUMS.
Setting PNUM with the Pipe number which will be managed by the DFC.
Setting DFCRDY when the data-flow is ready to take place.
Set PNUMS,
PNUM = Pipe
Set DFCRDY when the DFC transfer is ready to take place,
...<DFC transfer>...
SETUP required on Pipe
Clear DFCRDY to freeze the DFC transfer,
PNUMS cleared,
PNUM = Pipe
Manage Pipe
Set DFCRDY. This resumes the DFC transfer.
0
x
0
data
0
,
7632C–MP3–11/06

Related parts for at85c51snd3b