USB HOST DRIVER V03 Freescale Semiconductor / Motorola, USB HOST DRIVER V03 Datasheet - Page 119
![no-image](/images/no-image-200.jpg)
USB HOST DRIVER V03
Manufacturer Part Number
USB HOST DRIVER V03
Description
USB Host Driver v03
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.USB_HOST_DRIVER_V03.pdf
(160 pages)
- Current page: 119 of 160
- Download datasheet (3Mb)
7.2. Application overview.
7.2.1.
The sample demonstrates an audio loop-back through Isochronous USB firmware on the
ColdFire MCF5272. The sound data from a microphone is sent by the Client application
to the USB Device. The Client application receives this data from USB and the speech
may be heard on the headphones. Thus the audio source samples circulate over the bus
and returns to the audio output Device. In addition to the audio loop-back, the Device
performs some simple audio processing: changes the volume level according to the
commands that the Host Client sends during control transfers.
To perform a loop-back the application has to accomplish the following 4 tasks
simultaneously:
When adjusting the volume, the Client application sends a special command to the
Device (this task is not shown in the figure) using control transfers. On request of this
command, the ColdFire firmware performs volume processing, so that the PCM samples
that the Device returns, are not the same as those received from the microphone. Note
that due to buffering on the Host Client application and the Device firmware, the returned
samples will be delayed approximately ~200ms.
Another option is the sample rate selection. The following sample rates may be selected:
44kHz and 8 kHz. Each sample rate corresponds to a specified alternate setting on the
Device. Therefore sample rate selection changes the endpoints’ parameters, set according
to the interface alternate setting. For sound data transmission with the 44 kHz sample
rate, one short packet is transmitted for every 10 packets [3]. For 8 kHz sample rate, no
short packets are transmitted. For Device endpoints and interface configurations please
refer to [3]. The Stand-Alone firmware is somewhat different from the uClinux firmware
M
1) Takes PCM samples data from Sound-In (microphone for example)
2) Transfers Sound-In Samples to USB through Isochronous OUT endpoint
3) Receives Device loop-back results from Isochronous IN endpoint
4) Writes Device loop-back results to Sound-Out Device (speakers for example)
Speakers
MIC.
Sample Model.
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
Appendix 1:USB Audio Sample for MCF5272.
1
4
Fig 7.1 Sample model.
Client app.
Wave OUT
Wave IN
2
3
IN Endpoint
Endpoint
ColdFire
OUT
7-2
Related parts for USB HOST DRIVER V03
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![USB-USBH-CDCXXX-P-P1-PLATFORM](/images/no-image3.png)
Part Number:
Description:
UC/USB-Host Class: CDC (Communication Device Class) - Platform License
Manufacturer:
MICRIUM
![USB-USBH-CDCXXX-P-P1-PRODLINE](/images/no-image3.png)
Part Number:
Description:
UC/USB-Host Class: CDC (Communication Device Class) - Product Line License
Manufacturer:
MICRIUM
![USB-USBH-CDCXXX-P-P1-SINGLE](/images/no-image3.png)
Part Number:
Description:
UC/USB-Host Class: CDC (Communication Device Class) - Single Product License
Manufacturer:
MICRIUM
![USB-USBH-HIDXXX-P-P1-PLATFORM](/images/no-image3.png)
Part Number:
Description:
UC/USB-Host Class: HID (Human Interface Device Class) - Platform License
Manufacturer:
MICRIUM
![USB-USBH-HIDXXX-P-P1-PRODLINE](/images/no-image3.png)
Part Number:
Description:
UC/USB-Host Class: HID (Human Interface Device Class) - Product Line License
Manufacturer:
MICRIUM
![USB-USBH-HIDXXX-P-P1-SINGLE](/images/no-image3.png)
Part Number:
Description:
UC/USB-Host Class: HID (Human Interface Device Class) - Single Product License
Manufacturer:
MICRIUM
![USB-USBH-LPC17X-P-P1-PLATFORM](/images/no-image3.png)
Part Number:
Description:
UC/USB-Host Core On The NXP LPC17xx - Platform License
Manufacturer:
MICRIUM
![USB-USBH-LPC17X-P-P1-PRODLINE](/images/no-image3.png)
Part Number:
Description:
UC/USB-Host Core On The NXP LPC17xx - Product Line License
Manufacturer:
MICRIUM
![USB-USBH-LPC17X-P-P1-SINGLE](/images/no-image3.png)
Part Number:
Description:
UC/USB-Host Core On The NXP LPC17xx - Single Product License
Manufacturer:
MICRIUM
![USB-USBH-LPC23X-P-P1-PLATFORM](/images/no-image3.png)
Part Number:
Description:
UC/USB-Host Core On The NXP LPC23xx - Platform License
Manufacturer:
MICRIUM
![MSC7110](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
![MSC7116](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC7119](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC7118](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC8101](/images/no-image3.png)
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola