Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Freescale Semiconductor, Inc. Data Sheet: Technical Data Document Number: QFM2202DS Rev. 0, 03/2015 Wi-Fi Module QFM-2202 1. Overview QFM-2202 Wi-Fi module is developed by Freescale and Qualcomm Atheros. The module is certified and suitable for low-power and low-cost IoT appllications such as Smart Grid, Home and Building Automation, Security Surveillance, Smart Appliance, Remote Medical Care, etc. The industrial leading ARM Cortex-M4 Kinetis MCU, Wi-Fi MAC/BB/RF/PA/LNA, on-board antenna, and optional MFi interface are all integrated on the smallsize module. QFM-2202 Wi-Fi module includes 512KB Flash, 128KB memory RAM and various peripheral interfaces. This module supports IEEE 802.11 b/g/n protocol, complete TCP/IP protocol stack, and IoT application architecture AllJoyn. Users can use this module, either to add internet function for existed devices, or to generate independent network controller. © 2015 Freescale Semiconductor, Inc. All rights reserved. Contents 1. 2. 3. 4. 5. 6. 7. Overview 1 Features 2 2.1. Operating voltage .................................................... 2 2.2. Operating temperatue .............................................. 2 2.3. CPU Cortex-M4 @ 120MHz .................................. 2 2.4. Wi-Fi system ........................................................... 2 2.5. Software and stack .................................................. 2 2.6. Suitable integrated development environment ........ 2 Hardware Specification 3 3.1. System block diagram ............................................. 3 3.2. Module signal description ....................................... 3 3.3. Module GPIO pin functions .................................... 5 3.4. Electrical characteristics ......................................... 6 3.5. Power up sequence.................................................. 8 3.6. Power consumption................................................. 8 3.7. RF characteristics .................................................... 9 Layout Guide 13 Mechanical Interface Specification 15 Ordering Information 16 Revision History 16 Features 2. Features 2.1. Operating voltage 3.3 V 2.2. Operating temperatue -40 °C - 105 °C 2.3. CPU Cortex-M4 @ 120MHz • • Flash: 512 KB Memory: 128 KB 2.4. Wi-Fi system • • • • • • • • • • IEEE 802.11 b/g/n Single stream 1x1 Single-band 2.4 GHz Green Tx power saving mode Low power listen mode Data rates up to 150 Mbps Data rates up to 52 Mbps for 802.11 b/g, data rates up to 150 Mbps for 802.11n (MCS0-7). Networking protocol support: IPv4/IPv6, TCP/UDP, ARP/NDP, DHCPv4, ICMPv6 Full security support: WPS, WPA, WPA2, WAPI, WEP, TKIP Each Tx power calibrated 2.5. Software and stack • • • • • • Real Time OS : MQX Architecture of internet software: Alljoyn iOS homekit frame and MFi supported Bootloader encrypted with RSA2048/SHA-256 Update firmware via Wi-Fi or UART Drivers of interfaces of MCU 2.6. Suitable integrated development environment • IAR EWARM V7.10 or above Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 2 Freescale Semiconductor, Inc. Hardware Specification • GCC ARM V4.8.4 or above 3. Hardware Specification 3.1. System block diagram VDD_MCU VDD33 24MHz XTAL 40MHz XTAL 4Mb SPI Flash 2 x UART 1 x USB 1 x I2S 2.4G Antenna SPI_BUS 2 x ADC MK22FN512VMP12 1 x DAC SPI_INT_Wifi QCA4002 PIN 2, 3, 4, 5, 36 Reserved for factory use 1 x SPI CHIP_PWD_L_MCU 1 x JTAG nRESET GPIO 1 x JTAG 1 x UART EZP_nCS 1 x I2C1 MFi OPTIONAL 1 x I2C0 QFM - 2202 Figure 1 QFM-2202 system block diagram 3.2. Module signal description Figure 2 QFM-2202 QFM-2202 top view Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 Freescale Semiconductor, Inc. 3 Hardware Specification Figure 3 QFM-2202 pinout top view Table 1 QFM-2202 pin assignment and description Signal name GND VDD_MCU VDD33 RSV USB_MCU_DM USB_MCU_DP ADC0_DP0 ADC0_DP3 DAC0_OUT nRESET 1 EZP_nCS SPI1_EXT_CS0 SPI1_EXT_SIN SPI1_EXT_SOUT SPI1_EXT_CLK JTAG_MCU_TCLK JTAG_MCU_TDI Pin 1,19,29,47 27 35 2,3,4,5,36 14 15 16 17 18 28 23 6 7 8 9 10 11 Type Description Power Power Power N/A Ground 3.3V power supply for K22 3.3V power supply for QCA4002 Reserved for factory use, NC USB FS/LS OTG controller with onchip transceiver. AI AI AO DI 2 DI 2 DIO 2 DI 2 DO 2 DIO 2 DI 2 DI 16-bit SAR ADCs converting at 1.2 MS/s in 12bit mode. 12-bit DAC. K22 POR reset, active LOW. EzPort Chip Select Peripheral Chip Select Serial Data In Serial Data Out Serial Clock JTAG Test Clock / Serial Wire Clock JTAG Test Data Input Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 4 Freescale Semiconductor, Inc. Hardware Specification Signal name Pin Type 2 JTAG_MCU_TDO JTAG_MCU_nTRST JTAG_MCU_TMS I2C1_DAT I2C1_CLK I2C0_DAT I2C0_CLK MCU_UART0_RXD MCU_UART0_RTS MCU_UART0_CTS MCU_UART0_TXD MCU_UART1_RXD MCU_UART1_TXD MCU_UART1_CTS MCU_UART1_RTS I2S0_TXD0 21 22 32 12 13 25 26 20 30 31 34 38 40 41 42 24 DO 2 DI 2 DIO 2 DIO 2 DIO 2 DIO 2 DIO 2 DI 2 DO 2 DI 2 DO 2 DI 2 DO 2 DI 2 DO 2 DO I2S0_TX_BCLK 33 DIO I2S0_TX_FS 39 DIO I2S0_RXD0 43 DI I2S0_RX_BCLK 44 DIO I2S0_MCLK 45 DIO I2S0_RX_FS 46 DIO MCU_GPIO5 37 DIO 1. 2 2 2 2 2 2 Description JTAG Test Data Output JTAG Reset JTAG Test Mode Selection / Serial Wire Data Bidirectional serial data line of the I2C system Bidirectional serial clock line of the I2C system Bidirectional serial data line of the I2C system Bidirectional serial clock line of the I2C system Receive data Request to send Clear to send Transmit data Receive data Transmit data Clear to send Request to send Transmit Data. The transmit data is generated synchronously by the bit clock and is tristated whenever not transmitting a word. Transmit Bit Clock. The bit clock is an input when externally generated and an output when internally generated. Transmit Frame Sync. The frame sync is an input sampled synchronously by the bit clock when externally generated and an output generated synchronously by the bit clock when internally generated. Receive Data. The receive data is sampled synchronously by the bit clock. Receive Bit Clock. The bit clock is an input when externally generated and an output when internally generated. Audio Master Clock. The master clock is an input when externally generated and an output when internally generated. Receive Frame Sync. The frame sync is an input sampled synchronously by the bit clock when externally generated and an output generated synchronously by the bit clock when internally generated. 2 Minimum 2 bus clock cycles of EZP_nCS=0 after reset will force K22 enter into EZP mode. 2. All IOs are with multiplexed functions. See table-2 for details. 3.3. Module GPIO pin functions Table 2 QFM-2202 GPIO pin functions Signal EZP_nCS Pin 23 SPI1_EXT_CS0 6 Default NMI_b/ EZP_CS_b DISABLED SPI1_EXT_SIN SPI1_EXT_SOU T 7 8 DISABLED ADC0_SE7b SPI1_EXT_CLK 9 ADC0_SE6b JTAG_MCU_TCL K 10 JTAG_MCU_TDI 11 JTAG_MCU_TD 21 JTAG_TCLK /SWD_CLK/ EZP_CLK JTAG_TDI/E ZP_DI JTAG_TDO/ ALT0 ADC0_SE7b ADC0_ SE6b ALT1 PTA4/ LLWU_P3 PTD4/ LLWU_P1 4 PTD7 PTD6/ LLWU_P1 5 PTD5 ALT2 ALT3 FTM0_CH1 ALT4 ALT5 ALT6 ALT7 NMI_b SPI0_PCS1 UART0_RTS_ b FTM0_CH4 FB_AD2 EWM_IN SPI1_PCS0 UART0_TX UART0_RX FTM0_CH7 FTM0_CH6 FB_AD0 FTM0_FLT1 FTM0_FLT0 SPI1_SIN SPI1_SOUT FB_AD1 EWM_OUT_b SPI1_SCK UART0_CTS_ b UART0_CTS_ b FTM0_CH5 FTM0_CH5 PTA0 PTA1 UART0_RX PTA2 UART0_TX SPI0_PCS3 SPI0_PCS2 EzPort EZP_CS _b JTAG_TCLK/S WD_CLK EZP_CL K FTM0_CH6 JTAG_TDI EZP_DI FTM0_CH7 JTAG_TDO/TR EZP_DO Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 Freescale Semiconductor, Inc. 5 Hardware Specification Signal O Pin JTAG_MCU_nTR ST JTAG_MCU_TM S I2C1_DAT 22 12 JTAG_TMS/ SWD_DIO ADC1_SE4a I2C1_CLK 13 ADC1_SE5a I2C0_DAT 25 I2C0_CLK 26 MCU_UART0_R XD MCU_UART0_R TS MCU_UART0_C TS MCU_UART0_TX D MCU_UART1_R XD MCU_UART1_TX D MCU_UART1_C TS MCU_UART1_R TS I2S0_TXD0 20 ADC0_SE9/ ADC1_SE9 ADC0_SE8/ ADC1_SE8 DISABLED 30 ADC0_SE12 31 ADC0_SE13 34 DISABLED 38 CMP1_IN1 40 DISABLED 41 24 ADC0_SE4b / CMP1_IN0 ADC0_ SE15 DISABLED I2S0_BCLK 33 DISABLED I2S0_TX_FS 39 DISABLED I2S0_RXD0 43 DISABLED SPI0_SCK I2S0_RX_BCLK 44 CMP0_IN0 CMP0_IN0 I2S0_MCLK 45 ADC1_SE4b / CMP0_IN2 I2S0_RX_FS 46 ADC1_ SE4b/ CMP0_IN2 CMP0_IN1 PTC5/LLW U_P9 PTC6/LLW U_P10 PTC8 CMP0_IN1 PTC7 SPI0_SIN MCU_GPIO5 37 ADC0_ SE14 ADC0_ SE14 PTC0 SPI0_PCS4 32 42 Default TRACE_SW O/EZP_DO DISABLED ALT0 ADC1_ SE4a ADC1_ SE5a ADC0_SE9/ ADC1_SE9 ADC0_SE8/ ADC1_SE8 ADC0_ SE12 ADC0_ SE13 CMP1_IN1 ADC0_SE4b / CMP1_IN0 ADC0_ SE15 ALT1 ALT2 ALT3 PTA5 USB_ CLKIN FTM0_CH2 PTA3 UART0_RTS_ b SPI1_PCS1 FTM0_CH0 UART1_TX I2C1_SDA JTAG_TMS/SW D_DIO RTC_CLKOUT SPI1_ SOUT UART1_RX I2C1_SCL SPI1_SIN I2C0_SDA FTM1_CH1 PTB0/ LLWU_P5 PTB16 I2C0_SCL FTM1_CH0 SPI1_ SOUT UART0_RX FTM1_QD_P HB FTM1_QD_P HA EWM_IN PTB2 I2C0_SCL PTB3 I2C0_SDA PTB17 SPI1_SIN UART0_RTS_ b UART0_CTS_ b UART0_TX FTM_CLKIN1 PTC3/LLW U_P7 PTC4/LLW U_P8 PTC2 SPI0_PCS1 UART1_RX FTM0_CH2 SPI0_PCS0 UART1_TX FTM0_CH3 SPI0_PCS2 FTM0_CH1 PTC1/LLW U_P6 PTA12 SPI0_PCS3 UART1_CTS_ b UART1_RTS_ b FTM1_CH0 PTB18 FTM2_CH0 PTB19 FTM2_CH1 I2S0_TX_BCL K I2S0_TX_FS PTE0/ CLKOUT3 2K PTE1/LLW U_P0 PTB1 SPI0_ SOUT ALT4 ALT5 FTM_CLKIN0 FB_AD1 7 ALT6 ALT7 ACE_SWO EzPort I2S0_TX_BCL K JTAG_TRST_b FTM0_FLT3 FTM0_ FLT0 FB_AD1 6 CLKOUT FB_AD1 1 FB_AD1 2 FB_AD1 3 FTM0_CH0 EWM_OUT_b I2S0_TX_BCL K CMP1_OUT LPUART0_RX I2S0_TX_ FS LPUART0_CTS _b LPUART0_RTS _b FTM1_QD_PH A I2S0_TXD0 I2S0_TXD0 FB_AD1 5 FB_OE_ b FB_AD1 0 FB_AD9 LPTMR0_ALT 2 PDB0_EXTR G FTM3_CH4 I2S0_RXD0 USB_SOF_O UT PDB0_EXTR G I2S0_RX_FS FB_AD8 USB_SOF_O UT FB_AD1 4 I2S0_RX_BC LK I2S0_MCLK FTM2_QD_P HA FTM2_QD_P HB CMP0_OUT LPUART0_TX FTM0_CH2 I2S0_MCLK FB_AD7 3.4. Electrical characteristics 3.4.1. Absolute maximum ratings Table 3 QFM-2202 absolute maximum ratings Symbol VDD_MCU VDD33 VDIO VAIO ID VUSB_DP VUSB_DM Description MCU Supply Voltage QCA4002 Supply Voltage Digital Input Voltage 1 Analog Maximum current single pin limit (applies to all digital pins) USB_DP Input Voltage USB_DM Input Voltage Min. -0.3 -0.3 -0.3 -0.3 -25 -0.3 -0.3 Max. 3.8 4.0 VDD_MCU +0.3 VDD_MCU +0.3 25 3.63 3.63 Unit V V V V mA V V 1. Analog pins are defined as pins that do not have an associated general purpose I/O port function. Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 6 Freescale Semiconductor, Inc. Hardware Specification 3.4.2. Recommended operating conditions Table 4 QFM-2202 recommended operating conditions Symbol VDD_MCU VDD33 TSTG TA Description MCU Supply Voltage QCA4002 Supply Voltage Storage temperature Operating Temperature Min. 2.7 3.14 -45 -40 Max. 3.6 3.46 135 105 Unit V V °C °C Min. 0.7 x VDD_MCU - Max. 0.35 x VDD_MCU Unit V V VDD_MCU - 0.5 VDD_MCU - 0.5 - V - 0.5 0.5 100 100 V - 0.5 0.5 1.0 uA 20 20 0.06 x VDD_MCU 50 50 - kΩ kΩ V -3 - +3 mA -25 - +25 VDD_MCU 1.2 0.8 VDD_MCU 1.5 3.4.3. DC electrical characteristics Table 5 QFM-2202 DC electrical characteristics Symbol VIH VIL VOH VOL IOHT IOLT IIN IIN RPU RPD VHYS IICIO IICcont 1 VODPU VRAM 2 VPOR Description Input High Voltage Input Low Voltage Output high voltage Normal drive pad (IOH = -5mA) High drive pad (IOH = -20mA) Output low voltage Normal drive pad (IOH = 5mA) High drive pad (IOH = 20mA) Output high current total for all ports Output low current total for all ports Input leakage current (per pin) for full temperature range All pins other than high drive port pins High drive port pins Input leakage current (total all pins) for full temperature range Internal pullup resistors Internal pulldown resistors Input Hysteresis Analog and I/O pin DC injection current - single pin VIN < VSS - 0.3V (Negative current injection) VIN > VDD_MCU + 0.3V (Positive current injection) Contiguous pin DC injection current —regional limit, includes sum of negative injection currents or sum of positive injection currents of 16 contiguous pins Negative current injection Positive current injection Open drain pullup voltage level VDD_mcu voltage required to retain RAM Falling VDD_mcu POR detect voltage mA mA uA mA V V V 1. All analog and I/O pins are internally clamped to VSS and VDD_mcu through ESD protection diodes. If VIN is less than VIO_MIN or greater than VIO_MAX, a current limiting resistor is required. The negative DC injection current limiting resistor is calculated as R=(VIO_MIN-VIN)/|IICIO|. The positive injection current limiting resistor is calculated as R=(VINVIO_ MAX)/|IICIO|. Select the larger of these two calculated resistances if the pin is exposed to positive and negative injection currents. 2. Typical value is 1.1 V. Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 Freescale Semiconductor, Inc. 7 Hardware Specification 3.5. Power up sequence Figure 4 QFM-2202 power up sequence 3.6. Power consumption 3.6.1. Operating power consumption Table 6 QFM-2202 operating power consumption Mode Tx Standard 11b Rate 1 11 6 54 MCS0 MCS7 MCS0 MCS7 11g 11n HT20 11n HT40 Rx All rates Typ 247.6 241.2 246.1 210.6 263.0 217.3 221.5 195.5 66.7 Unit mA mA 3.6.2. Standby power consumption Table 7 QFM-2202 standby power consumption Mode Standby Power Save Mode (2.4G) (Low Power Listen 1 disabled) State CHIP_PWD HOST_OFF SLEEP DTIM period DTIM 1 DTIM 3 DTIM 5 DTIM 10 Typical current consumption for SPI/UART at 3.3V 5uA 50uA 130uA Current Cons. (uA) T1 (ms) T2 (ms) Tbeacon (ms) 1090 2.01 0.36 0.99 473 1.99 0.32 1.06 335 1.99 0.30 1.01 258 1.97 0.43 0.97 T3 (ms) 0.39 0.41 0.41 0.47 1. Numbers are for switch mode. Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 8 Freescale Semiconductor, Inc. Hardware Specification 3.7. RF characteristics 3.7.1. Wireless LAN radio configuration and general specifications Table 8 Wireless LAN radio configuration and general specifications Item 1 Country/Domain Code Center Frequency Specification Reserved 11b 11g 11n HT20 11n HT40 11b 11g 11n 1stream 11b 11g/n Rate Modulation type Unit GHz GHz GHz GHz Mbps Mbps Mbps - 2.412-2.472 2.412-2.472 2.412-2.472 2.422-2.452 1, 2, 5.5, 11 6, 9, 12, 18, 24, 36, 48, 54 MCS0, 1, 2, 3, 4, 5, 6, 7 DSSS (CCK, DQPSK, DBPSK) OFDM (64QAM, 16QAM, QPSK, BPSK) 1. This code will be written during calibration. 3.7.2. Radio Tx characteristics Table 9 Radio Tx characteristics Symbol Ftx Parameter Tx output frequency range Pout Output power 11b Conditions - Min 2.412 Typ — Max 2.484 Unit GHz 1 Mbps 11 Mbps 6 Mbps 54 Mbps MCS0 MCS7 MCS0 MCS7 - 18 18 18 14 18 13 16 12 - dBm dBm dBm dBm dBm dBm dBm dBm 1 11g 11n HT20 11n HT40 1. Performance calculated at the balun. Loss from balun to antenna connector in the test board is 1.2 dB (2.4GHz). 3.7.3. Radio Rx characteristics Table 10 Radio Rx characteristics Symbol Frx Srf Parameter Rx input frequency range 1 Sensitivity CCK Conditions - Min 2.412 Typ - Max 2.484 Unit GHz 1 Mbps 11 Mbps - -94 -86 - dBm dBm Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 Freescale Semiconductor, Inc. 9 Hardware Specification Symbol Parameter OFDM HT20 HT40 Conditions 6 Mbps 54 Mbps MCS0 MCS7 MCS0 MCS7 Min - Typ -90 -73 -90 -70 -88 -67 Max - Unit dBm dBm dBm dBm dBm dBm 1. Performance measured at the balun. Loss from balun to antenna connector in the test board is 1.2 dB (2.4GHz). 3.7.4. Rx dynamic range (waterfall) Figure 5 1Mbps CCK Figure 6 11 Mbps CCK Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 10 Freescale Semiconductor, Inc. Hardware Specification Figure 7 6 Mbps OFDM Figure 8 54 Mbps OFDM Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 Freescale Semiconductor, Inc. 11 Hardware Specification Figure 9 MCS0 HT20 Figure 10 MCS7 HT20 Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 12 Freescale Semiconductor, Inc. Layout Guide Figure 11 MCS0 HT40 Figure 12 MCS7 HT40 4. Layout Guide 1. The antenna area should be towards outside of base board. The distance from pin1 or pin47 to edge of base board should be smaller than 2mm. Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 Freescale Semiconductor, Inc. 13 Layout Guide Figure 13 QFM-2202 distance for base board (unit: mm) 2. Red rectangle is the clearance area: on the base board, top and internal layers of the red rectangle should have no shapes or clines; the bottom layer of the red rectangle should have a whole ground shape. Figure 14 QFM-2202 clearance area for base board (unit: mm) Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 14 Freescale Semiconductor, Inc. Mechanical Interface Specification 5. Mechanical Interface Specification QFM-2202 module dimensions are show as below. Figure 15 QFM-2202 module dimensions top view Figure 16 QFM-2202 module dimensions bottom view Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 Freescale Semiconductor, Inc. 15 Revision History Figure 17 QFM-2202 module dimensions side view (unit: mm) 6. Ordering Information Table 11 Ordering information Part number QFM-2202 QFM-2202-A Temperature -40 to 105 °C -40 to 105 °C MFi & HomeKit Not Available Available 7. Revision History The following table provides a revision history for this document. Table 12 Revision history Revision number Date Substantive changes 0 03/2015 Initial Release Wi-Fi Module QFM-2202 Data Sheet: Technical Data Rev. 0 03/2015 16 Freescale Semiconductor, Inc. How to Reach Us: Home Page: freescale.com Web Support: freescale.com/support Information in this document is provided solely to enable system and software implementers to use Freescale products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based on the information in this document. Freescale reserves the right to make changes without further notice to any products herein. Freescale makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale 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 that may be provided in Freescale 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. Freescale does not convey any license under its patent rights nor the rights of others. Freescale sells products pursuant to standard terms and conditions of sale, which can be found at the following address: freescale.com/SalesTermsandConditions. Freescale, Freescale logo, Energy Efficient Solutions logo, and Kinetis are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. ARM and Cortex are registered trademarks of ARM Limited (or its subsidiaries) in the EU and/or elsewhere. All rights reserved. © 2015 Freescale Semiconductor, Inc. Document Number: QFM2202DS Rev. 0 03/2015