IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. 1. General Description The ISSC IS1002 is a highly integrated Bluetooth baseband controller providing capability for high data rate, short-range wireless communications in the 2.4 GHz ISM band. It is fully compliant with version 1.1 of Bluetooth specification and some important BT1.2 features. Specially engineered for low power consumption and cost effective solution, the ISSC IS1002 integrates a baseband controller, HCI controller, and Audio controller. It also integrates a Turbo 8051 processor with 160K mask ROM for program memory and 32K SRAM for data memory. The ISSC IS1002 is also available with a Bluetooth compliant protocol stack, including hardware drivers, link manager (LM), and host controller interface (HCI). 2. Features • • • • • • • • • • • • • • • • • • • • • Compliant with Bluetooth Specification 1.1/1.2 Full Bluetooth RF Interface & Lower Link Controller functions BlueRF Interfaces to leading Radio ICs Full-featured hardware link controller with low-power mode and efficient data movement architecture Hardware support for all Bluetooth 1.1 packet types including o Data packets: DM1, DM3, DM5; DH1, DH3, DH5; AUX, DV o Voice packets: HV1, HV2, HV3, DV o Link Control packets: ID, IQ, NULL, POLL, and FHS Flexible and robust voice CODEC algorithms (CVSD, A-law, µ-law), with 3 simultaneous SCO channels support. Baseband functions implemented in hardware such as Forward Error Correction (FEC), whitening, Header Error Check (HEC), Shorten Hamming Code, CRC generation/checking, and Encryption/De-encryption. Hardware permutation to speed up software Authentication. Point-to-multipoint support (Piconet). Scatternet support. BT1.2 Adaptive Frequency Hopping (AFH) supported. BT1.2 Fast Connection supported. Ultra-low low cost and power consumption features. Integrated Turbo 8051 processor. Integrated 32K bytes SRAM for common data buffer. Integrated 160K bytes Mask ROM for 8051 program memory. HCI universal connect interface provides access to other physical host interfaces (i.e. USB, UART.). Full-speed UART host interface. Selectable reference clock frequencies. Protocol Stack available, including drivers, link manager, and HCI. 48 QFN package Preliminary Datasheet page 1 Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. 3. Applications ISSC IS1002 can be applied to short-range wireless connectivity. Typical applications could include headsets, laptop and desktop computers, digital cameras, PDA’s, and wireless computer peripherals such as printers and wireless LAN cards. 4. Functional Diagram Memory mapped Register Bank RF Front End Bluetooth RF Bluetooth GFSK MOD De MOD Misc. (PLL & Clock divider) CPU Interface & Interrupt controller Controller Bluetooth Clock Timer TX Embedded Processor Turbo-51 GPIO Common Memory Controller RX 32KB Data RAM 160KB Program ROM 1.8V 1.8V & 2.8V Regulator 2.8V 3.3V Audio CODEC HCI Control logic Bluetooth Baseband Core Preliminary Datasheet page 2 USB UART Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. 5. Pin Assignment P2.1 P2.2 P2.3 P2.5 P2.6 P2.7 VSS VDD18 BAT_DET VDD_18O VSS_REG VDD_REG VDD_REG VSS_REG VDD_28O VSS VDD18 VDD_IO CLK_IN CLK_OUT RF_RXDATA RF_SPICLK RF_SPIRXD RF_SPISS VDD_IO VSS_USB DM_USB DP_USB VDD_USB HCI_RXD HCI_TXD UART_RXD UART_TXD RESET_N CLK32K_OUT CLK32K_IN VSS VDD18 P0.5 P0.4 P0.3 P0.2 P0.1 P0.0 RF_BLUE3 RF_RST RF_EN RF_HOPSTB Preliminary Datasheet page 3 Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. 6. Pin Descriptions Pin No. I/O 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 35 36 37 38 39 40 41 42 43 — — — — — — I O I/O O I/O O O O O O I/O I/O I/O I/O I/O I/O — — I O I O I O I — I/O I/O — — I/O I/O I/O I/O I/O I/O — Pin Name VDD_REG VSS_REG VDD28O VSS_IO_0 SVDD18 VDD_IO_0 XTAL_I XTAL_O bt_rf_rxdata bt_rf_spi_clk bt_rf_spi_rxd bt_rf_spi_ss bt_rf_hop_strb bt_rf_en bt_rf_rst bt_rf_blue3 P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 VDD_CORE VSS_IO CLK32K_I CLK32K_O RESET_n UART_TXD UART_RXD HCI_TXD HCI_RXD VDD_USB DP_USB DM_USB VSS_USB VDD_IO P2.1 P2.2 P2.3 P2.5 P2.6 P2.7 VSS Preliminary Datasheet Pin Descriptions Vdd input for regulator Regulator Vss 2.8V regulator output GND 1.8V Vdd 3.3V Vdd Main crystal Input Main crystal output RF Control RF Control RF Control RF Control RF Control RF Control RF Control RF Control 8051 General Purpose I/O Port 0 bit 0 8051 General Purpose I/O Port 0 bit 1 8051 General Purpose I/O Port 0 bit 2 8051 General Purpose I/O Port 0 bit 3 8051 General Purpose I/O Port 0 bit 4 8051 General Purpose I/O Port 0 bit 5 1.8Vdd Vss 32KHz crystal input 32KHz crystal input External low reset UART Tx data UART Rx data HCI UART Tx data HCI UART Rx data 3.3V Vdd for USB Vss for USB 3.3V Vdd 8051 General Purpose I/O Port 2 bit 1 8051 General Purpose I/O Port 2 bit 2 8051 General Purpose I/O Port 2 bit 3 8051 General Purpose I/O Port 2 bit 5 8051 General Purpose I/O Port 2 bit 6 8051 General Purpose I/O Port 2 bit 7 GND page 4 Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. Pin No. I/O 44 45 46 47 48 — I — — — Pin Name VDD18 Battery_in VDD18O VSS_REG VDD_REG Preliminary Datasheet Pin Descriptions 1.8V Vdd Battery detection input 1.8V regulator output Vss for regulator Vdd for regulator page 5 Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. 7. Functional Description 7.1 Overall Architecture The ISSC IS1090 integrates an enhanced Bluetooth core, HCI controller, Audio controller and an embedded Turbo 8051 processor with 160K mask ROM for program memory and 32K SRAM for data memory. An innovative interconnection structure called the CommonMemory Architecture (CMA) is designed to provide a fast and flexible data movement scheme between the embedded processor, Bluetooth core, and peripheral hardware. 7.2 Embedded Processor The embedded processor is the Turbo 8051 CPU. The embedded processor will be referred to as simply the processor or 8051 throughout the remainder of this document. 7.3 Common Memory Bus Architecture (CMA) The functional diagram describing the CMA is shown in figure 1. A single-port synchronous interface is provided to memory. From this single port, the bandwidth is divided among the 6 interface busses described below: • • • • • • Embedded processor bus Baseband TX bus Baseband RX bus HCI TX bus HCI RX bus Audio bus In addition, attached to the embedded processor bus are a register bank, a dedicated single-port memory (data segment 1), and flash memory (program segment). The processor coordinates all link control procedures and data movement using a set of pointer registers. For example, when an HCI packet (from the host via USB or UART) is received into the HCI buffer, the processor is interrupted. The processor can then read a status register to determine the HCI packet type and determine whether to set up the Baseband pointer registers for this memory region for RF-retransmission, or to otherwise directly perform packet processing with the CPU. Preliminary Datasheet page 6 Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. 7.4 Memory Modules The following list summarizes the available memory modules and the method by which they are controlled. Memory Modules processor program memory processor data memory common memory 7.5 Size in KBytes 160 16/32 16 Control method controlled by processor controlled by processor controlled by AGU and CPU Bluetooth Baseband Core The following modules implemented in hardware constitute the Bluetooth baseband core. 7.5.1 Adaptive Frequency Hopping sequence generator The adaptive frequency hopping sequence generator produces the correct hop frequency control sequence based on the Bluetooth clock, Bluetooth device address, and the current operating mode. 7.5.2 Access Code generation The access code generates the access code based on the Lower Address Part (LAP) of the Bluetooth device address. 7.5.3 Access code Correlator The access code is comprised of the preamble, sync word and trailer bits. The detection of the access code uses correlation to detect a valid access code. 7.5.4 Forward Error Correction (FEC) Bluetooth uses two types of FEC: 1/3 repetition code and (15,10) shorten Hamming code respectively. The former basically repeats each transmitted bit three times while the latter has 15 bits of codeword which contains 5 parity bits. The code has capability of correction of all single-bit errors in each codeword. 7.5.5 Header Error Checking (HEC) The purpose of HEC is to protect the header bits. Dedicated header error code generator calculates the HEC bits in the header of a transmitted packet. While on the receiver side, HEC detects corrupted headers. 7.5.6 Cyclic Redundancy Check (CRC) Preliminary Datasheet page 7 Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. A 16-bit CRC is adopted to protect payload data transmitted using certain types of Bluetooth packets. 7.5.7 Encryption/Decryption core Information confidentiality can be protected by encryption of the packet payload. Dedicated encryption/decryption hardware is designed into the baseband core. 7.5.8 Authentication The authentication in Bluetooth is based on SAFER+ algorithms. Effective architecture is implemented in hardware. 7.5.9 Received Signal Strength Indicator (RSSI) metric The RSSI value is provided to the baseband processing hardware through an eight bit ADC (analog to digital converter). 7.5.10 Available Operating Clock Frequencies The ISSC IS1090 chip is capable of operating at the following frequencies: 48 MHz, 36 MHz, and 24 MHz. The following table shows the correct configuration for each frequency. Rate_select1 0 0 1 1 Preliminary Datasheet Rate_select0 System Operation Frequency (MHz) 0 1 0 1 48 36 24 Reserved page 8 Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. 7.6 Bluetooth Clock and Internal Timers A Bluetooth standard 28-bit counter running at 3.2 kHz implements the native clock defined by Bluetooth specification. This clock provides the transmission and receiving timing of a half time slot (312.5 us). Another finer counter implemented in 12 bits is also provided as the phase of a half time slot. This phase information is very helpful when a Bluetooth slave wants to adapt to its master’s clock. It is running at 12MHz. The counter is pre-scalable for the purpose of power saving operations. Figure 7.6.1 describes a standard Bluetooth native clock and master clock. The clock signal is also used as a slot boundary signal to trigger a baseband packet transmission or receipt. See appendix A for more information of the implementation. Figure 7.6.1 Bluetooth Clocks Ticks every 312.5 µsec CLKN27 CLKN0 CLKN26 …. Native clock (free running) (SlotAdjust) CLK27 CLK26 CLKPhaseAdjust CLK0 …. Clock Phase = 12 Mhz (12 bits) …. Master clock There are four timers provided by the system; two timers for TX/RX and general purpose use, and the other two for general purpose use. See definition of registers for task handler for details. 7.7 Task Handler: The powerful pre-scheduling functions for the transceiver are realized by two sets of programmable timers, namely Task0Slot/PhaseTimer and Task1Slot/PhaseTimer. Each set of timers is associated with the task of transmission or receiving. When the timer is configured by firmware, it will automatically execute the TX or RX task at a specific time. Sub-tasks and timing for a TX task remain to be defined. Two additional timers for general purpose use are also provided. Preliminary Datasheet page 9 Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. 7.8 HCI Control Logic for USB/UART: A hardwired control logic is presented in front of the USB and UART devices for HCI protocol handling and packet buffering. This control logic is part of the HCI controller defined in Bluetooth specification. This logic is partially responsible for the HCI protocol handling to/from the host and it also maps the registers of the USB and UART devices indirectly to the 8051 such that the system can receive or send a HCI packet to/from the respective host interface. Major functions of this logic include: • • • • • 7.9 HCI packet formatter and de-formatter (identifying the packet type) Frame boundary determination, segmentation and reassembly of HCI packets. HCI packet transmission, receiving, and buffering (using common memory HCI buffer). Independent receive / transmit channels Universal device interface Embedded UART: An embedded UART (Universal Asynchronous Receiver Transmitter) is included in this design. In order to reduce gate count, only the functions required for the HCI logic are included. These include the following: • • • • • • • • Full-Duplex operation Programmable BAUD rate (using 16-bit input clock divider to obtain Baud Rate x16 clock base) 7 or 8 Data bits 1 or 2 Stop bits Even / Odd / Mark / Space / None Parity configurations Break Generation / Detection Maskable individual interrupts to CPU and combined Error interrupt to HCI Selectable Direct CPU interface or interface to HCI module 7.10 Voice CODEC On the Bluetooth Specification, either a 64 kb/s log PCM format (A-Law or µ-Law) is used, or a CVSD (Continuous Variable Slope Delta Modulation) is used. ISSC IS1090 supports all coding schemes with conversion capabilities. In addition, the ISSC IS1090 Audio handling section also supports simultaneous 3-SCO channel operation. An external Codec must be added to perform the A/D and D/A functions. Preliminary Datasheet page 10 Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. 7.11 Processor Memory Map1 The addressable memory space of the 8051 Turbo processor consists of a 64 kByte program space and a 64 kByte data space. The 64 kByte program space is mapped onto two pages in a larger 128 kByte memory space. This 128 kByte space may be physically implemented in a Flash or ROM device. The 64 kByte data space contains a single-port RAM, and the register bank. The maximum size of each memory component is as follows. Memory Component program memory Physical Device Flash or ROM data segment 1 single port 32 kBytes RAM register bank 16 kBytes Common 13 kBytes memory register segment data segment 2 Maximum Size 128 kBytes reserved Address range page 0: 0000h – ffffh page 1: 0000h – ffffh 0000h – 7fffh 8000h – bfffh c000h – f3ffh f400h – ffffh 7.12 Miscellaneous (Watchdog Timer, PLL, and Clock Divider) System related functions such as watchdog timer, Endian control, and interrupt vectors are also provided. The purpose of the watchdog timer is to provide a reset to CPU in case when the CPU fails to service the watchdog timer in a pre-defined (programmable) period. In this situation, the CPU will be reset, and a flag will be set to indicate that the reset was due to a watchdog “timeout”. In addition, it also provides resets to the other modules in Bluetooth baseband. The build in PLL circuit will generate the required system clock of 48MHz, 36MHz or 24MHz from the oscillator clock. The clock divider will provide fixed frequencies of 12 MHz, 8KHz…for Bluetooth core and other peripheral hardware based on the input system clock of 48MHz, 36MHz, or 24MHz. All system clocks are 50% duty cycle. 1 Additional memory spaces such as TX/RX buffer, USB/UART buffer are not addressable by 8051. Those special memory modules are controlled indirectly by 8051 via data router. Preliminary Datasheet page 11 Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. 8. Package Information Preliminary Datasheet page 12 Released date: July 2004 Revision 0.9 IS1002 Bluetooth Baseband Controller 創傑科技股份有限公司 Integrated System Solution Corp. SALES INFORMATION ISSC Head Office: 3F, No.2-1, Industry East Rd., I, Science-Based Industrial Park, Hsinchu Taiwan, R.O.C.300 TEL: 886-3-577-8385 FAX: 886-3-577-8501 ISSC TPE Office 4F, No.116, Joutz St., Neihu, Taipei Taiwan, R.O.C. 114 TEL: 886-2-2659-7699 FAX: 886-2-2659-7967 ISSC Shanghai Office: 2F., Building 59, No. 461, Hongcao Rd., Xu Hui District, Shanghai 200233, P.R. China TEL: 86-21-6485-6299 # 6701 FAX: 86-21-5427-6519 ALinks Communications Inc. 1095 E.,Duane AVE, Ste#102 Sunnyvale, CA 94085 TEL: 1-408-573-7676 FAX: 1-408-573-7717 © 2004 Integrated System Solution Corp. All rights are reserved. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without any notice. Preliminary Datasheet page 13 Released date: July 2004 Revision 0.9