ADVANCE INFORMATION TIGER560 USB Controller for Low Cost VoIP solutions Includes SLIC and Codec interfaces and support circuitry to enable high integration/low cost telephone and handset to USB interfaces Implements the Microsoft interface for USB audio devices and is able to use the standard Microsoft driver included with Windows Features Performs all required USB interfacing and control functions for interfacing a regular phone or phone handset to the PC via USB. Audio functions − USB audio class device mode − Able to use Microsoft audio USB driver − 8 bit µ-Law CODEC interface − µ-Law to PCM16 translation − Record volume control − Playback volume control − Automatic audio mute PCM interface, support for; − Silicon Labs Si3211 ProSLIC − MC145480 audio codec − Many popular codecs/SLICs − Master/Slave operation − TDM, IOM2, GCI − Short and long frames − Multiple configuration options SPI uP interface Bus − 4-wire interface − Byte serial data transfer Choice of USB descriptor tables − Audio device class − EPROM download − Legacy Tiger500 Peripheral Interface Bus (PIB) − Easy connection of most popular peripheral chips − Byte-wide data − 6 address lines − 7 general purpose control lines − Read control signal − Write control signal − Reset control signal 4Mbit parallel interface − 8bit bi-directional port − ISO transfer − Up to 4Mbit USB interface − Full speed 12MBps USB node − On chip USB transceiver − Digital PLL − Physical Layer Interface (PHY) − Media access controller (MAC) − Bus or self powered − Suspend/resume supported − USB specification 1.1 compliant − On chip 3.3V regulator Device features − Single 12MHz crystal oscillator − 5V operation − Onboard 3.3V regulator − 100 pin PQFP package − 0.65mm lead pitch This document contains information on a new product. Specifications and information herein are subject to change without notice. All brand names and product names appearing in this document are registered trademarks or trademarks of their respective holders. Revision 1.1 released on 2/20/01 ©TigerJet Network Inc Page 1 Tiger560 Advance Information General Description VoIP (Internet Phone) applications are becoming increasing popular as VoIP can provide free or low-cost calling worldwide. Early users of VoIP have attempted to use the existing PC sound card and have suffered poor call quality due to echoes and other problems. To provide a VoIP experience that is the same as using a regular phone and eliminate the poor call quality that results from using the PC sound card, TigerJet has developed the Tiger560 USB controller that enables a regular phone, handset or headset to be interfaced to the USB port on the PC. With the Tiger560 OEMs can quickly bring to market a family of low cost high quality VoIP products. The Tiger560 USB registers are compatible with the Microsoft USB audio driver and the Tiger560 is able to use the Microsoft written and supported driver directly. For many audio applications such as phone handsets or headsets, no additional software drivers are required. By using the standard Microsoft USB audio driver all popular Internet Telephony applications are supported and users will be able to make free or low cost calls with the same user experience as using a regular phone. For phone handset or headset to USB applications, a low cost 8bit u-law “telephone” codec can be directly interfaced to the Tiger560 to provide a very highly integrated and low cost solution. For this type of product only the Microsoft USB audio driver is required. For regular phone to USB applications, a SLIC (subscriber line interface chip) can be interfaced to the Tiger560. The SLIC interfaces to the phone via the standard RJ-11 connector. The Tiger560 provides the USB interfacing and control. Reference drivers are available that enable the phone to ring, provide on hook/off hook detection and implement DTMF decode. The Tiger560 incorporates an SPI interface, TDM/IOM2/GCI serial interface and a peripheral Interface Bus (PIB). The PIB has byte wide data, 6 address lines, 8 configurable control lines and read and write lines. Ordering information The order code for the Tiger560 is Tiger560. Revision 1.1 released on 2/20/01 Page 2 Tiger560 Advance Information Memory I/F Crystal XTAL2 XTAL1 SAD[14:0] SDA[7:0] SWE# Functional Block Diagram Clock PCM Datapath Logic Control Logic HA[3:0] HD[7:0] READ# WRITE# EXTRST AUX[6:0] Tiger560 D- D+ USB Interface Peripheral Interface Logic DCLK FSC DIN DOUT Revision 1.1 released on 2/20/01 Page 3 Tiger560 Advance Information Typical Implementation PCM Highway Audio Codec Standard telephone handset Control Logic SPI Interface USB Interface Tiger560 USB “RJ-11” cord PCM Highway Control Logic SLIC SPI Interface USB Interface Tiger560 Standard telephone USB Revision 1.1 released on 2/20/01 Page 4 Tiger560 Advance Information Table of Contents FEATURES GENERAL DESCRIPTION ORDERING INFORMATION FUNCTIONAL BLOCK DIAGRAM TYPICAL IMPLEMENTATION TABLE OF CONTENTS PIN-OUT Pin-out diagram Pin assignment by pin number Signal assignments by functional category Signal descriptions FUNCTIONAL DESCRIPTION Peripheral Interface Bus (PIB) Typical connection of a Peripheral using the Tiger560 PIB AUX lines Dual function AUX lines USB Interface Chip mode selection USB vendor and product I.D.s USB descriptor table – EPROM download Vendor Commands Interrupt Transfer Serial Port Interface Tiger500 mode: Serial port signals Tiger500 mode: Serial port data transfer Tiger560 mode (Audio class device): Serial port data transfer 4Mbit Parallel Port Interface signals Signal timing for the 4Mbit Parallel Port Software settings Data transfer SPI micro-controller interface Register addressing General Control Register General Control 0x00 Serial Bus Registers Serial Bus Control Register 0x01 Second Frame Sync Time Slot 0x02 USB Vendor Command Registers Status Write Counter 0x05 Status Read Counter 0x06 PIB Aux Port Control PIB Aux Port Data 0x12 PIB Aux Control 0x13 PIB Aux Polarity 0x14 PIB Wake up input 0x15 SRAM Delay 0x17 Interrupt Polling Address 0x18 Audio control register 0x1f Microphone mute Control 0x20 Speaker Mute Control 0x21 Microphone volume low byte 0x22 Microphone volume high byte 0x23 Speaker Volume low byte 0x24 Speaker Volume high byte 0x25 Serial uP interface first data 0x26 Serial uP interface second data 0x27 Revision 1.1 released on 2/20/01 1 2 2 3 4 5 7 7 8 9 10 11 11 11 11 11 13 13 14 14 15 16 17 17 17 18 19 19 19 20 20 21 22 22 22 23 23 23 24 24 24 24 24 24 25 25 25 25 26 27 27 27 27 28 28 28 28 Page 5 Tiger560 Serial uP interface third data 0x28 Serial uP interface control register 0x29 TDM FS delay control 0x2a AUX pin input level / edge selection 0x2b AUX pin edge selection 0x2c AUX trigger register reset 0x2d Audio Feedback control 0x2e Audio reference value low byte 0x2f Audio reference value high byte 0x30 ABSOLUTE MAXIMUM RATINGS OPERATING RANGES D.C. CHARACTERISTICS A.C. CHARACTERISTICS PIB timing Serial bus timing WAVEFORMS PIB waveforms Serial bus waveforms APPLICATION SCHEMATICS PHYSICAL DIMENSIONS LEGAL WORDS HOW TO REACH TIGERJET Revision 1.1 released on 2/20/01 Advance Information 29 29 30 30 30 30 31 31 31 32 32 32 33 33 33 34 34 34 35 36 37 37 Page 6 Tiger560 Advance Information Pin-out 81 Vcc GND DCLK 83 82 91 90 89 88 87 86 85 84 Vcc3 DPLUS DMINUS GND RESET# NC AUX6 AUX5 DOUT DIN FSC 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 AUX4 AUX3 AUX2 AUX1 AUX0 Vcc HA0 HA1 HA2 HA3 EXTRST# GND WRITE# READ# HD0 HD1 HD2 HD3 GND Vcc HD4 HD5 HD6 HD7 SWE# SDA0 GND SDA1 SDA2 SDA3 GND SAD9 SAD8 SAD7 SAD6 GND Vcc SAD5 SAD4 SAD3 SAD2 GND SAD1 SAD0 SDA7 SDA6 SDA5 GND Vcc SDA4 GND GND GND GND GND GND GND GND GND VCC GND GND GND GND GND GND GND GND GND GND Vcc Vclk GND GND GND SAD14 SAD13 SAD12 SAD11 SAD10 100 99 98 97 96 95 94 93 92 GND GND Vcc GND XTAL2 XTAL1 Pin-out diagram Revision 1.1 released on 2/20/01 Page 7 Tiger560 Advance Information Pin assignment by pin number Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 Name GND GND GND GND GND GND GND GND GND VCC5 GND GND GND GND GND GND GND GND GND GND VCC5 VCLK VS GND GND SAD14 SAD13 SAD12 SAD11 SAD10 GND SAD9 SAD8 SAD7 Revision 1.1 released on 2/20/01 Pin 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 Name SAD6 GND VCC5 SAD5 SAD4 SAD3 SAD2 GND SAD1 SAD0 SDA7 SDA6 SDA5 GND VCC5 SDA4 SDA3 SDA2 SDA1 GND SDA0 SWE# HD7 HD6 HD5 HD4 VCC5 GND HD3 HD2 HD1 HD0 READ# Pin 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 Name WRITE# GND EXTRST# HA3 HA2 HA1 HA0 VCC5 AUX0 AUX1 AUX2 AUX3 AUX4 DCLK GND VCC5 FSC DIN DOUT AUX5 AUX6 NC RESET# GND DMINUS DPLUS VCC3 XTAL1 XTAL2 GND VCC5 GND GND Page 8 Tiger560 Advance Information Signal assignments by functional category Ground pins (these pins to be grounded for minimum power consumption) Name Pin Gnd 19 Gnd 24 Gnd 99 Gnd 100 Gnd 1 Gnd 2 Gnd 3 Gnd 4 Gnd 6 Gnd 7 Gnd 23 Gnd 8 Gnd 9 Gnd 12 Gnd 13 Gnd 14 Gnd 16 Gnd 17 Gnd 18 Serial Ports Name Pin DCLK 81 DIN 85 DOUT 86 FSC 84 Name VCC5 VCC3 GND Memory Interface Name Pin SAD0 44 SAD1 43 SAD10 30 SAD11 29 SAD12 28 SAD13 27 SAD14 26 SAD2 41 SAD3 40 SAD4 39 SAD5 38 SAD6 35 SAD7 34 SAD8 33 SAD9 32 SDA0 55 SDA1 53 SDA2 52 SDA3 51 SDA4 50 SDA5 47 SDA6 46 SDA7 45 SWE# 56 VCLK 22 USB Ports Name Pin DMINUS 92 DPLUS 93 Peripheral Interface Bus Name Pin AUX0 76 AUX1 77 AUX2 78 AUX3 79 AUX4 80 AUX5 87 AUX6 88 EXTRST# 70 HA0 74 HA1 73 HA2 72 HA3 71 HD0 66 HD1 65 HD2 64 HD3 63 HD4 60 HD5 59 HD6 58 HD7 57 READ# 67 WRITE# 68 Control Signals Name Pin RESET# 90 XTAL1 95 XTAL2 96 Power and Ground Pin 10, 21, 37, 49, 61, 75, 83, 98 94 5, 11, 15, 20, 25, 31, 36, 42, 48, 54, 62, 69, 82, 91, 97 Revision 1.1 released on 2/20/01 Page 9 Tiger560 Advance Information Signal descriptions Signal Name AUX0 Type I/O Description PIB aux port bit 0 AUX1 I/O PIB aux port bit 1 AUX2 AUX3 AUX4 AUX5 AUX6 DCLK DIN DMINUS DOUT DPLUS EXTRST# FSC HA0 HA1 HA2 HA3 I/O I/O I/O I/O I/O I/O I I/O I I/O O I/O I/O I/O I/O I/O PIB aux port bit 2 PIB aux port bit 3 PIB aux port bit 4 PIB aux port bit 5 PIB aux port bit 6 Serial port data clock Serial port data input USB DSerial port data output USB D+ PIB reset Serial port frame sync PIB address 0 PIB address 1 PIB address 2 PIB address 3 HD0 – HD7 READ# RESET# SAD0 – SAD12 I/O O I O PIB data bus PIB read System reset input Memory address bus SAD13 O Memory address bus SAD14 O Memory address bus SDA0 – SDA 7 I/O Memory data bus VCC3 VCLK WRITE# XTAL1 XTAL2 O I/O O I O 3.3V output for USB port Memory clock PIB write Crystal oscillator Crystal oscillator Revision 1.1 released on 2/20/01 Alternate function(s) PIB HA4 SPI interface CDIN PIB HA5 SPI interface CDOUT USB suspend output Audio feedback comparison output ROMCS# Product ID [15] input on reset Self/bus power input on reset Serial uP interface CSB Serial uP interface CCLK HA[3:2] : mod selection 00: Tiger500 mode 01: New Tiger560 USB DP table 10: Testing mode 11: Use external ROM for USB DP Vendor ID [8 – 15] input on reset Product ID [0 – 12] input on reset SAD0 -10 for ROMAD0 -10 Product ID [13] input on reset 4Mbit parallel port WR# Product ID [13 – 14] input on reset 4Mbit parallel port RD# Vendor ID [0 – 7] input on reset 4Mbit parallel port data bus ROMDA0 - 7 Page 10 Tiger560 Advance Information Functional description Peripheral Interface Bus (PIB) To enable a “glueless” interface to most popular peripheral chips, the Tiger560 implements a Peripheral Interface Bus (PIB). The PIB consists of a 6 bit address bus, HA[5:0], 8 bit data bus, HD[7:0], READ#, WRITE#, EXTRST# (external reset) and 8 AUX lines. Typical connection of a Peripheral using the Tiger560 PIB Tiger560 PIB HD[7:0] Data[7:0] HA[3:0] ADO[3:0] READ# RD- WRITE# WR- E XTRST# Peripheral chip Reset- All of the address, data and control lines are fully qualified and can be connected without any additional glue logic to a wide range of peripheral chips. AUX lines AUX[6:0] can be individually programmed as inputs or outputs. Register 0x13 determines which AUX pins are defined as inputs and which are defined as outputs. Bit0 in the register controls the state of AUX0, bit1 controls AUX1 etc. A 1 in the register defines an AUX line as an output. A 0 defines the appropriate line as input. On hard reset all AUX lines float and are defined as inputs. The status of the AUX lines can be read from register 0x12. The actual AUX line value will be read irrespective of it being an input or output. AUX line inputs can be inverted individually with register 0x15. This is useful for determining the active polarity of the AUX line when used for Wake-up. This register does not change signal polarity when the AUX lines are used for Interrupt or Suspend. Please note: on the current silicon revision of the Tiger560 AUX3 and AUX4 must both be either an input or an output, please contact TigerJet if you need further clarification. Dual function AUX lines Register 0x00 enables individual enabling of HA[5:4] and Suspend. Register 0x29 bit 5 enables SPI pin definition. These functions are described below in turn. Revision 1.1 released on 2/20/01 Page 11 Tiger560 Advance Information Address lines HA4 and HA5 AUX pins 1 and 0 can be set as two additional address lines, HA[5:4], to increase the address space. The control logic is detailed below. Enable 2 D1 O 2 Register 0x13 [1:0] D0 MUX SEL HA [5:4] 2 2 2 D1 O 2 AUX [1:0] 2 Register 0x12 [1:0] D0 MUX SEL Register 0x00 [3] Suspend# The control logic for switching between AUX line 2 and Suspend# is detailed below. Enable D1 Register 0x13 [2] O D0 MUX SEL Suspend# D1 Register 0x12 [2] D0 O AUX [2] MUX SEL Register 0x00 [4] Revision 1.1 released on 2/20/01 Page 12 Tiger560 Advance Information Wake up logic 7 WAKEUP# 8 AUX [6:0] Register 0x14 [7:0] 8 Register 0x15 [7:0] 8 The wake up signal can be generated from any of the AUX lines, Register 0x15 selects the AUX lines to be monitored, writing a 1 to the appropriate register location will enable monitoring of a appropriate AUX line. Register 0x14 selects the polarity of the AUX input, a 1 will invert the incoming signal and result in wake up on a high input. USB Interface The Tiger560 implements a fully compliant USB 1.1 interface. The USB line drivers and 3.3 volt regulator are included on chip and the Tiger560 can be connected directly to the USB bus. Chip mode selection HA[3:2] reset latched value determines the operating mode of the Tiger560. HA[3:2] 00 01 10 11 Chip mode USB device descriptor table is the same as Tiger500 USB device descriptor table with AUDIO class device descriptor table. Product ID [15:2] with chip operation setting Test mode USB device descriptor table from external ROM. ROMCs# from AUX[6] ROMAD[9:0] = SAD[9:0] ROMDA[7:0] = SDA[9:0] Revision 1.1 released on 2/20/01 Page 13 Tiger560 Advance Information USB vendor and product I.D.s The USB vendor and product I.D.s are set by pull-up and pull down resistors on the following pins. Vendor I.D. bits 0 – 7 on SRAM data bus SDA0 – SDA7 Vendor I.D. bits 8 – 15 on PIB data bus HD0 – HD7 Product I.D. bits 0 – 14 on SRAM address bus SAD0 – SDA14 Product I.D. bit 15 on PIB address HA0 On reset the inputs are read into internal registers, it is important to ensure that peripheral devices connected to these inputs tri-state their outputs on reset. ProductID[15:14] ProductID[13:12] ProductID[11] ProductID[10] ProductID[9] ProductID[8] ProductID[7:6] ProductID[5] ProductID[4] ProductID[3] ProductID[2] 00: Video only USB device descriptor table 01: Audio only USB device descriptor table 10: Video + Audio USB device descriptor table 00: max power 500 ma 01: max power 400 ma 10: max power 300 ma 11: max power 250 ma 0: No USB wake up function support 1: Support USB wake up function 0: Audio data from serial port audio codec channel number 0 1: Audio data from serial port audio codec channel number 1 0: Audio data shift direction MSB first 1: Audio data shift direction LSB first 0: Normal Audio data clock input 1: Inverted Audio data clock input 00: no change 01: Double Audio data clock input with 30ns delay 10: Double Audio data clock input with 40ns delay 11: Double Audio data clock input with 50ns delay 0: AUX[2]/Suspend# output low active 1: AUX[2]/Suspend# output high active 0: Disable internal PLL, use 48Mhz crystal 1: Enable internal PLL, use 12Mhz crystal 0: Normal operation 1: Force serial port clock DCLK as input pad 0: Normal operation 1: Force serial port FSC as input pad USB descriptor table – EPROM download The Tiger560 can be programmed to download the USB descriptor table from EPROM If Tiger560 set to use the descriptor table from EPROM, the product ID[15:2] is set to program the internal function setting. Revision 1.1 released on 2/20/01 Page 14 Tiger560 Advance Information Vendor Commands The Tiger560 uses the USB vendor command to access the internal registers and parallel port interface. For the most efficient transfer of data, the Tiger560 allows for multiple transfers in a single vendor command, in addition, multiple transfers can be to a single location or can increment with each transfer. For each vendor command that is issued the access timing can be defined. An additional feature of the Tiger560 is that a vendor command can implement “check-beforedoing”. The vendor command specifies the status source location and specifies the mask for the status value. Tiger560 will first read the status value from the specified location and AND it with the mask value. If the ANDed value is TRUE, the read operation will be performed. The checking is repeated until the FAIL condition is detected. When a FAIL condition occurs the transfer will be halted and no more transfers will take place until next vendor command. The number of operations prior to the fail can be read from internal registers 0x05 and 0x06. Vendor Command byte 0: Request-type Bit 7 indicates the type of operation. If this bit is set to 1, this vendor command will read data from the Tiger560 to the host. If this bit is set to 0, the command is for write operation. For the read operation, set this byte to 0xC0. For the write operation, set this byte to 0x40. Vendor Command byte 1: Request Bit 0 indicate the operation of address lines. When this bit is 0, internal address counter will automatically increase by one for the next data transfer. Setting this bit to 1 will force the address counter to keep the same value for all the data transfer until next vendor command. Bits 2 and 1 specify the pulse width for the command. When set to 0, will have 2 cycles of command pulse. The timing is based on a 24 MHz system clock for about 42 ns per cycle. Value 1 of bit 2 and 1 has 3 cycle; set to 2 has 8 cycle and set to 3 has the longest pulse width for 16 cycles. Setting bit 3 to 1 will activate the mask and status checking operation. Vendor Command byte 3 and 2: Value Byte 2 is the status address and byte 3 is the mask value. Tiger 560 will read the status value from the status address and AND it with byte 3 mask value for the status checking. Vendor Command byte 5 and 4: Index This is the address field for the vendor command. Byte 5 is not used because the Tiger560 only requires a 256 location address space. The address space 0x00 to 0xBF is used for the Tiger560’s internal registers. Address space 0xC0 to 0xFF is used for the PIB. When addresses above 0xC0 are accessed, the PIB READ# or WRITE# signals will be generated. Address 0x00 to 0xBF 0xC0 to 0xFF Bit 7 0 0 1 Bit 6 0 1 0 Bit 5 1 1 HA5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Internal register address space HA4 HA3 HA2 HA1 HA0 PIB address space Vendor Command byte 7 and 6: Count Byte 6 specifies the number of bytes to transfer. Byte 7 is not used. The Tiger560 can support up to 255 transfer operations. For the check-before-doing operation, this field indicates the maximum Revision 1.1 released on 2/20/01 Page 15 Tiger560 Advance Information number of transfers to be performed. The actual transfer count will be in register 0x05 and 0x06 depending the type of operation. Interrupt Transfer USB Endpoint 5 is used for the interrupt transfer on the Tiger560. The polling interval is 1ms. Each time polling occurs, 2 bytes of data will be transferred from the Tiger 560 to the host. The first byte of data is the value of AUX pins current state. The second byte is the value of specified source. Register 0x18 is defined as the location for this byte. Only the external PIB will be used for the polling. Setting bits 7 and 6 in register 0x18 to 1 will enable the PIB interrupt status polling. The polling operation will not conflict with any vendor command because the polling will be performed in every USB SOF (Start-Of-Frame) package. Byte one will show the current status of any interrupt line connected to the AUX pins and byte two will be the value of the interrupt status of the peripheral (external) device. Revision 1.1 released on 2/20/01 Page 16 Tiger560 Advance Information Serial Port Interface The Tiger560 serial port consists of one data clock (DCLK), one frame synchronization clock (FSC) and two data lines (DIN and DOUT). DCLK and FSC can either be inputs or outputs to the Tiger560. DCLK can either be the same as the data rate or twice the data rate. If DCLK is the same as the data rate the internal clock doubler should be turned on for correct operation. The serial port interface is controlled by two sets of registers based on the Tiger560 chip mode selection. If Tiger560 is set to use original Tiger500 USB descriptor mode(HA[3:2]==2’b00), the serial port interface is controlled by the same set of registers as Tiger500. If Tiger560 is set to use the Tiger560 USB descriptor (HA[3:2]==2’b01) and the audio class device is enabled (productID[15:14] == 2’b01 or 2’b10), the serial port interface is controlled by productID definition and a set of registers that is specific to the Tiger560. For detailed register definition please see the registers section. Tiger500 mode: Serial port signals The FSC input should be an 8 KHz clock. Within one FSC period, the first 32 bits of data are transmitted and received. The data is clocked in and out on by the DCLK. For details on the serial port timing please see the timing diagram in the section on A.C. characteristics. 125uS FSC DIN DOUT 32 bits DOUT is open-collector, it should be pulled high with an external pull-up resistor. Outside the 32 bit data transfer window, DOUT pins can be forced to drive low by setting bit 3 in register 0x01. This option allows certain types of peripherals to activate the data clock. Tiger500 mode: Serial port data transfer Tiger560 USB Endpoint 3 and Endpoint 4 are used for the serial port data transfer. Each pipe will transfer 37 bytes of data each USB isochronous transfer. Endpoint 3 will communicate the serial port data back to host and Endpoint 4 will transfer output data to serial port. The serial port clock is asynchronous to the USB clock, so an adaptive endpoint design is used. Endpoint 3 provides the data rate information and feedback to the host. Host receives the data rate information and decides the transfer rate to Endpoint 4. The data rate information is in the byte one of the transferred data stream. Three possible value are defined, 32, 28 and 36. For 8 KHz of frame clock, every 1 ms, 32 bytes of data will be transferred. Endpoint 3 will adjust the transfer count with either 28 or 36 based on the difference between the serial port clock and USB clock. The host is required to send the same amount of data to Endpoint 4 for the synchronization. Both endpoints have the same data format. The first byte is the number of valid data bytes. The following bytes are the valid data. Stuff bytes are attached at end of valid data so the total number of bytes is 37. Revision 1.1 released on 2/20/01 Page 17 Tiger560 Advance Information Tiger560 mode (Audio class device): Serial port signals The FSC should be an 8Khz clock. Within one FSC period, 8 bits of µ-law audio data are transmitted and received. The channel/slot number can be programmed through productID[10]. When productID[10] is set to 0 the first 8bits after the frame sync is used, when productID[10] is set to 1 the second 8bits is used. 125uS FSC DIN DOUT 8bit u-law audio data stream Tiger560 mode (Audio class device): Serial port data transfer Tiger560 USB Endpoint 6 and Endpoint 7 are used for the audio data transfer. 16-bit PCM audio format is supported. Each USB isochronous transfer will carry 8 samples with 16 bytes of data. Endpoint 6 is for wave-out device and Endpoint 7 is for wave-in device. The Tiger560 translates audio samples between 8bit µ-law and 16-bit PCM format. Each audio stream direction has a USB feature unit to control the volume. Tiger560 will perform hardware volume scaling based on the USB SET_CUR volume command. The mute control is supported for both the speaker and microphone audio streams. Auto audio feedback comparison logic will monitor the input audio stream. When the value exceeds the set reference value, it will automatically mute the audio output stream to prevent audio feedback or echo. The reference value for the muting is controlled through internal registers 0x2f and 0x30. Revision 1.1 released on 2/20/01 Page 18 Tiger560 Advance Information 4Mbit Parallel Port The Tiger560 provides a 4Mbit, 8-bit parallel port interface for support of external peripherals that require a high-speed USB interface using ISO transfer. Data can be transferred at 4Mbits/second in each direction. The circuitry used is shared with the EPROM interface and the 4Mbit Parallel port can only be used in a system that does not implement the optional EPROM. Interface signals There are 8 bi-directional data lines and 3 control lines, RD#, WR# and VCLK. The 11 interface lines are dual function shared pins. The data bus is shared with SDA[7:0], RD# is shared with SAD[14], WR# is shared with SAD[13]. VCLK should be configured as an output by setting 0x00 bit 7. When set as an output VCLK will produces a 48MHz reference clock. Signal timing for the 4Mbit Parallel Port 512 pulses 512 pulses RD# 512 pulses 512 pulses WR# 1 mS 1 mS 1. In each 1mS period there will be 512 read pulses and 512 write pulses. 2. Either read or write will occur first, the determination is made by the USB hub. 3. The read and write cycles will not overlap. VCLK VCLK RD# WR# DATA DATA VCLK is the 48MHz reference clock. Revision 1.1 released on 2/20/01 Page 19 Tiger560 Advance Information Software settings Two software settings are required to enable the 4Mbit parallel port. 1. Set the alternate interface setting to 4. This will enable the first ISO endpoint as 512 byte of read operation and the second ISO endpoint as 512 byte of write operation. 2. Set the internal register index 7 bit 0 to 1 to enable the high speed ISO. 3. Set register 0x00 bit 7 to 1 to enable VCLK as an output Data transfer When the interface is enabled, Tiger560 will start to monitor the USB interface for any matching ISO package. When it detects a matching ISO package, it will generate a read or write cycle for each byte transfer. The endpoint is defined as a 512-byte interface, so there will be 512 cycles in each ISO package. Each ISO package is a contiguous block of 512 bytes and will be completed in a 1ms interval. In each 1ms interval there is one ISO read and one ISO write. The order of read and write is scheduled by the USB hub controller and can be any combination and can change from one interval to the next. Revision 1.1 released on 2/20/01 Page 20 Tiger560 Advance Information SPI micro-controller interface To enable interface to many popular micro-controllers and serial peripheral devices such as SLICs etc, a 4-wire SPI interface has been implemented. The interface consists of a clock signal (CCLK), chip select (CSB), data input (CDIN) and data output (CDOUT). These signals share the HA[3], HA[2], AUX[0] and AUX[1] pins. The SPI interface is enabled when bit 5 of register0x29 is set to 1. Registers 0x26 to 0x29 are used to control the transfer of data. Each transfer can be either a 2byte transfer or a 3-byte transfer. For many micro-controllers, the first byte of the transfer is the command/address byte. The second byte is the data read or write. Generally the MSB of the first byte indicates a read or write operation, 0 indicates a write and a 1 indicates a read. The transfer can be programmed with a chip select (CBS) break between each byte transfer or without CSB break between each transfer. The speed and the phase of transfer clock also can be programmed through the Tiger560 register 0x29. CCLK CSB DIN 0 a6 a5 a4 a3 SDO a2 a1 a0 d7 d6 d7 d6 d5 d4 d3 d2 d1 d0 High impedance Serial write timing diagram CCLK CSB DIN 1 a6 a5 a4 a3 SDO a2 a1 a0 d5 d4 d3 d2 d1 d0 Serial read timing diagram Revision 1.1 released on 2/20/01 Page 21 Tiger560 Advance Information Registers Register addressing Tiger560 internal registers are accessed via USB end point. The internal registers are mapped from address 0x00 to 0x30. The PIB address lines HA[5:0] are mapped from 0xc0 to 0xff. General Control Register General Control 0x00 Bit 7 VCLK OE 6 USB reset enable 5 Reserved 4 Aux / Suspend 3 Aux / HA 2 IOM reset 1 Reserved 0 EXTRST# Type; R/W Default value: 40 VCLK OE 0 = Enable VCLK output (for 4Mbit Parallel Port) 1 = Disable VCLK output USB reset enable (Not used in Audio class device mode) 0 = Enable USB reset 1 = Disable USB reset Aux / Suspend 0 = AUX2 = AUX2 1 = AUX2 = SUSPEND# Aux / HA 0 = AUX[1:0] = AUX[1:0] 1 = AUX[1:0] = HA[5:4] IOM reset (Not used in Audio class device mode) 0 = Normal operation 1 = Reset IOM bus EXTRST# 0 = External reset pin on PIB low 1 = External reset pin on PIB high Revision 1.1 released on 2/20/01 Page 22 Tiger560 Advance Information Serial Bus Registers Serial Bus Control Register 0x01 Bit 7 Serial CLK select 6 Serial CLK select 5 Reserved 4 Reserved 3 DOUT force low 2 Serial CLK polarity 1 Reserved 0 DOUT enable 2 Reserved 1 Reserved 0 Reserved Type; R/W Default value: 00 Serial CLK select (Not used in Audio class device mode) 00 = Normal 01 = Clock doubler enabled, high period = 30nS 10 = Clock doubler enabled, high period = 60nS 11 = Clock doubler enabled, high period = 90nS DOUT force low (Not used in Audio class device mode) 0 = Normal operation 1 = Force DOUT to low Serial CLK polarity (No use in Audio class device mode) 0 = Normal 1 = Invert DOUT enable (No use in Audio class device mode) 0 = Tristate DOUT 1 = Enable DOUT Second Frame Sync Time Slot 0x02 Bit 7 FSC master mode 6 Serial CLK Output Invert 5 Serial Master Enable 4 Reserved 3 Reserved Type: R/W Default value: 00 FSC master mode source selection 0: from internal 48Mhz clock 1: from DCLK and divide by 256, DCLK needs to be 2.048Mhz. Serial CLK Output Invert (Not used in audio class device mode) Applies to TDM clock output in master mode only. 0 = Normal operation 1 = Invert TDM CLK Serial Master Enable (Not used in audio class device mode) 0 = Enable Serial Master, Serial CLK and FSC pins are set as outputs. 1 = Disable Serial Master, Serial CLK and FSC pins set as inputs. Revision 1.1 released on 2/20/01 Page 23 Tiger560 Advance Information USB Vendor Command Registers Status Write Counter 0x05 Bit 7 SWC7 6 SWC6 5 SWC5 4 SWC4 3 SWC3 2 SWC2 1 SWC1 0 SWC0 4 SRC4 3 SRC3 2 SRC2 1 SRC1 0 SRC0 4 AuxD4 3 AuxD3 2 AuxD2 1 AuxD1 0 AuxD0 Type; RO Default value: SWC[7:0] Write transferred byte number Status Read Counter 0x06 Bit 7 SRC7 6 SRC6 5 SRC5 Type; RO Default value: 00 SRC[7:0] Read transferred byte number PIB Aux Port Control PIB Aux Port Data 0x12 Bit 7 Reserved 6 AuxD6 5 AuxD5 Type; R/W Default value: 00 AuxD[6:0] Write = Sets the state of Aux lines configured as outputs Read = Reads the status of all Aux lines both inputs and outputs Note: Aux[1:0] can be configured to function as address lines 4 and 5 PIB Aux Control 0x13 Bit 7 Reserved 6 AuxC6 5 AuxC5 4 AuxC4 3 AuxC3 2 AuxC2 1 AuxC1 0 AuxC0 Type; R/W Default value: 00 AuxC[6:0] 0 = Line configured as an input 1 = Line configured as an output Note; On current Tiger560 silicon AuxC4 is not implemented, AUX4 is controlled by AuxC3. Revision 1.1 released on 2/20/01 Page 24 Tiger560 Advance Information PIB Aux Polarity 0x14 N.B. this register only changes polarity when used for wake up Bit 7 Reserved 6 AuxP6 5 AuxP5 4 AuxP4 3 AuxP3 2 AuxP2 1 AuxP1 0 AuxP0 2 AuxW2 1 AuxW1 0 AuxW0 Type; R/W Default value: 00 AuxP[6:0] 0 = Normal operation 1 = Invert the signals on the Aux pins when used for wake up PIB Wake up input 0x15 Bit 7 Reserved 6 AuxW6 5 AuxW5 4 AuxW4 3 AuxW3 Type; R/W Default value: 00 AuxW[6:0] 0 = Ignore input for wake up 1 = Select an input(s) to generate a wake up event SRAM Delay 0x17 Bit 7 Reserved 6 Reserved 5 Delay SRAM WR# 1 4 Delay SRAM WR# 0 3 Reserved 2 Reserved 1 Reserved 0 Reserved 4 Int P Add 4 3 Int P Add 3 2 Int P Add 2 1 Int P Add 1 0 Int P Add 0 Default value: 00 Delay SRAM WR# [1:0] 00 = Delay 8nS 01 = Delay 4nS 10 = Delay 12nS 11 = Delay 16nS Interrupt Polling Address 0x18 Bit 7 Int PE 1 6 Int PE 0 5 Int P Add 5 Type: R/W Default value: 00 Int PE [1:0] 00 = Disable PIB polling 01 = Disable PIB polling 10 = Disable PIB polling 11 = Enable PIB polling Int P Add [5:0] Interrupt PIB Polling Address Sets the address at which data from the PIB will be read into the interrupt pipe Revision 1.1 released on 2/20/01 Page 25 Tiger560 Advance Information Audio control register 0x1f Bit 7 Reserved 6 DOUT force low 5 Disable DOUT 4 Enable USB reset 3 Invert DCLK 2 TDM master mode 1 Reset TDM 0 Reserved Type: R/W Default value: 00 Reset TDM (only under Audio Class device mode) 0: normal operation 1: reset TDM block TDM master mode (only under Audio Class device mode) 0: TDM clock in slave mode 1: TDM clock in master mode Invert DCLK (only under Audio Class device mode) 0: normal operation 1: invert DCLK Enable USB reset (only under Audio Class device mode) 0: disable USB reset 1: enable USB reset Disable DOUT (only under Audio Class device mode) 0: normal operation 1: disable DOUT output DOUT force low (only under Audio Class device mode) 0: normal operation 1: force DOUT to low Revision 1.1 released on 2/20/01 Page 26 Tiger560 Advance Information Microphone mute Control 0x20 Bit 7 MPMC[7] 6 MPMC[6] 5 MPMC[5] 4 MPMC[4] 3 MPMC[3] 2 MPMC[2] 1 MPMC[1] 0 MPMC[0] 4 SMC[4] 3 SMC[3] 2 SMC[2] 1 SMC[1] 0 SMC[0] 4 MPV[4] 3 MPV[3] 2 MPV[2] 1 MPV[1] 0 MPV[0] 4 MPV[12] 3 MPV[11] 2 MPV[10] 1 MPV[9] 0 MPV[8] Type: R/W Default value: 00 Microphone mute Control 0: normal audio not equal to 0: mute microphone Speaker Mute Control 0x21 Bit 7 SMC[7] 6 SMC[6] 5 SMC[5] Type: R/W Default value: 00 Speaker mute control 0: normal audio not equal to 0: mute Speaker Microphone volume low byte 0x22 Bit 7 MPV[7] 6 MPV[6] 5 MPV[5] Microphone volume high byte 0x23 Bit 7 MPV[15] 6 MPV[14] 5 MPV[13] Type: R/W Default value: 0xF600 Microphone Volume value [15:0] 5 level Volume control 0x0000 ~ 0xFE00 : Scale up X4 0xFDFF ~ 0xFB00 : Scale up X2 0xFAFF ~ 0xF200 : No Scaling 0xF1FF ~ 0xD800 : Scale down X2 0xD7FF ~ 0x8000 : Scale down X4 Revision 1.1 released on 2/20/01 Page 27 Tiger560 Advance Information Speaker Volume low byte 0x24 Bit 7 SPV[7] 6 SPV[6] 5 SPV[5] 4 SPV[4] 3 SPV[3] 2 SPV[2] 1 SPV[1] 0 SPV[0] 4 SPV[12] 3 SPV[11] 2 SPV[10] 1 SPV[9] 0 SPV[8] 3 SPI1B3 2 SPI1B2 1 SPI1B1 0 SPI1B0 2 SPI2B2 1 SPI2B1 0 SPI2B0 Speaker Volume high byte 0x25 Bit 7 SPV[15] 6 SPV[14] 5 SPV[13] Type: R/W Default value: 0xD800 Speaker Volume value [15:0] 5 level Volume control 0x0000 ~ 0xFB00 : Scale up X4 0xFAFF ~ 0xE700 : Scale up X2 0xE6FF ~ 0xC900 : No Scaling 0xC8FF ~ 0xA200 : Scale down X2 0xA1FF ~ 0x8000 : Scale down X4 Serial uP interface first data 0x26 Bit 7 SPI1B7 6 SPI1B6 5 SPI1B5 4 SPI1B4 Type: R/W Default value: 00 SPI1B [7:0] Write as first serial uP interface write data byte Read ad first serial uP interface read data byte Serial uP interface second data 0x27 Bit 7 SPI2B7 6 SPI2B6 5 SPI2B5 4 SPI2B4 3 SPI2B3 Type: R/W Default value: 00 SPI2B [7:0] Write as second serial uP interface write data byte Read ad second serial uP interface read data byte Revision 1.1 released on 2/20/01 Page 28 Tiger560 Advance Information Serial uP interface third data 0x28 Bit 7 SPI3B7 6 SPI3B6 5 SPI3B5 4 SPI3B4 3 SPI3B3 2 SPI3B2 1 SPI3B1 0 SPI3B0 2 Clock speed selection[0] 1 Break between byte transfer 0 Start transfer / status Type: R/W Default value: 00 SPI3B [7:0] Write as third serial uP interface write data byte Read ad third serial uP interface read data byte Serial uP interface control register 0x29 Bit 7 3 byte operation 6 Transfer mode 5 Enable serial uP pin definition 4 Clock speed selection[2] 3 Clock speed selection[1] Type: R/W Default value: 00 3 byte operation 0: 2 byte transfer 1: 3 byte transfer Transfer Mode 0: normal operation 1: uneven clock transfer mode Enable serial uP pin definition 0: normal operation 1: enable serial uP pin definition Clock speed selection[2:0] 0: 320 ns per cycle 1: 640 ns per cycle 2: 960 ns per cycle ~ 15: 2560 ns per cycle Break between byte transfer 0: continue bit transfer without byte break 1: CSB pull high between byte transfer Start transfer /status Write 1 to start the data transfer Read 1 as busy and 0 for idle Revision 1.1 released on 2/20/01 Page 29 Tiger560 Advance Information TDM FS delay control 0x2a Bit 7 TFSDC7 6 TFSDC6 5 TFSDC5 4 TFSDC4 3 TFSDC3 2 TFSDC2 1 TFSDC1 0 TFSDC0 3 APS3 2 APS2 1 APS1 0 APS0 3 APES3 2 APES2 1 APES1 0 APES0 3 ATRR3 2 ATRR2 1 ATRR1 0 ATRR0 Type: R/W Default value: 00 TFSDC [7:0] Number of clock delay for FS input 0: no delay 1: one cycle delay 255: 255 cycle delay AUX pin input level / edge selection 0x2b Bit 7 APS7 6 APS6 5 APS5 4 APS4 Type: R/W Default value: 00 APS [7:0] Each bit corresponding to one AUX pin 0: AUX pin input as level 1: AUX pin input as edge trigger AUX pin edge selection 0x2c Bit 7 APES7 6 APES6 5 APES5 4 APES4 Type: R/W Default value: 00 APES [7:0] Each bit corresponds to one AUX pin 0: Trigger by rising edge of AUX input 1: Trigger by falling edge of AUX input AUX trigger register reset 0x2d Bit 7 ATRR7 6 ATRR6 5 ATRR5 4 ATRR4 Type: R/W Default value: 00 ATRR [7:0] Each bit corresponding to one AUX pin 0: normal operation 1: reset AUX trigged register Revision 1.1 released on 2/20/01 Page 30 Tiger560 Advance Information Audio Feedback control 0x2e Bit 7 Reserved 6 Reserved 5 Reserved 4 Reserved 3 Polarity of output 2 Enable AUX[5] output 1 Audio data format 0 Enable audio feeback Type: R/W Default value: 00 Polarity of output 0: normal operation 1: invert AUX[5] output Enable AUX[5] output 0: normal operation 1: set AUX[5] as output for the comparison result Audio data format 0: 2’s complemented audio data format 1: signed audio data format Enable audio feedback 0: no audio feedback comparison 1: enable audio feedback comparison Audio reference value low byte 0x2f Bit 7 ARV[7] 6 ARV[6] 5 ARV[5] 4 ARV[4] 3 ARV[3] 2 ARV[2] 1 ARV[1] 0 ARV[0] 4 ARV[12] 3 ARV[11] 2 ARV[10] 1 ARV[9] 0 ARV[8] Audio reference value high byte 0x30 Bit 7 Reserved 6 ARV[14] 5 ARV[13] Type: R/W Default value: 0xD800 Audio reference value [14:0] When the average (CONFIRM) audio input stream exceeds this value the output audio stream is muted. Revision 1.1 released on 2/20/01 Page 31 Tiger560 Advance Information Absolute Maximum Ratings Symbol Vcc Vin Vout TSTG Parameter Power Supply Input Voltage Output Voltage Storage Temperature Rating -0.3 to 6.0 -0.3 to Vcc+0.3 -0.3 to Vcc+0.3 -40 to 125 Units V V V °C Stresses above those listed under Absolute Maximum Ratings may cause permanent device failure. Functionality at or above these limits is not implied. Exposure to Absolute Maximum Ratings for extended periods may affect device reliability. Operating ranges Symbol Vcc(5V) Vcc(3.3V) VIN TOPR Parameter Power Supply Input Voltage Input Voltage Storage Temperature Min 4.5 2.7 0 0 Typ 5.0 3.3 Max 5.5 3.6 Vcc 70 Units V V V °C Min Typ Max 0.8 Units V V V V KΩ D.C. characteristics Symbol VIL VIH(3.3V) VOL VOH RI Parameter Input Low Voltage Input Voltage Output Low Voltage, IOL= 4mA Output High Voltage, IOH = 4mA Pull-up / Pull-down resistors Revision 1.1 released on 2/20/01 2.2 0.4 3.5 50 Page 32 Tiger560 Advance Information A.C. Characteristics PIB timing Symbol tAS tAH tP tRDS tRDH tWDS tWDH Parameter Address setup time Address hold time Command pulse width Read data setup time Read data hold time Write data setup time Write data hold time Min(nS) 120 40 80 5 0 80 40 Max(nS) Min(nS) Max(nS) 640 640 Serial bus timing Symbol tSC tDIS tDIH tDOS tDOH Parameter Serial clock period Data input setup time Data input hold time Data output setup time Data output hold time Revision 1.1 released on 2/20/01 Page 33 Tiger560 Advance Information Waveforms PIB waveforms tAS tP tAH tAS tWDS tAH HA tWDH READ# HD WRITE# tRDS tRDH Serial bus waveforms tSC DCLK FSC DIN tDIS tDIH DOUT tDOS tDOH Revision 1.1 released on 2/20/01 Page 34 Tiger560 Advance Information Application Schematics For application schematics please visit www.tjnet.com. Revision 1.1 released on 2/20/01 Page 35 Tiger560 Advance Information Physical Dimensions Revision 1.1 released on 2/20/01 Page 36 Tiger560 Advance Information Legal Words TigerJet reserves the rights to make changes without further notice to any products herein. TigerJet makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does TigerJet assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters which may be provided in TigerJet data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. TigerJet does not convey any license under its patent rights nor the rights of others. TigerJet products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or any other application intended to support or sustain life, or for any other application in which the failure of the TigerJet product could create a situation where personal injury or death may occur. Should Buyer purchase or use TigerJet products for any such unintended or unauthorized application, Buyer shall indemnify and hold TigerJet and its officers, employees, subsidiaries, affiliates and distributors harmless against all claims, costs, damages and expenses and reasonable attorney fees arising out of, directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that TigerJet was negligent regarding the design and manufacture of the part. TigerJet and TJNET are registered trademarks of TigerJet Network Inc. How to reach TigerJet TigerJet Network Inc. 50 Airport Parkway San Jose CA 95110 USA E-mail: [email protected] www.tjnet.com Revision 1.1 released on 2/20/01 Page 37