HFA3842B TM Data Sheet P RE L I M I N A RY June 2001 PCMCIA/USB Wireless LAN Medium Access Controller File Number 8020 Features The Intersil HFA3842B Wireless LAN Medium Access Controller is part of the PRISM® 2.4GHz radio chip set. The HFA3842B directly interfaces with the Intersil HFA386x family of Baseband Processors, offering a complete end-to-end chip set solution for wireless LAN products. Protocol and PHY support are implemented in firmware to allow custom protocol and different PHY transceivers. • USB Host Interface supports USB V1.1 at 12Mbps, and is an alternative to the PC Card host interface. • New start up modes allow the PCMCIA Card Information Structure to be initialized from a serial EEPROM. This allows firmware to be downloaded from the host, eliminating the parallel Flash memory device. • Firmware can be loaded from serial Flash memory. • Direct attachment to a typical x16 SRAM using five control signals (RAMCS_, MOE_, MWEL_, MLBE_, and MUBE_). • Low frequency crystal oscillator to maintain time and allow baseband clock source to power off during sleep mode. The HFA3842B is designed to provide maximum performance with minimum power consumption. Package pin layout provides optimal PC board layout to all user interfaces including PCMCIA and USB. • Improved performance of internal WEP engine. Firmware implements the full IEEE 802.11 Wireless LAN MAC protocol. It supports BSS and IBSS operation under DCF, and operation under the optional Point Coordination Function (PCF). Low level protocol functions such as RTS/CTS generation and acknowledgement, fragmentation and de-fragmentation, and automatic beacon monitoring are handed without host intervention. Active scanning is performed autonomously once initiated by host command. Host interface command and status handshakes allow concurrent operations from multi-threaded I/O drivers. Additional firmware functions specific to access point applications are also available. Designing wireless protocol systems using the HFA3842B is made easier with the availability of evaluation board, firmware, software device drivers, and complete documentation. The HFA3842B is a WLAN MAC Controller IC, based on the HFA3841. Pin-for-pin upgrade replacement for the HFA3841. • On-chip execution can now be viewed while in debug mode. • Independent programmable cycle timing for external chip selects allows attachment of slow memory devices without compromising higher speed instruction execution. • Pinout is backward compatible with HFA3841. • IEEE802.11 Standard Data Rates: 1, 2, 5.5 and 11Mbps • Part of the Intersil PRISM Wireless LAN Chip Set • Full Implementation of the MAC Protocol Specified in IEEE Standards 802.11-1999 and 802.11b • PCMCIA Host Interface Supports Full 16-Bit Implementation of PC Card 16 (1995), also ISA PNP with Additional Chip • Host Interface Provides Dual Buffer Access Paths • External Memory Interface Supports up to 4M bytes RAM • Internal Encryption Engine Executes IEEE802.11 WEP Applications • High Data Rate Wireless LAN • Low Power Operation; 25mA Active, 8mA Doze, <1mA Sleep • PC Card Wireless LAN Adapters • Operation at 2.7V to 3.6V Supply • USB Wireless LAN Adapters • 5V Tolerant Host Interface Input/Outputs • PCI Wireless LAN Cards (Using Ext. Bridge Chip) • 128 Pin LQFP Package Targeted for Type II PC Cards • Wireless LAN Modules • IEEE802.11 Wireless LAN MAC Protocol Firmware and Microsoft® Windows® Software Drivers • Wireless LAN Access Points • Pin for Pin Replacement for the HFA3841 Supporting all Functions and operations of the HFA3841 • Wireless Bridge Products • Wireless Point-to-Multipoint Systems • ISA, ISA PNP WLAN Cards Ordering Information PART NUMBER TEMP. RANGE (oC) PACKAGE PKG. NO. Q128.14x20 HFA3842BIN -40 to 85 128 Ld LQFP HFA3842BIN-TK -40 to 85 Tape and Reel Microsoft® and Windows® are registered trademarks of Microsoft Corporation. PRISM® is a registered trademark of Intersil Americas Inc. PRISM and design is a trademark of Intersil Americas Inc. 1 CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures. 1-888-INTERSIL or 321-724-7143 | Intersil and Design is a trademark of Intersil Americas Inc. Copyright © Intersil Americas Inc. 2001, All Rights Reserved HFA3842B Pinout PJ4 NVCSVSS_IO3 VCC_IO3 MWELMOERAMCS- HD8 HD9 HD10 PL7 MA18 MA17 MA16 MA15 MA14 MA13 MA12 MA11 MA10 VCC_IO3 VSS_IO3 MA9 MA8 MA7 MA6 MA5 MA4 MA3 MA2 MA1 MA0/MWEH- 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 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 50 49 48 47 46 45 44 43 42 41 40 39 INDEX PK4 PK3 MLBEMD0 MD1 MD2 MD3 MD4 MD5 MD6 MD7 VCC_CORE3 VSS_IO3 MD8 MD9 MD10 MD11 MD12 MD13 MD14 MD15 PL4 VSS_IO3 LFXTALO CLKIN LFXTALI CLKOUT 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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 HCE1HD7 HD6 HD5 HD4 HD3 PJ6 PJ5 PJ7 TCLKIN USBUSB+ VSS_CORE3 VCC_CORE3 PL0 RESET TXD TXC RXD RXC PK5 PK6 PK7 VSS_CORE3 VCC_CORE3 PL2 PL1 PL3 PJ3 PJ1 PJ0 PJ2 PK2 PK1 PK0 HSTSCHGVSS_CORE3 HINPACKHWAITSB ATTACHED HA0 HA1 HA2 HA3 HA4 HA5 HA6 HA7 HIREQVSS _IO3 HWEHA8 HA9 HIOWRHIORDHOEHCE2HD15 VCC _IO3 HD14 HD13 HD12 HD11 102 101 100 HREGHD0 HD1 HD2 VCC_IO3 VSS_IO3 128 LEAD LQFP Simplified Block Diagram PRISM RADIO BASEBAND PROCESSOR PC CARD HOST INTERFACE PHY INTERFACE (MDI) RADIO AND SYNTH SERIAL CONTROL USB HOST INTERFACE SERIAL CONTROL (MMI) MEMORY CONTROLLER ON-CHIP ROM 44MHz CLOCK SOURCE † † THE 3842 MUST BE SUPPLIED WITH A SEPARATE 48MHz CLOCK WHEN USB IS USED. 2 ON-CHIP RAM ADDRESS PRISM RADIO RF SECTION DATA ADDRESS CONTROL WEP ENGINE SERIAL CONTROL SELECT CTRL/STATUS HOST COMPUTER MICROPROGRAMMED MAC ENGINE DATA TXD/RXD HFA3842B EXTERNAL SRAM AND FLASH MEMORY USB HFA3842B HFA3842B Pin Descriptions HOST INTERFACE PINS PIN NAME HA0-9 HCE1- PIN NUMBER PIN I/O TYPE 106-113, 117, 118 5V Tol, CMOS, Input, 50K Pull Down 1 5V Tol, CMOS, Input, 50K Pull Up DESCRIPTION PC Card Address Input, Bits 0 to 9 PC Card Select, Low Byte HCE2- 122 5V Tol, CMOS, Input, 50K Pull Up PC Card Select, High Byte HD0-15 101-99, 6-2, 96-94, 128-125, 123 5V Tol, BiDir, 2mA, 50K Pull Down PC Card Data Bus, Bit 0 to 15 HINPACK- 103 CMOS Output, 2mA PC Card I/O Decode Confirmation HIORD- 120 5V Tol, CMOS, Input, 50K Pull Up PC Card I/O Space Read HIOWR- 119 5V Tol, CMOS, Input, 50K Pull Up PC Card I/O Space Write HRDY/HIREQ- 114 CMOS Output, 4mA PC Card interrupt Request (I/O Mode) Card Ready (Memory Mode) HOE- 121 5V Tol, CMOS, Input, 50K Pull Up PC Card Memory Attribute Space Output Enable HREG- 102 5V Tol, CMOS, Input, 50K Pull Up PC Card Attribute Space Select HRESET 16 5V Tol, CMOS, ST Input, 50K Pull Up Hardware Reset HSTSCHG- 36 CMOS Output, 4mA PC Card Status Change HWAIT- 104 CMOS Output, 4mA PC Card Not Ready (Force Host Wait State) HWE- 116 5V Tol, CMOS Input, 50K Pull Up PC Card Memory Attribute Space Write Enable USB+ 12 CMOS BiDir, 2mA, (Also USB Transceiver) USB, MBUS Address Bit 20, or I/O as PL5 USB- 11 CMOS BiDir, 2mA, (Also USB Transceiver) USB, MBUS Address Bit 21, or I/O or I/O as PL6 USB ATTACHED 105 Input, 5V Tolerant, Pull-Down Sense USB VBUS to Indicate Cable Attachment TABLE 1. MEMORY INTERFACE PINS PIN NAME MUBE- / MA0 / MWEHMA1-18 PL4 PIN NUMBER PIN I/O TYPE DESCRIPTION 72 CMOS TS Output, 2mA 73-81, 84-92 CMOS TS Output, 2mA MBUS Address Bits 1 to 18 CMOS BiDir, 2mA MBUS Address Bit 19 43 MBUS Upper Byte Enable for x16 Memory; MBUS Address Bit 0 (byte) for x8 Memory; High Byte Write Enable for 2 x8 Memories PL5 12 CMOS BiDir, 2mA, 50K Pull Up MBUS Address Bit 20 (See Note 1) PL6 11 CMOS BiDir, 2mA MBUS Address Bit 21 (See Note 1) MLBE- 62 CMOS TS Output, 2mA, 50K Pull Up MBUS Lower Byte Enable, or I/O as PM2 MOE- 70 CMOS TS Output, 2mA Memory Output Enable MWE- / MWEL- 71 CMOS TS Output, 2mA Low (or only) Byte Memory Write Enable RAMCS- 69 CMOS TS Output, 2mA RAM Select NVCS- 68 CMOS TS Output, 2mA NV Memory Select MD0-7 61-54 5V Tol, CMOS, BiDir, 2mA, 100K Pull Up MBUS Low Data Byte, Bits 0 to 7 MD8-15 51-44 5V Tol, CMOS, BiDir, 2mA 50K Pull Down MBUS High Data Byte, Bits 8 to 15 NOTE: 1. Not available if USB interface is used. TABLE 2. GENERAL PURPOSE AND EEPROM PORT PINS PIN NAME PIN NUMBER PIN I/O TYPE DESCRIPTION OF FUNCTION (IF OTHER THAN IO PORT) GENERAL PURPOSE PORT PINS TXD 17 CMOS BiDir, 2mA, 50K Pull Down Transmit Data Out TXC 18 CMOS BiDir, 2mA Transmit Clock In/Out RXD 19 CMOS Input Receive Data In RXC 20 CMOS Input Receive Clock In 3 HFA3842B TABLE 2. GENERAL PURPOSE AND EEPROM PORT PINS (Continued) PIN NAME PIN NUMBER PIN I/O TYPE DESCRIPTION OF FUNCTION (IF OTHER THAN IO PORT) PJ0 31 CMOS BiDir, 2mA, 50K Pull Down MMI Clock (SCLK) PJ1 32 CMOS BiDir, 2mA, 50K Pull Down MMI Serial Data (SD) PJ3 29 CMOS BiDir, 2mA MMI Device Enable 0 (CS_BAR) PJ4 65 CMOS BiDir, 2mA MMI Device Enable 1 (PE1) PJ5 8 CMOS BiDir, 2mA, 50K Pull Up MBUS Request (LE_IF) PJ6 7 CMOS BiDir, 2mA MBUS Grant; LED PJ7 9 CMOS BiDir, 2mA, 50K Pull Up (RADIO_PE) PK0 35 CMOS BiDir, 2mA, ST, 50K Pull Down MPSI Clock (LE_RF) PK1 34 CMOS BiDir, 2mA, 50K Pull Down MPSI Data Out (SYNTHCLK) PK2 33 CMOS BiDir, 2mA, 50K Pull Down MPSI Data In (SYNTHDATA) PK3 63 CMOS BiDir, 2mA MPSI Device Select 0 (PA_PE) PK4 64 CMOS BiDir, 2mA MPSI Device Select 1 (PE2) PK5 21 CMOS BiDir, 2mA PHY Data Available (MDREADY) PK6 22 CMOS BiDir, 2mA PHY Medium Busy (CCA) PK7 23 CMOS BiDir, 2mA PHY Energy Detect (CAL_EN) PL0 15 CMOS BiDir, 2mA Transmitter Enable (TX_PE) PL1 27 CMOS BiDir, 2mA Receiver Enable (or PHY Sleep Control) (RX_PE) PL2 26 CMOS BiDir, 2mA PHY Reset (RESET_BB) PL3 28 CMOS BiDir, 2mA Antenna Select (T/R_SW_BAR) PL4 43 CMOS BiDir, 2mA MBUS Address Bit 19 (MA19) PL5 (USB+) 12 CMOS BiDir, 2mA, (Also USB Transceiver) MBUS Address Bit 20 (USB+) PL6 (USB-) 11 CMOS BiDir, 2mA, (Also USB Transceiver) MBUS Address Bit 21 (USB-) PL7 93 CMOS BiDir, 2mA, Pull Down PHY Transmit Ready (T/R_SW) SERIAL EEPROM PORT PINS PJ0 31 CMOS BiDir SCLK, Serial Clock PJ1 30 CMOS BiDir, 50K Pull Down SD, Serial Data Out PJ2 32 CMOS BiDir, 50K Pull Down MISO, Serial Data IN TCLKIN (CS_) 10 CMOS BiDir CS_, Chip Select TABLE 3. CLOCKS PIN NAME CLKIN PIN NUMBER 40 PIN I/O TYPE DESCRIPTION CMOS Input, ST Pull Down External Clock Input (at >= 2X Desired MCLK Frequency, Typically 44-48MHz) LFXTALI 39 Analog Input 32.768kHz Crystal Input (Note 2) LFXTALO 41 CMOS Output, 2mA 32.768kHz Crystal Output CLKOUT 38 CMOS, TS Output, 2mA Clock Output (Selectable as MCLK, TCLK, or TOUT0) TCLKIN 10 CMOS BiDir, 2mA, 50K Pull Down Alternate clock input for timers TABLE 4. POWER PIN NAME VCC PIN NUMBER 14, 25, 53, 66, 83, 98, 124 V CC_IO5 VSS 105 13, 24, 37, 42, 52, 67, 82, 97, 115 PIN I/O TYPE DESCRIPTION 3.3V Supply 5V Tolerance Supply GND ST = Schmitt Trigger (Hysteresis), TS = Three-State. Signals ending with “-” are active low. NOTE: 2. Pin 39 (VCC_CORE3 in 3841), has been reassigned as LFXTALI. For 3841 compatibility, it may be tied to VCC. Pin 62 (TRST- in 3841) has been reassigned as MLBE. For 3841 compatibility, it may be tied low through 1K. Pin 105 (VCC_IO5 in 3841) has been reassigned as USB ATTACHED. For 3841 compatibility, it may be tied to VCC. Output pins typically drive to positive voltage rail less 0.1V. Hence with a supply of 2.7V the output will just meet 5V TTL signal levels at rated loads. 4 HFA3842B TABLE 5. PORT PIN USES FOR PRISM APPLICATION PIN NAME PRISM I USE PRISM II USE 20 RXC RXC - Receive Clock RXC - Receive Clock 19 RXD RXD - Receive Data RXD - Receive Data 18 TXC TXC - Transmit Clock TXC - Transmit Clock 17 TXD TXD - Transmit Data TXD - Transmit Data 31 PJ0 SCLK - Clock for the SD Serial Bus SCLK - Clock for the SD Serial Bus 30 PJ1 SD - Serial Bidirectional Data Bus SD - Serial Bi-Directional Data Bus 32 PJ2 R/W - An input to the HFA3860A Used to Change the Direction of the SD Bus When Reading or Writing Data on the SD Bus Not Used 29 PJ3 CS - A Chip Select for the Device to Activate the Serial Control Port (Active Low) CS_BAR - Chip Select for HFA3861 Baseband (Active Low) 65 PJ4 Not Used PE1 - Power Enable 1 8 PJ5 SYNTH_LE - Latches a Frame of 22 Bits After it has LE_IF - Load Enable for HFA3783 Quad IF Been Shifted by the SCLK into the Synthesizer Registers 7 PJ6 LED - Activity Indicator LED - Activity Indicator 9 PJ7 Not Used RADIO_PE - RF Power Enable 35 PK0 Not Used LE_RF - Load Enable for HFA3683 RF Chip 34 PK1 Not Used SYNTHCLK - Serial Clock to Front End Chips 33 PK2 Not Used SYNTHDATA - Serial Data to Front End Chips 63 PK3 TX_PE_RF - Power Enable PA_PE - Transmit PA Power Enable 64 PK4 RX_PE_RF - Power Enable PE2 - Power Enable 2 21 PK5 MD_RDY - Header Data and Data Packet are Ready to be Transferred From Baseband on RXD MDREADY - Header Data and Data Packet are Ready to be Transferred from Baseband on RXD 22 PK6 CCA - Signal that the Channel is Clear to Transmit CCA - Signal that the Channel is Clear to Transmit 23 PK7 RADIO_PE - Master Power Control for the RF Section 15 PL0 TX_PE and PA_PE - Transmit Enable to Baseband TX_PE - Transmit Enable to Baseband 27 PL1 RX_PE - Receive Enable to Baseband 26 PL2 RESET - Reset to Baseband RESET_BB - Reset Baseband 28 PL3 Not Used T/R-SW_BAR - Transient/Receive Control (Inverted) 43 PL4 MA19 (If Required) MA19 (If Required) 12 PL5 MA20 (If Required) MA20 (If Required) or USB+ 11 PL6 MA21 (If Required) MA21 (If Required) or USB- 93 PL7 TX_RDY - Baseband Ready to Receive Data on TXD (Not Used By Firmware) T/R_SW - Transmit/Receive Control 5 CAL_EN - Calibration Mode Enable RX_PE - Receive Enable to Baseband HFA3842B Absolute Maximum Ratings Thermal Information Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6V Input, Output or I/O Voltage . . . . . . . . . . . . GND -0.5V to VCC +0.5V ESD Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Class 2 Thermal Resistance (Typical, Note 3) Operating Conditions Voltage Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +3.3V Temperature Range . . . . . . . . . . . . . . . . . . . . . . . . . . -40oC to 85oC θJA (oC/W) LQFP Package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Maximum Storage Temperature Range . . . . . . . . . . -65oC to 150oC Maximum Junction Temperature . . . . . . . . . . . . . . . . . . . . . . .100oC Maximum Lead Temperature (Soldering 10s) . . . . . . . . . . . . . 300oC (Lead Tips Only) CAUTION: Stresses above those listed in “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress only rating and operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. NOTE: 3. θJA is measured with the component mounted on a low effective thermal conductivity test board in free air. See Tech Brief TB379 for details. Electrical Specifications PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNITS Power Supply Current ICCOP - 33 45 mA Input Leakage Current II VCC = Max, Input = 0V or VCC -10 1 10 µA Output Leakage Current IO VCC = Max, Input = 0V or VCC -10 1 10 µA 0.7VCC - - V V Logical One Input Voltage VCC = 3.6V, CLK Frequency 44MHz VIH VCC = Max, Min VIL VCC = Min, Max - - 0.3VCC Logical One Output Voltage VOH IOH = -1mA, VCC = Min 0.9VCC - - V Logical Zero Output Voltage VOL IOL = 2mA, VCC = Min - 0.2 0.1VCC V Input Capacitance CIN CLK Frequency 1MHz. All measurements referenced to GND. TA = 25oC - 5 10 pF COUT CLK Frequency 1MHz. All measurements referenced to GND. TA = 25oC - 5 10 pF Logical Zero Input Voltage Output Capacitance NOTE: 4. All values in this table have not been measured and are only estimates of the performance at this time. AC Electrical Specifications PARAMETER SYMBOL MIN TYP MAX UNITS CLOCK SIGNAL TIMING tCYC 20 20.8 200 ns High Width tH1 10 10.4 - ns Low Width tL1 10 10.4 - ns MOE_Setup Time From Ramcs tS1 0 - - ns MOE-Setup Time From MA (17.0) tS2 0 - - ns MA(18-1 Address Hold from MOE- Rising Edge tH1 20 - - ns RAMCS Hold from MOE_ Rising Edge tH2 20 - - ns MD(15:0) Enable from MOE-Falling tE1 5 - - ns MD(15:0) Disable from MOE-Rising Edge tD1 - - 100 ns tS3 0 - - ns OSC Clock Period (Typ. 44MHz) EXTERNAL MEMORY INTERFACE EXTERNAL WRITE MEMORY INTERFACE MA (18...0) Address Setup Time to MWE Falling Edge RAMCS-Setup to MWE_ tS4 0 - - ns MA (17.0) Hold From MWE_Rising Edge tH2 15 - - ns RAMCS_Hold From MWE_Rising Edge tH3 15 - - ns MD (15.0) Setup to MWE_Rising tS5 40 - - ns MD (15.0) Hold from MWE_Rising tH4 15 - - ns tCYC 83 - 4,000 ns ns SYNTHESIZER SYNTHCLK (PK1) Period SYNTHCLK (PK1) Width Hi tH1 tCYC /2 - 10 - tCYC /2 + 10 SYNTHCLK (PK1) Width Lo tL1 tCYC /2 - 10 - tCYC /2 + 10 ns SYNTHDATA (PK2) Hold Time from Falling Edge of SYNTHCLK (PK1) tD2 0 - - ns SYNTHCLK (PK1) Falling Edge to SYNLE Inactive tD3 35 - - ns 6 HFA3842B AC Electrical Specifications (Continued) PARAMETER SYMBOL MIN TYP MAX UNITS SYSTEM INTERFACE - PC CARD IO READ 16 Data Delay After HIORD- tDIORD - - 100 ns Data Hold Following HIORD- tHIORD 0 - - ns HIORD- Width Time tWIORD 165 - - ns tSUA 70 - - ns Address Hold Following HIORD- tHA 20 - - ns HCE(1, 2)- Setup Before HIORD- tSUCE 5 - - ns HCE(1, 2)- Hold After HIORD- tHCE 20 - - ns HREG- Setup Before HIORD- tSUREG 5 - - ns tHREG 0 - - ns HINPACK- Delay Falling from HIORD- tDFINPACK 0 - 45 ns HINPACK- Delay Rising from HIORD- dDRINPACK 30 - 45 ns Data Delay from HWAIT- Rising tDRWT - - 0 ns HWAIT- Width Time tWWT - - 12,000 ns Address Setup Before HIORD- HREG- Hold Following HIORD- SYSTEM INTERFACE - PC CARD IO WRITE 16 tSUIOWR 30 - 92 ns Data Hold Following HIORD- tHIOWR 20 - - ns HIOWR- Width Time tWIOWR 165 - - ns tSUA 70 - - ns Address Hold Following HIORD- tHA 20 - - ns HCE(1, 2)- Setup Before HIORD- tSUCE 5 - - ns tHCE 20 - - ns Data Setup Before HIORD- Address Setup Before HIORD- HCE(1, 2)- Hold Following HIORD- tSUREG 5 - - ns HREG- Hold Following HIORD- tHREG 0 - - ns HWAIT- Delay Falling from HIORD- tDFWT - - 35 ns HWAIT- Width Time tWWT - - 12,000 ns tDRIOWR 0 - - ns TXC Period tTXC 4* tTMCK - - ns TXC Width Hi tCHM 31 - - ns TXC Width Lo tCLM 31 - - ns ns HREG- Setup Before HIORD- HIOWR- High from HWAIT- High RADIO TX DATA - TX PATH RADIO RX DATA - RX PATH tSURX_RDY 10 - - RX_RDY Hold Time from RXC Positive Edge (See Note 6) tHRX_RDY 45 - - ns RX_PE2 Delay from RX_RDY deAssert (See Note 10) tDRX_PE2 - 3 * tMCLK - ns RX_PE2 Low Pulse Width (See Note 9) tWRX_PE2 - 4 * tMCLK - ns tSURXD 10 - - ns tHRXD 0 - - ns tRXC - 3 * tMCLK - ns RXC Width Hi tRCHM 31 - - ns RXC Width Lo tRCLM 31 - - ns RX_RDY Setup Time to RXC Positive Edge (See Note 5) RXD Setup Time to RXC Positive Edge (See Note 7) RXD Hold Time from RXC Positive Edge (See Note 7) RXC Period (See Note 12) NOTES: 5. MD_RDY is and'ed with RXC_ONE_SHOT (RXDAV) to shift data in shift register. RX_RDY is not required to be valid until 1 MCLK after RXC is sampled high. Therefore, a negative setup time could be used. Since this is an unlikely scenario, we will leave it at a nominal 10ns setup time. 6. MD_RDY is and'ed with RXC_ONE_SHOT (RXDAV) to shift data in shift register. Therefore, for the last data bit, the MD_RDY must be held active until RXC_ONE_SHOT is sampled high by MAC's MCLK. However, it is assumed that BBP will be used in a mode that keeps RX_RDY (MD_RDY) and RXC running until RX_PE2 is de-asserted. The MAC will stop processing data after the number of bits retrieved from the PLCP header length field are received. Therefore, the RX_RDY hold time with respect to RXC does not matter. However, should the RX_RDY signal be cleared when the last RXD bit is received the hold time w/r RXC must be honored. 7. RXC positive edge clocks a flop which stores the RXD for internal usage. 8. RXC period (and Hi/Lo times) must be long enough for flops clocked by MAC MCLK to see 1 RXC high and 1 RXC low. 9. RX_PE inactive width at BBP is 3 BBP CLK's. Since BBP CLK and MAC CLK can be async minimum should be 4 MAC CLKs. 10. When RX_RDY drops before expected number of RXD bits is received, then TX/RX FSM in mpctl.v signals timers which clear rx_pe2_int. 7 HFA3842B Waveforms OSC tH1 tH1 tCYC FIGURE 1. CLOCK SIGNAL TIMING MA(1-18) tH1 RAMCS_ tS1 tH2 MOE_ tS2 MD (15.0) tD1 tE1 FIGURE 2. EXTERNAL MEMORY READ TIMING ADDRESS MA (18:1) tH2 RAMCS_ tS4 tH3 MWE_ tH4 tS3 tS5 FIGURE 3. EXTERNAL MEMORY WRITE TIMING SYNTHCLK (PK1) tH1 SYNLE SPCSPWR tD3 tCYC tD1 SYNTHDATA (PK2) tL1 tD2 D[n] D[n -1] D[n -2] D[2] FIGURE 4. SYNTHESIZER 8 D[1] D[0] HFA3842B Waveforms (Continued) SYNTHCLK (PK1) TH1 TL1 tCD tCYC SPCSX tCD tCD SPAS tCD tCD SPREAD (READ) tDRS tDRH SYNTHDATA (PK2) (READ) A[7] A[6] A[0] D[1] tCD D[0] tCD SPREAD (WRITE) tDWH SYNTHDATA (PK2) (WRITE) A[7] A[6] A[0] D[7] D[1] D[0] FIGURE 5. SERIAL PORT - HFA3824A/HFA3860B HA[15:0] tSUREG tHREG HREGISUCE tHCE HCE(1, 2)tWIORD tHA tDIORD HIORDNtSUA tDRINPACK tDFINPACK HINPACK- HWAITtDFWT tWWT tDRWT HD[15:0] FIGURE 6. PC CARD IO READ 16 9 tHIORD HFA3842B Waveforms (Continued) HA[15:0] tHREG tSUREG HREG- tHCE tSUCE HCE (1, 2) tSUA tWIOWR tHA HIOWRtDRINPACK tDRIOWR HWAIT- tDFWT tSUIOWR tWWT HD[15:0] FIGURE 7. PC CARD IO WRITE 16 TXDATA TXCLK tTX_RDY TX_RDY TX_PE2 FIGURE 8. TX PATH 10 tHIOWR HFA3842B Waveforms (Continued) RXDATA RXCLK tSURX_RDY tHRX_RDY RX_RDY tDRX_PE2 RX_PE2 tWRX_PE2 CCA tCCAF FIGURE 9. RX PATH A RXDATA B tRCHM C tHRXD tSURXD RXCLK tRCLM tRXCLK A RXD_INT RXCLK_INT RXCLK_INT2 RXCLK_ONE _SHOT FIGURE 10. EXPANDED RX TIMING 11 B HFA3842B HFA3842B System Overview I/O BUS HOST SYSTEM (I/O DRIVER) FOR STATION ADAPTER HOST INTERFACE HFA3842B WIRELESS MAC CONTROLLER LAN DISTRIBUTION SYSTEM PHY TRANSCEIVER WIRELESS MEDIUM MAC BRIDGE FOR ACCESS POINT FIGURE 11. TYPICAL APPLICATION HFA3842B FLASH 128Kx8 MD0..15 MD0..7 MA1..17 MA0..16 NVCS_ CS_ MOE_ OE_ SRAM 128Kx8 SRAM 128Kx8 MD0..7 MA1..17 OE_ MD8..15 MWEL_ WE_ MA1..17 MA0/MWEH_ CS_ WE_ CS_ RAMCS_ FIGURE 12. 8-BIT MEMORY INTERFACE 12 OE_ HFA3842B FLASH 128Kx16 HFA3842B MA1..17 ADDR(0..16) MD0..15 DATA(0..15) CE- NVCS- OEMA0/MWEH- WE SRAM 128Kx16 ADDR(0..16) DATA(0..15) UBMLBE- LB- RAMCS- CE- MOE- OE MWEL- WE FIGURE 13. 16-BIT MEMORY INTERFACE LARGE SERIAL EEPROM SMALL SERIAL EEPROM PULLUP MISO (PJ2) AO SD (PJ1) SI HFA3842B SCLK (PJ0) HFA3842B SO SCK PULLUP CS# (TCLKIN) SDA SCLK (PJ0) SCL RESET# CS# (TCLKIN) CS 45DB011 24C08 (NOTE) NOTE: Must operate at 400kHz AT 3.3VDC FIGURE 14. SERIAL EEPROM INTERFACE 13 A2 WP WP# PULLUP A1 HFA3842B DS ADDR (BYTE) DATA STORE MAP AFTER HARDWARE RESET DATA STORE MAP GENERIC INTERNAL DS 1KBYTES ORGANIZED 512x16, BYTE ACCESS INTERNAL DS 1KBYTES ORGANIZED 512x16, BYTE ACCESS WEP USES 0x200-0x3FF WEP USES 0x200-0x3FF EXT RAM SPACE 400 TO 7EFFFF DATA SPACE 400 TO 0x0 3FF 400 RAM SPACE SIZES FFFF RAM SIZE = 0 64KB 1FFFF RAM SIZE = 1 128KB 3FFFF RAM SIZE = 2 256KB 7FFFF RAM SIZE = 3 512KB FFFFF RAM SIZE = 4 1MB 1FFFFF RAM SIZE = 5 2MB 3FFFFF RAM SIZE = 6 4MB 7FFFFF RAM SIZE = 7 8MB NV SPACE SIZES NV ADDRESSES RANGE FROM TOP OF DATA SPACE DOWN PHY ADDRESSES RANGE FROM TOP OF DATA SPACE DOWN AND OVERLAY NV RANGE. AFFECTS MOPs ONLY 400000 NV SIZE = 7 4096KB 200000 NV SIZE = 6 2048KB 100000 NV SIZE = 5 1024KB 80000 NV SIZE = 4 512KB 40000 NV SIZE = 3 256KB 20000 NV SIZE = 2 128KB 10000 NV SIZE = 1 64KB 8000 NV SIZE = 0 32KB 4000 7E0000 7E03FF ICS ROM 512 WORDS ICS ROM 512 WORDS 1000 400 7F8000 7FE000 7FFFFF NV SPACE NV SPACE 32KB ICS RAM 8KB ICS RAM PHY 8KB SPACE 100 40 FIGURE 15. MEMORY MAP External Memory Interface The HFA3842B provides separate external chip selects for code space and data storage space. Code space is accessible as data space through an overlay mechanism, except for an internal ROM. Refer to Figures 12, 13 and 14 for HFA3842B memory configuration details. Refer to Figure 15 for memory map. The maximum possible memory space size is 4Mbytes. If USB is the host interface, this is reduced to 1Mbyte. Most of the data store space is reserved for storage of received and transmitted data, with some areas reserved for 14 use by firmware. However, a portion of the data store may be allocated as code store. This permits higher speed instruction execution, by using fast RAMs, than is possible from Flash memories. The maximum size of this overlay is the full code space address range, 128Kbytes, and is allocated in independent sections of 16KBytes each, on 16Kbyte boundaries, ranging from the highest address of the actual physical memory space and extending down. Mapping code execution to RAM requires the RAM to have code written into it. Typically, this is done by placing code in a non-volatile memory such as a Flash in the code space. At initialization, the code in the non-volatile memory transfers itself HFA3842B to RAM, maps the appropriate blocks of the code space to the RAM, and then branches to begin execution from RAM. This allows low cost, slow Flash devices to hold an entire code image, which can be executed much faster from RAM. If code is not placed in an external non-volatile memory as described here, it must be transferred to the RAM via the Host Interface. Slow memories are not dynamically sensed. Following reset, the instruction clock operates with a slower cycle while the Flash is copied to RAM. Once code has been copied from Flash to RAM, execution transfers to RAM and the clock is raised to the normal operating frequency. As mentioned above, it is feasible to operate without a code image in a non-volatile memory. In such a system, the firmware must be downloaded to RAM through the host interface before operation can commence. The external SRAM memory must be organized in a 16-bit width to provide adequate performance to implement the 802.11 protocol at 11Mb/s rates. Systems designed for lower performance applications may be able to use 8-bit wide memory. The minimum external memory is 128Kbytes of SRAM, organized 8 or 16 bits wide. Typical applications, including 802.11 station designs, use 256Kbytes organized 128K x 16. An access point application could make use of the full address space of the device with 4Mbytes organized a 2M x 16. The HFA3842B supports 8 or 16 bit code space, and 8 or 16bit data space. Code space is typically populated with the less expensive Flash memory available, usually an 8-bit device. Data space is usually populated with high-speed RAMs configured as a 16-bit space. This mixing of 8/16 bit spaces is fully supported, and may be done in any combination desired for code and data space. The HFA3842B supports direct control of single chip 16-bit wide SRAMs with high/low byte enables, as well as direct control of a 16-bit space constructed from 8-bit wide SRAMs. The type of memory configuration is specified via the appropriate MD pin, sensed when the HFA3842B is reset. HFA3842B pin MUBE-/MA0/MWEH- functions as Address 0 for 8-bit access, (such as Flash) as MWEH (High Byte Write Enable) when two x8 memories are configured as a single x16 space, and as the upper Byte Enable when a single x16 memory is used. No external logic is required to generate the required signals for both types of memory configurations, even when both exist together; all that is required is for the HFA3842B code to configure the HFA3842B memory controller to generate the proper signals for the particular address space being accessed. For 8-bit spaces, the HFA3842B dynamically configures pin MUBE-/MA0/MWEH- cycle-by-cycle as the address LSB. MWEL-/MWE- is the only write control, and MOE- is the read output enable. 15 For 16-bit spaces constructed from 8-bit memories, the HFA3842B dynamically configures pin MUBE-/MA0/MWEHcycle-by-cycle as the high byte write enable, MWEL- as the low write enable signal, and MOE- as the read output enable. For 16-bit spaces constructed from single-chip x16 memories (such as SRAMs), the HFA3842B dynamically configures pin MUBE_/MA0/MWEH- cycle-by-cycle as the upper byte enable. Pin MLBE- is connected as the low byte enable, MWEL-/MWEis the write control, and MOE- is the read output enable. These memory implementations require no external logic. The memory spaces may each be constructed from any type of memory desired. The only restriction is that a single memory space must be constructed from the same type of memory; for example, data space may not use both x8 and x16 memories, it must be all x8, or all x16. This restriction does not apply across memory spaces; e.g., code space may use a x8 memory and data space a single x16 memory, or code space two x8 memories and data space a single x8 memory. Contact the factory for additional information in regards to HFA3842B to PRISM II MAC-less Connections. Serial EEPROM Interface The HFA3842B contains a small on-chip ROM Firmware which was added to allow the CIS or CIS plus firmware image to be transferred from an off-chip serial non-volatile memory device to RAM after a system Reset. This allows a system configuration without a parallel Flash Device. The operating frequency of the serial port is 400kHz with a voltage of 3.3V. Refer to Figure 14 for additional details on configuring the serial memory of the HFA3842B. The Power On Reset Configuration section in this data sheet provides additional details on memory selection and control after a Reset condition. Host Interface PC Card Physical Interface The Host interface is compatible to the PC Card 95 Standard (PCMCIA v2.1). The HFA3842B Host Interface pins connect directly to the correspondingly named pins on the PC Card connector with no external components (other than resistors) required. The HFA3842B operates as an I/O card using less than 64 octet locations. Reads and writes to internal registers and buffer memory are performed by I/O accesses. Attribute memory (256 octets) is provided for the CIS table which is located in external memory. Common memory is not used. The following describes specific features of various pins: HA[9:0] Decoding of the system address space is performed by the HCEx-. During I/O accesses HA[5:0] decode the register. HA[9:6] are ignored when the internal HAMASK register is set to the defaults used by the standard firmware. During attribute memory accesses HA[9:1] are used. HFA3842B HD[15:0] Read to Attribute Space and Memory Mapped Registers The host interface is primarily designed for word accesses, although all byte access modes are fully supported. See HCE1-, HCE2- for a further description. Note that attribute memory is specified for and operates with even bytes accesses only. • WAIT will assert until the memory arbitration and access have completed. HCE1-, HCE2The PC Card cycle type and width are controlled with the CE signals. Word and Byte wide accesses are supported, using the combinations of HCE1-, HCE2-, and HA0 as specified in the PC Card standard. HWE-, HOEHOE- and HWE- are only used to access attribute memory. Common Memory, as specified in the PC Card standard, is not used in the HFA3842B. HOE- is the strobe that enables an attribute memory read cycle. HWE- is the corresponding strobe for the attribute memory write cycle. The attribute space contains the Card Information Structure (CIS) as well as the Function Configuration Registers (FCR). Buffer Access Paths, BAP0 and BAP1 • An internal Pre-Read cycle to memory is initiated by a host Buffer Read cycle, after the internal address pointer has auto-incremented. If the next host cycle is a read to the same buffer, the data will be available without a memory arbitration delay. • A single register holds the pre-read data. Thus, any read access to any other memory-mapped register (or the other buffer access path) will result in the pre-read data becoming invalidated. • If another read cycle has invalidated the pre-read, then a memory arbitration delay will occur on the next buffer access path read cycle. HIREQ- HIORD- and HIOWR- are the enabling strobes for register access cycles to the HFA3842B. These cycles can only be performed once the initialization procedure is complete and the HFA3842B has been put into IO mode. Immediately after reset, the HIREQ- signal serves as the RDY/BSY (per the PC Card standard). Once the HFA3842B firmware initialization procedure is complete, HIREQ- is configured to operate as the interrupt to the PC Card socket controller. Both Level Mode and Pulse Mode interrupts are supported. By default, Level mode interrupts are used, so the interrupt source must be specifically acknowledged or disabled before the interrupt will be removed. HREG- HRESET This signal must be asserted for I/O or attribute cycles. A cycle with HREG- unasserted will be ignored as the HFA3842B does not support common memory. When reset is removed, the CIS table is initialized and, once complete, HIREQ- is set high (HIREQ- acts as RDY/BSY from reset and is set high to indicate the card is ready for use). The CIS table resides in Flash memory and is copied to RAM during firmware initialization. The host system can then initialize the card by reading the CIS information and writing to the configuration register. HIORD-, HIOWR- HINPACKThis signal is asserted by the HFA3842B whenever a valid I/O read cycle takes place. A valid cycle is when HCE1-, HCE2-, HREG-, and HIORD- are asserted, once the initialization procedure is complete. HWAITWait states are inserted in accesses using HWAIT-. The host interface synchronizes all PC Card cycles to the internal HFA3842B clock. The following wait states should be expected: ISA PnP The HFA3842B can be connected to the ISA bus and operate in a Plug and Play environment with an additional chip such as the Fujitsu MB86703, Texas Instruments TL16PNP200A, or Fairchild Semiconductor NM95MS15. See the Application Note AN9874, “ISA Plug and Play with the HFA3841” for more details. Direct Read or Write to Hardware Register Register Interface • 1/2 to 1 MCLK assertion of HWAIT- for internal synchronization. The logical view of the HFA3842B from the host is a block of 32 word wide registers. These appear in IO space starting at the base address determined by the socket controller. There are three types of registers. Write to Memory Mapped Register, Buffer Access Path, or Attribute Space (Post-Write) • The data required for the write cycle will be latched and therefore only the synchronizing wait state will occur. • Until the queued cycle has actually written to the memory, any subsequent access by the Host will result in a WAIT. HARDWARE REGISTERS (HW) • 1 to 1 correspondence between addresses and registers. • No memory arbitration delay, data transfer directly to/from registers. • AUX base and offset are write-only, to set up access through AUX data port. 16 HFA3842B • Note: All register cycles, including hardware registers, incur a short wait state on the PC Card bus to ensure the host cycle is synchronized with the HFA3842B's internal MCLK. MEMORY MAPPED REGISTERS IN DATA RAM (MM) • 1 to 1 correspondence. • Requires memory arbitration, since registers are actually locations in HFA3842B memory. • Attribute memory access is mapped into RAM as Baseaddress + 0x400. • AUX port provides host access to any location in HFA3842B RAM (reserved). BUFFER ACCESS PATH (BAP) • No 1 to 1 correspondence between register address and memory address (due to indirect access through buffer address pointer registers). • Auto increment of pointer registers after each access. • Require memory arbitration since buffers are located in HFA3842B memory. • Buffer access may incur additional delay for Hardware Buffer Chaining. TABLE 6. MEMORY MAPPED REGISTER I/O OFFSET NAME TYPE 00 Command MM 02 Param0 MM 04 Param1 MM 06 Param2 MM 08 Status MM 0A Resp0 MM 0C Resp1 MM 0E Resp2 MM 10 InfoFID MM 20 RxFID MM 22 AllocFID MM 24 TxComplFID MM 18 BAP Select0 MM 1C BAP Offset0 MM 36 BAP Data0 BAP 1A BAP Select1 MM 1E BAP Offset1 MM 38 BAP Data1 BAP 30 EvStat HW 32 IntEn HW 34 EvAck HW 14 Control MM 28 SwSupport0 MM 2A SwSupport1 MM 2C SwSupport2 MM 3A AuxBase HW 3C AuxOffset HW 3E AuxData (Reserved) 17 Buffer Access Paths The HFA3842B has two independent buffer access paths, which permits concurrent read and write transfers. The firmware provides dynamic memory allocation between Transmit and Receive, allowing efficient memory utilization. On-the-fly allocation of (128-byte) memory blocks as needed for reception wastes minimal space when receiving fragments. The HFA3842B hides management of free memory from the driver, and allows fast response and minimum data copying for low latency. The firmware provides direct access to TX and RX buffers based on Frame ID (FID). This facilitates Power Management queuing, and allows dynamic fragmentation and defragmentation by controller. Simple Allocate/Deallocate commands ensure low host CPU overhead for memory management. Hardware buffer chaining provides high performance while reading and writing buffers. Data is transferred between the host driver and the HFA3842B by writing or reading a single register location (The Buffer Access Path, or BAP). Each access increments the address in the buffer memory. Internally, the firmware allocates blocks of memory as needed to provide the requested buffer size. These blocks may not be contiguous, but the firmware builds a linked list of pointers between them. When the host driver is transferring data through a buffer access path and reaches the end of a physical memory block, hardware in the host interface follows the linked list so that the buffer access path points to the beginning of the next memory block. This process is completely transparent to the host driver, which simply writes or reads all buffer data to the same register. If the host driver attempts to access beyond the end of the allocated buffer, subsequent writes are ignored, and reads will be undefined. PHY Interface The HFA3842B is intended to support the PRISM family of Baseband processors with no additional components. This family currently includes the HFA3860B, HFA3861B, HFA3861 and HFA3863 baseband processors and the other ICs in the PRISM radio chip set. (Other baseband processors may be supported with custom firmware. See your sales representative for more information). The HFA3842B interfaces to the HFA386X baseband processors through two serial interfaces. The Modem Management Interface (MMI) is used to read and write internal registers in the baseband processor and access per-packet PLCP information. The Modem Data Interface (MDI) provides the receive and transmit data paths which transfer the actual MPDU data. Serial Control Port (MMI) The HFA3842B has a serial port that is used to program the baseband processor. There are individual chip selects and shared clock and data lines. The MMI is used to program the registers and functionality of the PHY baseband processor. HFA3842B data it uses the rising edge of clock to sample; when driving data, transitions occur on the rising edge. PHY BASEBAND PROCESSOR The PHY baseband processor is programmed by HFA3842B firmware. Address bits 6 through 1 are significant for selecting configuration registers. Address bits 7 and 0 are unused. See the BBP Programming section for register addresses and suggested values. The PRISM II baseband processor mode works as follows: The Control Port consists of 3 signals: SD (serial data), SCLK (serial clock), and CS_BAR (active-low chip select). For read operations, the rising edge of R/W must occur after the 7th but prior to the 8th rising edge of SCLK. This ensures that the first data bit is clocked out of the BBP prior to the edge used to clock it into the MAC. Control Port signaling for read and write operations is illustrated in Figures 17 and 18 respectively. Detailed timing relationships appear in Figure 19 and timing specifications are contained in Table 7. For more detailed information on the Control Port and BBP register programming see the HFA386x data sheets. The BBP always uses the rising edge when clocking data on the Control Port. This means that when the BBP is receiving FID BUFFER MEMORY BUFFER DESCRIPTOR ACCESS (FIRMWARE) ALLOCATE/ DEALLOCATE REQUEST VIRTUAL FRAME BUFFER BLOCK STATUS A OFFSET OFFSET CENTER HEADER HOST BUS DATA PORT D PRE-READ/ POST-WRITE DATA FIGURE 16. BLOCK DIAGRAM OF A BUFFER ACCESS PATH FIRST DATABIT OUT FIRST ADDRESS BIT 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 SCLK SD 7 6 5 MSB 4 3 2 1 07 7 6 6 5 ADDRESS IN 4 MSB 3 2 1 0 DATA OUT LSB R/W CS FIGURE 17. PRISM II BASEBAND PROCESSOR CONTROL PORT READ TIMING 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 SCLK SD 7 MSB 6 5 4 3 ADDRESS IN 2 1 0 7 MSB 6 5 4 DATA IN 3 2 1 0 LSB R/W CS FIGURE 18. PRISM II BASEBAND PROCESSOR SERIAL CONTROL PORT WRITE TIMING 18 HFA3842B tSCP tSCW tSCW SCLK tSCS tSCH SDI, R/W, SD, CS tSCD SD (AS OUTPUT) R/W SD tSCED tSCED FIGURE 19. BBP CONTROL PORT SIGNAL TIMING TABLE 7. BBP CONTROL PORT AC ELECTRICAL SPECIFICATIONS PARAMETER LE_RF SYMBOL MIN MAX UNITS SCLK Clock Period tSCP 90 - ns SCLK Width Hi or Low tSCW 20 - ns Setup to SCLK + Edge (SD, SDI, R/W, CS) tSCS 30 - ns Hold Time from SCLK + Edge (SD, SDI, R/W, CS) tSCH 0 - ns SD Out Delay from SCLK + Edge tSCD - 30 ns tSCED - SD Out Enable/Disable from R/W SYNTHCLK SYNTHDATA D23 D22 D21 D20 D1 D0 FIGURE 20. SYNTHESIZER DATA FORMAT 15 ns SYNTHESIZER For the PRISM II, the synthesizer is programmed by firmware using different pins than the MMI. The HFA3842B will exchange data with the baseband during transmit and receive operations over the MMI interface. If the MMI interface was connected to the front end chips, the transitions on SCLK and SD could couple noise into them. The synthesizer serial bus consists of SYNTHDATA, SYNTHCLK, LE_IF and LE_RF. SYNTHDATA is on pin PK2, SYNTHCLK is on PK1, LE_IF is the enable for the HFA3783 Quad IF chip, and LE_RF is the enable for the HFA3683 synthesizer. Data is provided on SYNTHDATA and clock on SYNTHCLK. The data is updated the falling edge of SYNTHCLK and expected to be latched into the synthesizer on the rising edge. The enable signal LE_RF is asserted while data is clocked out. 19 PHY Data Interface (MDI) The HFA3842B has a dedicated serial port to provide the data interface to the baseband processor. This is referred to as the Modem Data Interface (MDI). The MDI operates on the data being transferred to and from the baseband on a word by word basis. There are no FIFOs needed, since the firmware is able to control the protocol in real time. The MDI performs the following functions: • Serial to parallel conversion of received data from the baseband, with synchronization between the incoming RX clock to the internal HFA3842B clock. • Generating CRCs (HEC and FCS) from the received data stream to verify correct reception. • Decrypt the received data when WEP is enabled. • Parallel to serial conversion of transmit data, with the serial timing synchronized with the TX clock. • Insertion of the CRCs (HEC and FCS) at the appropriate point during transmission. • Encrypt the transmitted data when WEP is enabled. The receive data path uses RX_RDY, RXC, RXD. The transmit data path uses TX_RDY, TXC, TXD and the CCA input to determine (under the IEEE802.11 protocol) whether to transmit. HFA3842B go active after SFD is detected. This signals the HFA3842B, allowing it to pick off the needed header fields from the realtime demodulated bitstream rather than having to read these fields through the BBP Control Port. In transmit mode, the HFA386X is used in the mode where it generates the PLCP header internally and only the MPDU is passed from HFA3842B. In receive, the HFA386X is used in the mode where it passes the PLCP header and the MPDU to the HFA3842B. Assuming all is well with the header, the BBP decodes the signal field in the header and switches to the appropriate data rate. If the signal field is not recognized, or the CRC16 is in error, then MDRDY will go inactive shortly after CRC16 and the demodulator will return to acquisition mode looking for another packet. If all is well with the header, and after the demodulator has switched to the appropriate data rate, then the demodulator will continue to provide data to the HFA3842B indefinitely. BBP Packet Reception There are 4 signals associated with the BBP Receive Port: RX_PE (Receive Enable), MDRDY (Receive Ready), RXD (Receive Data), and RXCLK (Receive Clock). These connect to the HFA3842B on pins PL1, PK5, RXD, and RXC, respectively. The receive demodulator in the BBP is activated via RX_PE. When RX_PE goes active the demodulator scrutinizes I and Q for packet activity. When a packet arrives at a valid signal level the demodulator acquires and tracks the incoming signal. It then sifts through the demodulator data for the Start Frame Delimiter (SFD). Normally, MDRDY is programmed to Receive Port exchange details are depicted in Figure 21. Detailed timing is related in Figure 22 and Table 8. For more detailed information concerning BBP packet reception see the HFA386x data sheets. RXC RX_PE HEADER FIELDS DATA MDRDY PROCESSING PREAMBLE/HEADER LSB MSB DATA PACKET RXD FIGURE 21. BBP RECEIVE PORT TIMING tRLP RX_PE tRD3 tREH IIN , QIN tRD2 MDRDY tRCP RXC RXD tCCA tRCD tRCD tRDS CCA, RSSI tRDI tRDD FIGURE 22. BBP RECEIVE PORT SIGNAL TIMING NOTE: RXD, MDRDY is output two MCLK after RXC rising to provide hold time. RSSI output on TEST (5:0). 20 HFA3842B TABLE 8. BBP RECEIVE PORT AC ELECTRICAL SPECIFICATIONS PARAMETER SYMBOL MIN MAX RX_PE Inactive Width tRLP 70 - ns (Note 11) RXC Period (11MBps Mode) tRCP 77 - ns RXC Width Hi or Low (11MBps Mode) tRCD 31 - ns RXC to RXD tRDD 20 60 ns MD_RDY to 1st RXC tRD1 940 - ns (Note 12) RXD to 1st RXC tRD! 940 - ns Setup RXD to RXC tRDS 31 - ns RXC to RX_PE Inactive (1MBps) tREH 0 925 ns (Note 13) RXC to RX_PE Inactive (2MBps) tREH 0 380 ns (Note 13) RXC to RX_PE Inactive (5.5MBps) tREH 0 140 ns (Note 13) RXC to RX_PE Inactive (11MBps) tREH 0 50 ns (Note 13) RX_PE inactive to MD_RDY Inactive tRD2 5 30 ns (Note 14) Last Chip of SFD in to MD_RDY Active tRD3 2.77 2.86 µs (Note 12) 2.77 2.86 µs (Note 15) RX Delay UNITS RX_PE to CCA Valid tCCA - 10 µs (Note 16) RX_PE to RSSI Valid tCCA - 10 µs (Note 16) NOTES: 11. RX_PE must be inactive at least 3 MCLKs before going active to start a new CCA or acquisition. 12. MD_RDY programmed to go active after SFD detect (measured from IIN, QIN). 13. RX_PE active to inactive delay to prevent next RXC. 14. Assumes RX_PE inactive after last RXC. 15. MD_RDY programmed to go active at MPDU start. Measured from first chip of first MPDU symbol at IIN, QIN to MD_RDY active. 16. CCA and RSSI are measured once during the first 10µs interval following RX_PE going active. RX_PE must be pulsed to initiate a new measurement. RSSI may be read via serial port or from Test Bus. BBP Packet Transmission USB Port There are 4 signals associated with the BBP Transmit Port: TX_PE (Transmit Enable), TXRDY (Transmit Ready), TXD (Transmit Data), and TXCLK (Transmit Clock). These connect to the HFA3842B on PL0, PL7, TXD, and TXC, respectively. The USB interface implemented in the HFA3842B complies with the Universal Serial Bus Specification Revision 1.1. dated September 23, 1998, which is available from the USB Implementers’ Forum at http://www.usb.org/. State machines within the BBP control packet transmission and reception. In the case of a transmission, the MAC signals the BBP with the signal TX_PE. The BBP forms the preamble and header and then signals the MAC to begin transferring data with the signal TXRDY. This sequence is illustrated in Figure 22 with detailed signal timing shown in Figure 23 and specified delays contained in Table 9. Note that if the MAC deactivates TX_PE too early it may cut off modulation of the final symbol. For this reason, when TX_PE is de-asserted the BBP will hold TXRDY active until the last symbol containing data is modulated. This is important for power sequencing and is discussed in more detail in that section. For more detailed information concerning BBP packet transmission see the HFA3861 data sheet. 21 The USB host port interface uses Microsoft’s Remote NDIS protocol to communicate with the network software on the host computer. The USB supports 4 endpoints. • One Communications Class control endpoint for interface management; • One Communications Class interrupt endpoint for signalling interrupts to the host; and • Two Bulk endpoints for transfer of encapsulated NDIS functions to and from the host. HFA3842B TABLE 9. BBP TRANSMIT PORT AC ELECTRICAL SPECIFICATIONS (Continued) TABLE 9. BBP TRANSMIT PORT AC ELECTRICAL SPECIFICATIONS PARAMETER SYMBOL MIN MAX UNITS TXC to TX_PE Inactive (11MBps) tPEH 0 65 ns (Note 20) TXRDY Inactive To Last Chip of MPDU Out tRI -20 20 ns TXD Modulation Extension tME 2 - PARAMETER SYMBOL MIN MAX UNITS TX_PE to IOUT/QOUT (1st Valid Chip) tD1 2.18 2.3 µs (Note 17) TX_PE Inactive Width tTLP 2.22 - µs (Note 18) TXC Width Hi or Low tTCD 40 - ns TXRDY Active to 1st TX_CLK Hi tRC 260 - ns Setup TXD to TXC Hi tTDS 30 - ns NOTES: Hold TXD to TXC Hi tTDH 0 - ns TXC to TX_PE Inactive (1MBps) tPEH 0 965 ns (Note 20) 17. IOUT/QOUT are modulated before first valid chip of preamble is output to provide ramp up time for RF/IF circuits. TXC to TX_PE Inactive (2MBps) tPEH 0 420 ns (Note 20) 19. IOUT/QOUT are modulated after last chip of valid data to provide ramp down time for RF/IF circuits. TXC to TX_PE Inactive (5.5MBps) tPEH 0 160 ns (Note 20) 20. Delay from TXC to inactive edge of TXPE to prevent next TXC. Because TXPE asynchronously stops TXC, TXPE going inactive within 40ns of TXC will cause TXC minimum hi time to be less than 40ns. µs (Note 19) 18. TX_PE must be inactive before going active to generate a new packet. TXC TX_PE LAST DATA BIT SAMPLED FIRST DATA BIT SAMPLED LSB TXD DATA PACKET MSB DEASSERTED WHEN LAST CHIP OF MPDU CLEARS MOD PATH OF 3861 TXRDY NOTE: Preamble/Header and Data is transmitted LSB first. TXD shown generated from rising edge of TXC. FIGURE 23. BBP TRANSMIT PORT TIMING tTLP TX_PE tDI tPEH tME IOUT, QOUT tRI tTCD t TCD TXRDY tRC TXC TXD tTDH tTDS FIGURE 24. BBP TRANSMIT PORT SIGNAL TIMING 22 HFA3842B The USB along with USB support firmware provides an alternate host interface for attaching an 802.11{b} WLAN adapter to a host computer. This interface does not provide “wireless USB” where USB packets are sent on the wireless medium due to timing constraints in the USB protocol. USB+ and USB- are the differential pair signals provided for the user. These signals are capable of directly driving a USB cable. USB_DETECT is a 5V tolerant input to the HFA3842B device. It is used to signal the MAC processor that a USB cable is attached to the unit. Complete details on the USB firmware for controlling this port can be obtained by contacting the factory directly. Power Sequencing The HFA3842B provides a number of firmware controlled port pins that are used for controlling the power sequencing and other functions in the front end components of the PHY. Packet transmission requires precise control of the radio. Ideally, energy at the antenna ceases after the last symbol of information has been transmitted. Additionally, the transmit/receive switch must be controlled properly to protect the receiver. It's also important to apply appropriate modulation to the PA while it's active. Signaling sequences for the beginning and end of normal transmissions are illustrated in Figure 25. Table 10 lists applicable delays. A transmission begins with PE2 as shown in Figure 25. Next, the transmit/receive switch is configured for transmission via the differential pair TR_SW and TR_SW_BAR. This is followed by TX_PE which activates the transmit state machine in the BBP. Lastly, PA_PE activates the PA. Delays for these signals related to the initiation of transmission are referenced to PE2. Immediately after the final data bit has been clocked out of the HFA3842B, TX_PE is de-asserted. The HFA3842B then waits for TXRDY to go inactive, signaling that the BBP has modulated the final information-rich symbol. It then immediately de-asserts PA_PE followed by placing the transmit/receive switch in the receive position and ending with PE2 going high. Delays for these signals related to the termination of transmission are referenced to the rising edge of PE2. TABLE 10. TRANSMIT CONTROL TIMING SPECIFICATIONS SYMBOL DELAY PE2 to TR Switch PARAMETER tD1 2 ±0.1 µs PE2 to PA_PE tD3 3 ±0.1 µs PA_PE to PE2 tD4 3 ±0.1 µs TR Switch to PE2 tD5 2 ±0.1 µs PE1 and PE2 encoding details are found in Table 11. TABLE 11. POWER ENABLE STATES PE1 PE2 Power Down State 0 0 1 Receive State 1 1 1 Transmit State 1 0 1 PLL Active State 0 1 1 PLL Disable State X X 0 PLL_PE NOTE: 21. PLL_PE is controlled via the serial interface, and can be used to disable the internal synthesizer, the actual synthesizer control is an AND function of PLL_PE, and a result of the OR function of PE1 and PE2. PE1 and PE2 will directly control the power enable functionality of the LO buffer(s)/phase shifter. Note that during normal receive and transmit operation that PE1 is static and PE2 toggles for receive and transmit states. PE1 PE2 TR_SW TR_SW_BAR tD5 tD1 TX_PE TX_RDY PA_PE tD3 FIGURE 25. TRANSMIT CONTROL SIGNAL SEQUENCING 23 TOLERANCE UNITS tD4 HFA3842B Master Clock Prescaler The HFA3842B contains a clock prescaler to provide flexibility in the choice of clock input frequencies. For 11Mb/s operation, the internal master clock, MCLK, must be between 11MHz and 16MHz. The clock generator itself requires an input from the prescaler that is twice the desired MCLK frequency. Thus the lowest oscillator frequency that can be used for an 11MHz MCLK is 22MHz. The prescaler can divide by integers and 1/2 steps (IE 1, 1.5, 2, 2.5). Another way to look at it is that the divisor ratio between the external clock source and the internal MCLK may be integers between 2 and 14. Typically, the 44MHz baseband clock is used as the input, and the prescaler is set to divide by 2. Another useful configuration is to set the prescaler to divide by 1.5 (resulting in 44MHz ÷3) for an MCLK of 14.67MHz. Contact the factory for further details on setting the clock prescaler register in the HFA3842B. Low-Frequency Crystal The HFA3841 has an on-chip high-frequency oscillator that can be used to generate the internal master clock (MCLK). However, this on-chip high-frequency oscillator is almost never used because the MAC controller can accept the same clock signal as the PHY baseband processor (typically 44MHz), thereby avoiding the need for a separate, MACspecific oscillator in close proximity to the PHY RF circuitry. Therefore, on the HFA3842B the high-frequency oscillator is replaced by a low-frequency oscillator. This low-frequency oscillator is intended for use with a 32.768KHz, tuning-fork type watch crystal to permit accurate timekeeping with very low power consumption during sleep state. For the HFA3842B to achieve footprint compatibility with the HFA3841, pin 40 (OSCIN on the HFA3841) becomes CLKIN, which is the same function, when an external clock is provided to the MAC controller (as is recommended when using the HFA3842B with PRISM radios). The low-frequency crystal attaches between pin 39 (which is a 3.3V power input for the high-frequency oscillator on the HFA3841) and pin 41 (which is XTALO on the HFA3841, hence, unconnected if the on-chip oscillator is not being used). Refer to Figure 26 for additional details. If a 32.768KHz crystal is connected, the resulting LF clock is supplied to an interval timer to permit measuring sleep intervals as well as providing a programmable wake-up time. In addition, the CHOICE-W clock generator can operate either from CLKIN or (very slowly) from the LF clock. Glitchfree switching between these two clock sources, under firmware control, is provided by two, non-architectural Strobe functions (“FAST” and “SLOW”). In addition, during hardware reset, the clock generator source is set to the LF clock if no edges are detected on CLKIN for two cycles of the LF clock (roughly 61 microseconds). This allows proper 24 initialization with omission of either clock source, since without the LF crystal attached there will not be cycles of the LF clock to activate the detection circuit. The ability to initialize the HFA3842B using the LF oscillator to generate MCLK allows the high-frequency (PHY) oscillator to be powered down during sleep state, which is not possible with the HFA3841. If this is done, firmware can turn on power to the PHY oscillator upon wakeup, and use the interval timer to measure the startup and stabilization period before switching to use CLKIN. Clock Generator The HFA3842B can operate with MCLK frequencies up to at least 25MHz and CLKIN frequencies of at least 50MHz. The MCLK prescaler generates MCLK (and QCLK) from the external clock provided at the CLKIN input, or from the output of the LF oscillator. The MCLK prescaler divides the selected input clock by any integer value between 2 and 16, inclusive. • When using a 44MHz CLKIN, as is typical for 802.11 or 802.11b controllers with a PC Card Host Interface, common divisors are 3 (14.67MHz), 4 (11MHz), or 5 (8.8MHz) • When using a 48MHz CLKIN, as is typical for 802.11 or 802.11b controllers with a USB host interface, common divisors are 3 (16MHz), 4 (12MHz), or 6 (8MHz) • It is anticipated that a controller for the 802.11a, mandatory data rates will need to operate at an MCLK frequency of a least 24MHz, hence a CLKIN frequency of at least 48MHz. The MCLK prescaler is set to divide by 16 at hardware reset to allow initialization firmware to be executed from slow memory devices at any CLKIN frequency. The MCLK prescaler generates glitch free output when the divisor is changed. This allows firmware to change the MCLK frequency during operation, which is especially useful to selectively reduce operating speed, thereby conserving power, when full speed processing is not required. 39 22pF LF XTALI C1 X1 41 10MΩ C2 LFXTALO 4700pF FIGURE 26. 32.768kHz CRYSTAL Power On Reset Configuration The HFA3842B supports both hardware and software reset functions. Hardware reset is caused by assertion of the RESET input. When using the PC Card host interface, software reset is caused by setting the Sreset bit in the Configuration Option Register (COR[71]. When using the USB host interface, the soft reset function is invoked when HFA3842B both USB+ and USB- inputs are low continuously for more than 2.5 microseconds. This condition resets the USB core and certain other hardware, but does not perform a complete soft reset. Hardware and software reset leave the HFA3842B in the same state except in the case of soft reset from the PC Card Host Interface, in which case the COR and HCR registers come into play. The MD[15:8] pin values are sampled during HRESET or SRESET. These pins have internal 50K pull-down resistors. External pull-up resistors (typically 10kΩ) are used for bits that should be read as high at reset. Table 12 summarizes the effect per pin. Table 13 provides the MD15 and MD14 bit values required by the HFA3842B to allow usage of Serial EEPROM Devices. TABLE 12. INITIALIZATION STRAPPING OPTIONS ON MBUS DATA PINS BITS NAME DEFAULT 15:14 NVtype[1:01] 0 Indicates type of serial NV memory to be read by initialization firmware in on-chip ROM. FUNCTION 13 SHI_ENABLE 0 Use a Serial Host Interface (PC Card or ISA). When = 1 use a Serial Host Interlace (USB), and disable all PC Card functions except Attribute space, for access to the COR and HCR Registers (see Section 4.3) for firmware debugging support. I2 4wire 1 Use 4-wire interface to SRAM (CS-, OE-, WEH-, WEL-) as appropriate when using x8 SRAMs. When 0 = selects 5-wire interface for use with x16 SRAM (CS-, OE-, WE-, UBE-, LBE-). 11 Strldle 0 Start Idle. If ROMds = 0, then the “hardware” ignores this bit, but it is examined by the lCSROM boot code which will halt after loading the serial NV. If ROMds = 1, then setting this bit will cause the processor to wait for download of data From the AuxPort. 10 Mem16 0 RAM and NV space at startup is 516. When = 0 RAM and NV space at startup is x8. IF starting from off-chip NV memory this setting must indicate the width of the startup Flash EPROM. During initialization, firmware can set separate widths for RAM and NV space in the Memory Control Register. 9 NVds 0 Disable mapping of off-chip control store to NV, space hence map off-chip control store to RAM space). When = 0 off-chip control store is mapped to NV memory. This bit is used only to set initial values in the MOR and CSCR registers. It controls the setting of the NVRE and MAPxx bits therein. 8 ROMds 1 Disable on-chip ICSROM (Internal Control Store ROM - bootstrap code). When = 0 enable on-chip ICS-ROM. 7 ISA Mode 0 Set host interface control signals and address decoding For PC Card. When = 1 set host interface signals and address decoding is for ISA bus, with all registers in I/O space and Attribute space disabled. To use ISA mode, PHlenable must be = I to enable a Parallel Host Interface. 6 FCRinIO 0 Enable I/O space decoding for the physical FCRs. When = 1, the COR. CSR, and PRR registers (see Section 4.3) are accessible at I/O space offsets 0 x 40, 0 x 42, and 0 x 44 respectively. When = 0 these registers are only accessible in Attribute space. This bit is ignored when PHIenable = 0, and is overridden (forced = 1) when ISA mode = 1. FCRinIO = 1 is useful For PC Card operation PHIenable = 1 lSA mode = 0 to allow non OS software to access the COR/HCR in OS environments where the system software does not permit application software to access Attribute space.a 5:0 Spare 00 Not assigned. TABLE 13. SERIAL EEPROM SELECTION MD15 MD14 0 0 AT45DB011 DEVICE TYPE Large Serial Device used to transfer firmware to SRAM FUNCTION 0 1 24C08 (Note) Small Serial Device which contains only CIS. MAC goes idle after loading CIS and waits for host. 1 X None Modes not supported in firmware at this time. Consult factory for additional device types added. NOTE: The operating frequency of the serial port is 400kHz with a voltage of 3.3V. References For Intersil documents available on the internet, see web site www.intersil.com/ [1] IEEE Std 802.11-1999 Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specification. [2] HFA3860B Data Sheet, Direct Sequence Spread Spectrum Baseband Processor, Intersil Corporation, FN4594. [3] HFA3861 Data Sheet, Direct Sequence Spread Spectrum Baseband Processor, Intersil Corporation, FN4699. 25 [4] HFA3783 Data Sheet, Quad IF, Intersil Corporation, FN4633. [5] HFA3683 Data Sheet, Direct Sequence Spread Spectrum Baseband Processor, Intersil Corporation, FN4634. [6] PC Card Standard 1996, PCMCIA/JEIDA. [7] AN9844 Application Note, Intersil Corporation, “HFA3841 to PRISM II Connections”, AN9844. [8] AN9926 Application Note, Intersil Corporation, “HFA3842 and HFA3841 Differences”, AN9926. HFA3842B Thin Plastic Quad Flatpack Packages (LQFP) Q128.14x20 (JEDEC MS-026BHB ISSUE C) 128 LEAD THIN PLASTIC QUAD FLATPACK PACKAGE D D1 -D- -B- -AE E1 e PIN 1 SEATING A PLANE -H- 0.08 0.003 -C- INCHES MILLIMETERS SYMBOL MIN MAX MIN MAX NOTES A - 0.062 - 1.60 - A1 0.002 0.005 0.05 0.15 - A2 0.054 0.057 1.35 1.45 - b 0.007 0.010 0.17 0.27 6 b1 0.007 0.009 0.17 0.23 - D 0.862 0.870 21.90 22.10 3 D1 0.783 0.791 19.90 20.10 4, 5 E 0.626 0.634 15.90 16.10 3 E1 0.547 0.555 13.90 14.10 4, 5 L 0.018 0.029 0.45 0.75 N 128 128 e 0.0197 BSC 0.50 BSC 7 Rev. 0 7/99 NOTES: 1. Controlling dimension: MILLIMETER. Converted inch dimensions are not necessarily exact. 2. All dimensions and tolerances per ANSI Y14.5M-1982. 3. Dimensions D and E to be determined at seating plane -C- . 0.13 A-B S D S 0.005 M C b 11o-13o 0.020 0.008 MIN b1 0o MIN A2 A1 GAGE PLANE 5. Dimensions D1 and E1 do not include mold protrusion. Allowable protrusion is 0.25mm (0.010 inch) per side. 6. Dimension b does not include dambar protrusion. Allowable dambar protrusion shall not cause the lead width to exceed the maximum b dimension by more than 0.08mm (0.003 inch). 0.09/0.16 0.004/0.006 7. “N” is the number of terminal positions. BASE METAL WITH PLATING L 0o-7o 4. Dimensions D1 and E1 to be determined at datum plane -H- . 11 o-13 o 0.25 0.010 0.09/0.20 0.004/0.008 All Intersil products are manufactured, assembled and tested utilizing ISO9000 quality systems. Intersil Corporation’s quality certifications can be viewed at website www.intersil.com/design/quality Intersil products are sold by description only. Intersil Corporation reserves the right to make changes in circuit design and/or specifications at any time without notice. Accordingly, the reader is cautioned to verify that data sheets are current before placing orders. Information furnished by Intersil is believed to be accurate and reliable. However, no responsibility is assumed by Intersil or its subsidiaries for its use; nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Intersil or its subsidiaries. For information regarding Intersil Corporation and its products, see web site www.intersil.com Sales Office Headquarters EUROPE Intersil SA Mercure Center 100, Rue de la Fusee 1130 Brussels, Belgium TEL: (32) 2.724.2111 FAX: (32) 2.724.22.05 NORTH AMERICA Intersil Corporation 2401 Palm Bay Rd. Palm Bay, FL 32905 TEL: (321) 724-7000 FAX: (321) 724-7240 26 ASIA Intersil Ltd. 8F-2, 96, Sec. 1, Chien-kuo North, Taipei, Taiwan 104 Republic of China TEL: 886-2-2515-8508 FAX: 886-2-2515-8369