CYW20738
Part | Datasheet |
---|---|
![]() |
CYW20738A2KML3G (pdf) |
PDF Datasheet Preview |
---|
CYW20738 Single-Chip Bluetooth Transceiver for Wireless Input Devices The Cypress CYW20738 is a Bluetooth low energy compliant, stand-alone baseband processor with an integrated GHz transceiver. It is ideal for wireless input device applications including game controllers, keyboards, remote controls, gestural input devices, and sensor devices. Built-in firmware adheres to the Bluetooth Human Interface Device HID profile and Bluetooth Device ID profile specifications. The CYW20738 radio has been designed to provide low power, low cost, and robust communications for applications operating in the globally available GHz unlicensed ISM band. It is fully compliant with Bluetooth Low Energy Radio Specification. The single-chip Bluetooth transceiver is a monolithic component implemented in a standard digital CMOS process and requires minimal external components to make a fully compliant Bluetooth device. The CYW20738 is available in two package options a 40pin, 6 mm x 6 mm QFN and a 64-pin, 7 mm x 7 mm BGA. Cypress Part Numbering Scheme Cypress is converting the acquired IoT part numbers from Broadcom to the Cypress part numbering scheme. Due to this conversion, there is no change in form, fit, or function as a result of offering the device with Cypress part number marking. The table provides Cypress ordering part number that matches an existing IoT part number. Table Mapping Table for Part Number between Broadcom and Cypress Broadcom Part Number BCM20738 BCM20738A2KML3G BCM20738A1KFBG Cypress Part Number CYW20738 CYW20738A2KML3G CYW20738A1KFBG Acronyms and Abbreviations In most cases, acronyms and abbreviations are defined on first use. For a comprehensive list of acronyms and other terms used in Cypress documents, go to: • Wireless pointing devices mice, trackballs, gestural controls • Wireless keyboards • Remote controls • Game controllers • Point-of-sale POS input devices • Remote sensors • and mouse interfaces • Pscraongnrainmgmmaabtlreixkeyscan matrix interface, up to 8 x 20 key- • 3-axis quadrature signal decoder • Infrared modulator • IR learning • Supports Adaptive Frequency Hopping • Excellent receiver sensitivity • Bluetooth HID Over GATT profile • 10-bit auxiliary ADC with 28 analog channels • On-chip support for serial peripheral interface master and slave modes • nI2icCastiloanvse sB SC interface compatible • Integrated ARM Cortex -M3 based microprocessor core • On-chip power-on reset POR • Support for EEPROM and serial flash interfaces • Integrated low-dropout regulator LDO • On-chip software controlled power management unit • Two package types are available: 40-pin QFN package 6 mm x 6 mm 64-pin BGA package 7 mm x 7 mm • RoHS compliant • San Jose, CA 95134-1709 • 408-943-2600 CYW20738 Figure Functional Block Diagram Muxed on GPIO UART_TXD Tx RTS_N Rx CTS_N UART_RXD SDA/ SCL/ MOSI SCK MISO 1.2V VDD_CORE 1.2V Processing Unit ARM -CM3 Test UART 1.2V VDD_CORE Domain Periph 320K UART ROM 60K RAM BSC/SPI Master Interface BSC is I2C VSS, VDDO, VDDC 28 ADC Inputs CT ADC 1.2V POR Mechanical Information 36 Ordering Information 39 References 39 Appendix Acronyms and Abbreviations 40 Document History 41 Page 3 of 42 CYW20738 Functional Description Keyboard Scanner The keyboard scanner is designed to autonomously sample keys and store them into buffer registers without the need for the host microcontroller to intervene. The scanner has the following features • Ability to turn off its clock if no keys pressed. • Sequential scanning of up to 160 keys in an 8 x 20 matrix. • Programmable number of columns from 1 to • Programmable number of rows from 1 to • 16-byte key-code buffer can be augmented by firmware . • 128 kHz clock allows scanning of full 160-key matrix in about ms. • N-key rollover with selective 2-key lockout if ghost is detected. • Keys are buffered until host microcontroller has a chance to read it, or until overflow occurs. • Hardware debouncing and noise/glitch filtering. • Low-power consumption. Single-digit µA-level sleep current. Theory of Operation The key scan block is controlled by a state machine with the following states Idle The state machine begins in the idle state. In this state, all column outputs are driven high. If any key is pressed, a transition occurs on one of the row inputs. This transition causes the 128 kHz clock to be enabled if it is not already enabled by another peripheral and the state machine to enter the scan state. Also in this state, an 8-bit row-hit register and an 8-bit key-index counter is reset to Scan In the scan state, a row counter counts from 0 up to a programmable number of rows minus Once the last row is reached, the row counter is reset and the column counter is incremented. This cycle repeats until the row and column counters are both at their respective terminal count values. At that point, the state machine moves into the Scan-End state. As the keys are being scanned, the key-index counter is incremented. This counter is the value compared to the modifier key codes stored, or in the key-code buffer if the key is not a modifier key. It can be used by the microprocessor as an index into a lookup table of usage codes. Also, as the n-th row is scanned, the row-hit register is ORed with the current 8-bit row input values if the current column contains two or more row hits. During the scan of any column, if a key is detected at the current row, and the row-hit register indicates that a hit was detected in that same row on a previous column, then a ghost condition may have occurred, and a bit in the status register is set to indicate this. Scan End This state determines whether any keys were detected while in the scan state. If yes, the state machine returns to the scan state. If no, the state machine returns to the idle state, and the 128 kHz clock request signal is made inactive. The microcontroller can poll the key status register. Page 4 of 42 CYW20738 Mouse Quadrature Signal Decoder The mouse signal decoder is designed to autonomously sample two quadrature signals commonly generated by optomechanical mouse apparatus. The decoder has the following features: • Three pairs of inputs for X, Y, and Z typical scroll wheel axis signals. Each axis has two options For the X axis, choose P2 or P32 as X0 and P3 or P33 as X1. For the Y axis, choose P4 or P34 as Y0 and P5 or P35 as Y1. For the Z axis, choose P6 or P36 as Z0 and P7 or P37 as Z1. • Control of up to four external high current GPIOs to power external optoelectronics Turn-on and turn-off time can be staggered for each HC-GPIO to avoid simultaneous switching of high currents and having multiple high-current devices on at the same time. Sample time can be staggered for each axis. Sense of the control signal can be active high or active low. Control signal can be tristated for off condition or driven high or low, as appropriate. Theory of Operation The mouse decoder block has four 16-bit PWMs for controlling external quadrature devices and sampling the quadrature inputs at its core. The GPIO signals may be used to control such items as LEDs, external ICs that may emulate quadrature signals, photodiodes, and photodetectors. Infrared Modulator The CYW20738 includes hardware support for infrared TX. The hardware can transmit both modulated and unmodulated waveforms. For modulated waveforms, hardware inserts the desired carrier frequency into all IR transmissions. IR TX can be sourced from firmware-supplied descriptors, a programmable bit, or the peripheral UART transmitter. If descriptors are used, they include IR on/off state and the duration between µsec. The CYW20738 IR TX firmware driver inserts this information in a hardware FIFO and makes sure that all descriptors are played out without a glitch due to underrun. See Figure Figure Infrared TX R1 62 INFRARED-LD 20738 IR TX R2 2.4K Q1 MMBTA42 Page 5 of 42 CYW20738 Infrared Learning The CYW20738 includes hardware support for infrared learning. The hardware can detect both modulated and unmodulated signals. For modulated signals, the CYW20738 can detect carrier frequencies between 10 kHz and 500 kHz and the duration that the signal is present or absent. The CYW20738 firmware driver supports further analysis and compression of learned signal. The learned signal can then be played back through the CYW20738 IR TX subsystem. See Figure Figure Infrared RX 20738 IR RX D2 PHOTODIODE Bluetooth Baseband Core The Bluetooth Baseband Core BBC implements all of the time-critical functions required for high performance Bluetooth operation. The BBC manages the buffering, segmentation, and data routing for all connections. It also buffers data that passes through it, handles data flow control, schedules ACL TX/RX transactions, monitors Bluetooth slot usage, optimally segments and packages data into baseband packets, manages connection status indicators, and composes and decodes HCI packets. In addition to these functions, it independently handles HCI event types and HCI command types. The following transmit and receive functions are also implemented in the BBC hardware to increase TX/RX data reliability and security before sending over the air • Receive Functions symbol timing recovery, data deframing, forward error correction FEC , header error control HEC , cyclic redundancy check CRC , data decryption, and data dewhitening. • Transmit Functions data framing, FEC generation, HEC generation, CRC generation, link key generation, data encryption, and data whitening. Frequency Hopping Generator The frequency hopping sequence generator selects the correct hopping channel number depending on the link controller state, Bluetooth clock, and device address. E0 Encryption The encryption key and the encryption engine are implemented using dedicated hardware to reduce software complexity and provide minimal processor intervention. Link Control Layer The link control layer is part of the Bluetooth link control functions that are implemented in dedicated logic in the Link Control Unit LCU . This layer consists of the Command Controller, which takes software commands, and other controllers that are activated or configured by the Command Controller to perform the link control tasks. Each task performs a different Bluetooth link controller state. STANDBY and CONNECTION are the two major states. In addition, there are five substates page, page scan, inquiry, inquiry scan, and sniff. Adaptive Frequency Hopping The CYW20738 gathers link quality statistics on a channel-by-channel basis to facilitate channel assessment and channel map selection. The link quality is determined by using both RF and baseband signal processing to provide a more accurate frequency hop map. Bluetooth Low Energy The CYW20738 supports the Bluetooth Low Energy BLE operating mode. Page 6 of 42 CYW20738 Test Mode Support The CYW20738 fully supports Bluetooth Test mode, as described in the Bluetooth Low Energy specification. ADC Port The CYW20738 contains a 16-bit ADC effective number of bits is Additionally • There are 29 analog input channels in the 64-pin package, and 13 analog input channels in the 40-pin package. All channels are multiplexed on various GPIOs. • The conversion time is 10 • There is a built-in reference with supply- or band-gap based reference modes. • The maximum conversion rate is 187 kHz. • There is a rail-to-rail input swing. The ADC consists of an analog ADC core that performs the actual analog-to-digital conversion and digital hardware that processes the output of the ADC core into valid ADC output samples. Directed by the firmware, the digital hardware also controls the input multiplexers that select the ADC input signal Vinp and the ADC reference signals Vref. Table ADC Modes Mode 0 1 2 3 4 Ordering Information Table Ordering Information Part Number CYW20738A2KML3G CYW20738A1KFBG 40-pin QFN 64-pin BGA Package Ambient Operating Temperature 0°C to 70°C 0°C to 70°C References The references in this section may be used in conjunction with this document. Note Cypress provides customer access to technical documentation and software through its Customer Support Portal CSP and Downloads & Support site see IoT Resources . For Cypress documents, replace the “xx” in the document number with the largest number available in the repository to ensure that you have the most current version of the document. Document Name Cypress items Single-Chip Transceiver and Baseband Processor Broadcom Document Number 20702-DS10x-R Cypress Document Number 002-14891 Page 39 of 42 CYW20738 Appendix A Acronyms and Abbreviations The following list of acronyms and abbreviations may appear in this document. Term ADC AFH AHB APB APU ARM7TDMI-S BSC BTC COEX DFU DMA EBI HCI HV IDC IF IRQ JTAG LCU LDO LHL LPO LV MIA PCM PLL PMU POR PWM QD RAM RF ROM RX/TX SPI SW UART UPI WD Description analog-to-digital converter adaptive frequency hopping advanced high-performance bus advanced peripheral bus audio processing unit Acorn RISC Machine 7 Thumb instruction, Debugger, Multiplier, Ice, Synthesizable Broadcom Serial Control Bluetooth controller coexistence device firmware update direct memory access external bus interface Host Control Interface high voltage initial digital calibration intermediate frequency interrupt request Joint Test Action Group link control unit low drop-out lean high land low power oscillator LogicVision multiple interface agent pulse code modulation phase locked loop power management unit power-on reset pulse width modulation quadrature decoder random access memory radio frequency read-only memory receive, transmit serial peripheral interface software universal asynchronous receiver/transmitter µ-processor interface watchdog Page 40 of 42 CYW20738 Document History Document Title CYW20738 Single-Chip Bluetooth Transceiver for Wireless Input Devices Document Number 002-14891 Orig. of Submission Change Description of Change 01/27/14 20738-DS100-R Initial release 20738-DS101-R Updated • Unit in Equivalent series resistance in Table 5 on page • Values in Table 14 on page 05/21/14 • RX sensitivity typical value in Table 16 on page • “SPI Timing” on page 10 • Part number in Table 26 “Ordering Information,” on page • Removed: • IR_TX from Table 5 “Reference Crystal Electrical Specifications,” on page 11/11/15 20738-DS102-D1 Updated: Section “Ordering Information,” on page 5479955 UTSV 10/17/2016 Updated to Cypress Template Page 41 of 42 CYW20738 Sales, Solutions, and Legal Information Worldwide Sales and Design Support Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the office closest to you, visit us at Cypress Locations. Products Microcontrollers cypress.com/arm PSoC 1 | PSoC 3 | PSoC 4 | PSoC 5LP Automotive Clocks & Buffers Interface Internet of Things Lighting & Power Control Memory cypress.com/automotive cypress.com/clocks cypress.com/interface cypress.com/iot cypress.com/powerpsoc cypress.com/memory Cypress Developer Community Forums | WICED IoT Forums | Projects | Video | Blogs | Training | Components Technical Support cypress.com/support PSoC cypress.com/psoc Touch Sensing cypress.com/touch USB Controllers cypress.com/usb Wireless/RF cypress.com/wireless Cypress Semiconductor Corporation, This document is the property of Cypress Semiconductor Corporation and its subsidiaries, including Spansion LLC “Cypress” . This document, including any software or firmware included or referenced in this document “Software” , is owned by Cypress under the intellectual property laws and treaties of the United States and other countries worldwide. Cypress reserves all rights under such laws and treaties and does not, except as specifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then Cypress hereby grants you a personal, non-exclusive, nontransferable license without the right to sublicense 1 under its copyright rights in the Software a for Software provided in source code form, to modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organization, and b to distribute the Software in binary code form externally to end users either directly or indirectly through resellers and distributors , solely for use on Cypress hardware product units, and 2 under those claims of Cypress's patents that are infringed by the Software as provided by Cypress, unmodified to make, use, distribute, and import the Software solely for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the Software is prohibited. TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE OR ACCOMPANYING HARDWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without further notice. Cypress does not assume any liability arising out of the application or use of any product or circuit described in this document. Any information provided in this document, including any sample design information or programming code, is provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality and safety of any application made of this information and any resulting product. Cypress products are not designed, intended, or authorized for use as critical components in systems designed or intended for the operation of weapons, weapons systems, nuclear installations, life-support devices or systems, other medical devices or systems including resuscitation equipment and surgical implants , pollution control or hazardous substances management, or other uses where the failure of the device or system could cause personal injury, death, or property damage “Unintended Uses” . A critical component is any component of a device or system whose failure to perform can be reasonably expected to cause the failure of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products. You shall indemnify and hold Cypress harmless from and against all claims, costs, damages, and other liabilities, including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products. Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB, F-RAM, and Traveo are trademarks or registered trademarks of Cypress in the United States and other countries. For a more complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respective owners. Page 42 of 42 |
More datasheets: 1617400 | 1617050 | BXB50-24S15FLTJ | 18490 | CDBFN1100-HF | DCS04S0A0S06PFA | AO4772 | CYW15G0401DXB-BGXC | CYP15G0401DXB-BGI | CYP15G0401DXB-BGC |
Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived CYW20738A2KML3G Datasheet file may be downloaded here without warranties.