SLES003A Datasheet

  • SLES003A

  • Texas Instruments [USB Streaming Controller]

  • 487.38KB

  • TI

扫码查看芯片数据手册

上传产品规格书

PDF预览

2.2.2.7 ROM Support Functions
In order to conserve RAM memory resources on the TAS1020A, several USB-specific routines have been included
in the firmware resident in the on-chip ROM. The inclusion of these routines frees the application code from having
to implement USB-specific code.
The tasks provided by the ROM code include:
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
A USB engine for handling USB control endpoint data transactions and states
USB protocol handlers to support USB Chapter 9
USB protocol handlers to support USB HID Class
USB protocol handlers to support USB DFU Class
USB protocol handlers to support the common features of USB Audio Class commands
鈥?/div>
Feature Unit:
鈥?Set/get volume control
鈥?Set/get mute control
鈥?Set/get bass control
鈥?Set/get treble control
Mixer unit: set/get input/output gain control
End point: set/get the audio streaming endpoint sampling frequency
For unsupported case, the ROM code passes the requests to the application code for processing.
鈥?/div>
鈥?/div>
鈥?/div>
2.2.3
USB Enumeration
USB enumeration is accomplished by interaction between the host PC and the TAS1020A. As described in Section
2.2.2, the TAS1020A can identify itself as an application device by reporting its application Vendor ID and Product
ID, or it can identify itself as a DFU device by reporting a Vendor ID of 0xFFFF and a Product ID of 0xFFFE. If the
TAS1020A fails to detect the presence of an EEPROM, or if an EEPROM is present but does not contain a valid
header, the Vendor ID of 0xFFFF and Product ID of 0xFFFE are reported. If an EEPROM is present, but contains
only valid header data, the Vendor ID and Product ID settings in the EEPROM header are reported, but the TAS1020A
firmware comes up as a DFU device in the DFU program mode. If an EEPROM is present, and contains both a valid
header and application code, the TAS1020A comes up as an application specific device.
For all cases where the TAS1020A comes up in the DFU program mode, once application code has been
downloaded, the TAS1020A is reset by a host-issued USB reset. After this reset, the TAS1020A comes up as an
application device. When the TAS1020A comes up as an application device, the ROM-resident boot loader retrieves
the application code from the EEPROM, if the EEPROM is not a device EEPROM, and then runs the application code.
It is the application code that connects the TAS1020A to the USB. During the enumeration that follows connection
to the USB, the application code identifies the device as an application specific device and the host loads the
appropriate host driver(s).
The boot loader and application code both use the CONT, SDW and FRSTE bits to control the enumeration process.
鈥?/div>
The function connect (CONT) bit is set to a 1 by the MCU to connect the TAS1020A device to the USB. When
this bit is set to a 1, the USB DP line pullup resistor (PUR) output signal is enabled. Enabling PUR connects
the pullup on the PCB to the TAS1020A 3.3-V digital supply voltage. (When the TAS1020A powers up, this
bit is cleared to a 0 and the PUR output is in the high-impedance state.) This bit is not affected by subsequent
USB resets.
鈥?/div>
鈥?/div>
The shadow the boot ROM (SDW) bit is set to 1 by the MCU to switch the MCU memory configuration from
boot loader mode to normal operating mode. Once set to 1, this bit is not affected by subsequent USB resets.
The function reset enable (FRSTE) bit is set to a 1 by the MCU to enable the USB reset to reset all internal
logic including the MCU. However, the shadow the ROM (SDW) and the USB function connect (CONT) bits
are not reset. In addition, when the FRSTE bit is set, the reset output (RSTO) signal from the TAS1020A
device is active whenever a USB reset occurs. This bit, once set, is not affected by subsequent USB resets.
2鈥?

SLES003A相关型号PDF文件下载

您可能感兴趣的PDF文件资料

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!