PSoC® 4: PSoC 4XX7_BLE Family Datasheet ® Programmable System-on-Chip (PSoC ) General Description PSoC® 4 is a scalable and reconfigurable platform architecture for a family of programmable embedded system controllers with an ARM® Cortex®-M0 CPU. It combines programmable and reconfigurable analog and digital blocks with flexible automatic routing. The PSoC 4XX7_BLE product family, based on this platform, is a combination of a microcontroller with an integrated Bluetooth Low Energy (BLE), also known as Bluetooth Smart, radio and subsystem (BLESS). The other features include digital programmable logic, high-performance analog-to-digital conversion (ADC), opamps with comparator mode, and standard communication and timing peripherals. The PSoC 4XX7_BLE products will be fully upward compatible with members of the PSoC 4 platform for new applications and design needs. The programmable analog and digital subsystems allow flexibility and in-field tuning of the design. Features 32-bit MCU Subsystem Capacitive Sensing ■ 48-MHz ARM Cortex-M0 CPU with single-cycle multiply ■ Up to 128 KB of flash with Read Accelerator ■ Up to 16 KB of SRAM BLE Radio and Subsystem ■ 2.4-GHz RF transceiver with 50-Ω antenna drive ■ Digital PHY ■ Link Layer engine supporting master and slave modes ■ RF output power: –18 dBm to +3 dBm ■ RX sensitivity: –89 dBm ■ RX current: 16.4 mA ■ TX current: 15.6 mA at 0 dBm ■ Received Signal Strength Indication (RSSI): 1-dB resolution ■ Cypress-supplied software component makes capacitive-sensing design easy ■ Automatic hardware-tuning algorithm (SmartSense™) Segment LCD Drive ■ LCD drive supported on all pins (common or segment) ■ Operates in Deep-Sleep mode with four bits per pin memory ■ Four opamps with reconfigurable high-drive external and high-bandwidth internal drive, comparator modes, and ADC input buffering capability; can operate in Deep-Sleep mode. ■ 12-bit, 1-Msps SAR ADC with differential and single-ended modes; channel sequencer with signal averaging ■ Two current DACs (IDACs) for general-purpose or capacitive sensing applications on any pin ■ Cypress CapSense Sigma-Delta (CSD) provides best-in-class SNR (> 5:1) and liquid tolerance Serial Communication Programmable Analog ■ ■ Two low-power comparators that operate in Deep-Sleep mode Programmable Digital Two independent runtime reconfigurable serial communication blocks (SCBs) with reconfigurable I2C, SPI, or UART functionality Timing and Pulse-Width Modulation ■ Four 16-bit timer, counter, pulse-width modulator (TCPWM) blocks ■ Center-aligned, Edge, and Pseudo-random modes ■ Comparator-based triggering of Kill signals for motor drive and other high-reliability digital logic applications Up to 36 Programmable GPIOs ■ 7 mm × 7 mm 56-pin QFN package ■ 3.51 mm × 3.91 mm 68-ball CSP package ■ Any GPIO pin can be CapSense, LCD, analog, or digital Two overvoltage-tolerant (OVT) pins; drive modes, strengths, and slew rates are programmable ■ Four programmable logic blocks called universal digital blocks, (UDBs), each with eight macrocells and datapath ■ ■ Cypress-provided peripheral Component library, user-defined state machines, and Verilog input PSoC Creator™ Design Environment ■ Integrated design environment (IDE) provides schematic design entry and build (with analog and digital automatic routing) ■ API components for all fixed-function and programmable peripherals Power Management ■ Active mode: 1.7 mA at 3-MHz flash program execution ■ Deep-Sleep mode: 1.3 µA with watch crystal oscillator (WCO) on ■ Hibernate mode: 150 nA with RAM retention ■ Stop mode: 60 nA Cypress Semiconductor Corporation Document Number: 001-90479 Rev. *L • Industry-Standard Tool Compatibility ■ 198 Champion Court After schematic entry, development can be done with ARM-based industry-standard development tools • San Jose, CA 95134-1709 • 408-943-2600 Revised April 12, 2016 PSoC® 4: PSoC 4XX7_BLE Family Datasheet More Information Cypress provides a wealth of data at http://www.cypress.com to help you to select the right PSoC device for your design, and to help you to quickly and effectively integrate the device into your design. For a comprehensive list of resources, see the introduction page for Bluetooth® Low Energy (BLE) Products. Following is an abbreviated list for PSoC 4 BLE: ■ Overview: PSoC Portfolio, PSoC Roadmap ■ Technical Reference Manual (TRM) is in two documents: ❐ Architecture TRM details each PSoC 4 BLE functional block. ■ Product Selectors: PSoC 1, PSoC 3, PSoC 4, PSoC 4 BLE, ❐ Registers TRM describes each of the PSoC 4 registers. PSoC 5LP. In addition, PSoC Creator includes a device selection tool. ■ Development Kits: ■ Application Notes: Cypress offers a large number of PSoC ❐ CY8CKIT-042-BLE Pioneer Kit, is a flexible, Arduino-compatible, BLE development kit for PSoC 4 BLE and PRoC BLE. application notes covering a broad range of topics, from basic ❐ CY8CKIT-142, PSoC 4 BLE Module, features a PSoC 4 BLE to advanced level. Recommended application notes for getting device, two crystals for the antenna matching network, a PCB started with PSoC 4 BLE are: antenna, and other passives, while providing access to all ❐ AN91267: Getting Started with PSoC 4 BLE GPIOs of the device. ❐ AN91184: PSoC 4 BLE - Designing BLE Applications ❐ CY8CKIT-143, PSoC 4 BLE 256 KB Module, features a ❐ AN91162: Creating a BLE Custom Profile PSoC 4 BLE 256 KB device, two crystals for the antenna matching network, a PCB antenna, and other passives, while ❐ AN97060: PSoC 4 BLE and PRoC BLE - Over-The-Air (OTA) providing access to all GPIOs of the device. Device Firmware Upgrade (DFU) Guide ❐ CY5676, PRoC BLE 256 KB Module, features a PRoC BLE ❐ AN91445: Antenna Design and RF Layout Guidelines 256 KB device, two crystals for the antenna matching net❐ AN96841: Getting Started With EZ-BLE Module work, a PCB antenna, and other passives, while providing ❐ AN85951: PSoC 4 CapSense Design Guide access to all GPIOs of the device. ❐ AN95089: PSoC 4/PRoC BLE Crystal Oscillator Selection The MiniProg3 device provides an interface for flash and Tuning Techniques programming and debug. ❐ AN92584: Designing for Low Power and Estimating Battery Life for BLE Applications PSoC Creator PSoC Creator is a free Windows-based Integrated Design Environment (IDE). It enables concurrent hardware and firmware design of PSoC 3, PSoC 4, and PSoC 5LP based systems. Create designs using classic, familiar schematic capture supported by over 100 pre-verified, production-ready PSoC Components; see the list of component datasheets. With PSoC Creator, you can: 1. Drag and drop component icons to build your hardware 3. Configure components using the configuration tools system design in the main design workspace 4. Explore the library of 100+ components 2. Codesign your application firmware with the PSoC hardware, 5. Review component datasheets using the PSoC Creator IDE C compiler Figure 1. Multiple-Sensor Example Project in PSoC Creator Document Number: 001-90479 Rev. *L Page 2 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Contents Functional Definition........................................................ 5 CPU and Memory Subsystem ..................................... 5 System Resources ...................................................... 5 Bluetooth Smart Radio and Subsystem ...................... 6 Analog Blocks.............................................................. 7 Programmable Digital.................................................. 8 Fixed-Function Digital.................................................. 9 GPIO ........................................................................... 9 Special-Function Peripherals .................................... 10 Pinouts ............................................................................ 11 Power............................................................................... 16 Development Support .................................................... 17 Documentation .......................................................... 17 Online ........................................................................ 17 Tools.......................................................................... 17 Electrical Specifications ................................................ 18 Absolute Maximum Ratings....................................... 18 Device Level Specifications....................................... 18 Analog Peripherals .................................................... 23 Document Number: 001-90479 Rev. *L Digital Peripherals ..................................................... Memory ..................................................................... System Resources .................................................... Ordering Information...................................................... Part Numbering Conventions .................................... Packaging........................................................................ Acronyms ........................................................................ Document Conventions ................................................. Units of Measure ....................................................... Revision History ............................................................. Sales, Solutions, and Legal Information ...................... Worldwide Sales and Design Support....................... Products .................................................................... PSoC® Solutions ...................................................... Cypress Developer Community................................. Technical Support ..................................................... 27 30 30 37 38 38 41 43 43 44 45 45 45 45 45 45 Page 3 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Figure 2. Block Diagram PSoC 4 BLE PSoC4A-BLE M 0S8 Architecture 32-bit AHB-Li te CPU & Memory SWD/TC SPC IF Cort ex M0 48 MHz FLASH 128 kB SR AM 16 kB ROM 8 kB FAST MUL N VIC, IR QMX Read Acceler ator SR AM Controller ROM C ontroller S ystem R e sou rce s PERI C TB m 2x OpAm p x2 2.4 GH z GFSK R ad i o LDO SM X UDB GFSK Mo d e m 32k Hz XO UDB po rts ) BL E B ase b a nd Pe ri ph e ral 1KB SRAM 24MHz XO x4 Bluetooth Low Energy Subsystem IOSS GPIO (5x Test DFT Lo gic DFT Analog SAR (1 2 -b it) UDB SCB-I2 C/SP I/UA RT R ese t Reset Co ntr ol XRES UDB 2x x1 Programmable Digital LCD Programmable Analog 4x TCPWM Peripheral Interconnect (MMIO ) CapSense Clock Clock Co ntro l WDT IMO ILO Syst em Interconnect (Single Layer AHB) Peripherals 2x LP Comparator Power Sleep Control WIC POR LVD REF BOD PWRSYS NVLatches Boost P or t In terfa ce & D ig i ta l Sys te m In terc on n ect (D SI) IO: Antenna /Pow er/Crystal H i gh Sp ee d I/O Ma trix Active /Sleep Dee p Sleep Hibern ate 36x GPIOs IO Subsystem The PSoC 4XX7_BLE devices include extensive support for programming, testing, debugging, and tracing both hardware and firmware. The ARM SWD interface supports all programming and debug features of the device. Complete debug-on-chip functionality enables full-device debugging in the final system using the standard production device. It does not require special interfaces, debugging pods, simulators, or emulators. Only the standard programming connections are required to fully support debugging. The PSoC Creator IDE provides fully integrated programming and debugging support for the PSoC 4XX7_BLE devices. The SWD interface is fully compatible with industry-standard third-party tools. With the ability to disable debug features, very robust flash protection, and allowing customer-proprietary functionality to be implemented in on-chip programmable blocks, the PSoC 4XX7_BLE family provides a level of security not possible with multi-chip application solutions or with microcontrollers. Document Number: 001-90479 Rev. *L Debug circuits are enabled by default and can only be disabled in firmware. If not enabled, the only way to re-enable them is to erase the entire device, clear flash protection, and reprogram the device with the new firmware that enables debugging. Additionally, all device interfaces can be permanently disabled (device security) for applications concerned about phishing attacks due to a maliciously reprogrammed device or attempts to defeat security by starting and interrupting flash programming sequences. Because all programming, debug, and test interfaces are disabled when maximum device security is enabled, PSoC 4XX7_BLE with device security enabled may not be returned for failure analysis. This is a trade-off the PSoC 4XX7_BLE allows the customer to make. Page 4 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Functional Definition CPU and Memory Subsystem CPU The Cortex-M0 CPU in the PSoC 4XX7_BLE is part of the 32-bit MCU subsystem, which is optimized for low-power operation with extensive clock gating. It mostly uses 16-bit instructions and executes a subset of the Thumb-2 instruction set. This enables fully compatible binary upward migration of the code to higher-performance processors such as Cortex-M3 and M4. The Cypress implementation includes a hardware multiplier that provides a 32-bit result in one cycle. It includes a nested vectored interrupt controller (NVIC) block with 32 interrupt inputs and a wakeup interrupt controller (WIC). The WIC can wake the processor up from the Deep-Sleep mode, allowing power to the main processor to be switched off when the chip is in the Deep-Sleep mode. The Cortex-M0 CPU provides a nonmaskable interrupt (NMI) input, which is made available to the user when it is not in use for system functions requested by the user. The CPU also includes an SWD interface, which is a 2-wire form of JTAG; the debug configuration used for PSoC 4XX7_BLE has four break-point (address) comparators and two watchpoint (data) comparators. Flash The PSoC 4XX7_BLE device has a 128-KB flash module with a flash accelerator, tightly coupled to the CPU to improve average access times from the flash block. The flash block is designed to deliver 1 wait-state (WS) access time at 48 MHz and with 0 WS access time at 24 MHz. The flash accelerator delivers 85% of single-cycle SRAM access performance on average. Part of the flash module can be used to emulate EEPROM operation if required. During flash erase and programming operations (the maximum erase and program time is 20 ms per row), the Internal Main Oscillator (IMO) will be set to 48 MHz for the duration of the operation. This also applies to the emulated EEPROM. System design must take this into account because peripherals operating from different IMO frequencies will be affected. If it is critical that peripherals continue to operate with no change during flash programming, always set the IMO to 48 MHz and derive peripheral clocks by dividing down from this frequency (BOD)) or interrupts when the power supply reaches a particular programmable level between 1.8 V and 4.5 V (low-voltage detect (LVD)). PSoC 4XX7_BLE operates with a single external supply (1.71 V to 5.5 V without radio and 1.9 V to 5.5 V with radio). The device has five different power modes; transitions between these modes are managed by the power system. PSoC 4XX7_BLE provides Sleep, Deep-Sleep, Hibernate, and Stop low-power modes. Refer to the Technical Reference Manual for more details. Clock System The PSoC 4XX7_BLE clock system is responsible for providing clocks to all subsystems that require clocks and for switching between different clock sources without glitching. In addition, the clock system ensures that no metastable conditions occur. The clock system for PSoC 4XX7_BLE consists of the internal main oscillator (IMO), the internal low-speed oscillator (ILO), the 24-MHz external crystal oscillator (ECO) and the 32-kHz watch crystal oscillator (WCO). In addition, an external clock may be supplied from a pin. IMO Clock Source The IMO is the primary source of internal clocking in PSoC 4XX7_BLE. It is trimmed during testing to achieve the specified accuracy. Trim values are stored in nonvolatile latches (NVL). Additional trim settings from flash can be used to compensate for changes. The IMO default frequency is 24 MHz and it can be adjusted between 3 MHz to 48 MHz in steps of 1 MHz. The IMO tolerance with Cypress-provided calibration settings is ±2%. ILO Clock Source The ILO is a very-low-power oscillator, which is primarily used to generate clocks for the peripheral operation in the Deep-Sleep mode. ILO-driven counters can be calibrated to the IMO to improve accuracy. Cypress provides a software component which does the calibration. External Crystal Oscillator (ECO) The ECO is used as the active clock for the BLESS to meet the ±50-ppm clock accuracy of the Bluetooth 4.1 Specification. PSoC 4XX7_BLE includes a tunable load capacitor to tune the crystal-clock frequency by measuring the actual clock frequency. The high-accuracy ECO clock can also be used as a system clock. SRAM Watch Crystal Oscillator (WCO) SRAM memory is retained during Hibernate. The WCO is used as the sleep clock for the BLESS to meet the ±500-ppm clock accuracy of the Bluetooth 4.1 Specification. The sleep clock provides an accurate sleep timing and enables wakeup at the specified advertisement and connection intervals. The WCO output can be used to realize the real-time clock (RTC) function in firmware. SROM The 8-KB supervisory ROM contains a library of executable functions for flash programming. These functions are accessed through supervisory calls (SVC) and enable in-system programming of the flash memory. System Resources Power System The power system is described in detail in the “Power” section on page 16. It provides an assurance that the voltage levels are as required for the respective modes, and can either delay the mode entry (on power-on reset (POR), for example) until voltage levels are as required or generate resets (brownout detect Document Number: 001-90479 Rev. *L Watchdog Timer A watchdog timer is implemented in the clock block running from the ILO or from the WCO; this allows the watchdog operation during Deep-Sleep and generates a watchdog reset if not serviced before the timeout occurs. The watchdog reset is recorded in the Reset Cause register. With the WCO and firmware, an accurate real-time clock (within the bounds of the 32-kHz crystal accuracy) can be realized. Page 5 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Bluetooth Smart Radio and Subsystem Figure 3. PSoC 4XX7_BLE MCU Clocking Architecture PSoC 4XX7_BLE incorporates a BLESS that contains the Physical Layer (PHY) and Link Layer (LL) engines with an embedded AES-128 security engine. The physical layer consists of the digital PHY and the RF transceiver that transmits and receives GFSK packets at 1 Mbps over a 2.4-GHz ISM band, which is compliant with the Bluetooth Smart Bluetooth Specification 4.1. The baseband controller is a composite hardware and firmware implementation that supports both master and slave modes. Key protocol elements, such as HCI and link control, are implemented in firmware. Time-critical functional blocks, such as encryption, CRC, data whitening, and access-code correlation, are implemented in hardware (in the LL engine). HFCLK ECO Prescaler Divider /2n (n=0..3) ` Divider 0 (/16) SYSCLK PER0_CLK IMO EXTCLK Divider 9 (/16) Fractional Divider 0 (/16.5) WCO Fractional Divider 1 (/16.5) ILO PER15_CLK LFCLK The HFCLK signal can be divided down (see Figure 3) to generate synchronous clocks for the UDBs, and the analog and digital peripherals. There are a total of 12 clock dividers for PSoC 4XX7_BLE: ten with 16-bit divide capability and two with 16.5-bit divide capability. This allows the generation of 16 divided clock signals, which can be used by peripheral blocks. The analog clock leads the digital clocks to allow analog events to occur before the digital clock-related noise is generated. The 16-bit and 16.5-bit dividers allow a lot of flexibility in generating fine-grained frequency values and are fully supported in PSoC Creator. Reset PSoC 4XX7_BLE can be reset from a variety of sources including a software reset. Reset events are asynchronous and guarantee reversion to a known state. The reset cause is recorded in a register, which is sticky through resets and allows the software to determine the cause of the reset. An XRES pin is reserved for an external reset to avoid complications with the configuration and multiple pin functions during power-on or reconfiguration. The XRES pin has an internal pull-up resistor that is always enabled. Voltage Reference The PSoC 4XX7_BLE reference system generates all internally required references. A one-percent voltage reference spec is provided for the 12-bit ADC. To allow better signal-to-noise ratios (SNR) and better absolute accuracy, it is possible to bypass the internal reference using a REF pin or use an external reference for the SAR. Refer to Table 19, “SAR ADC AC Specifications,” on page 26 for details. Document Number: 001-90479 Rev. *L The RF transceiver contains an integrated balun, which provides a single-ended RF port pin to drive a 50-Ω antenna via a matching/filtering network. In the receive direction, this block converts the RF signal from the antenna to a digital bit stream after performing GFSK demodulation. In the transmit direction, this block performs GFSK modulation and then converts a digital baseband signal to a radio frequency before transmitting it to air through the antenna. The Bluetooth Smart Radio and Subsystem requires a 1.9-V minimum supply (the range varies from 1.9 V to 5.5 V). Key features of BLESS are as follows: ■ Master and slave single-mode protocol stack with logical link control and adaptation protocol (L2CAP), attribute (ATT), and security manager (SM) protocols ■ API access to generic attribute profile (GATT), generic access profile (GAP), and L2CAP ■ L2CAP connection-oriented channel (Bluetooth 4.1 feature) GAP features ❐ Broadcaster, Observer, Peripheral, and Central roles ❐ Security mode 1: Level 1, 2, and 3 ❐ Security mode 2: Level 1 and 2 ❐ User-defined advertising data ❐ Multiple bond support ■ GATT features ❐ GATT client and server ❐ Supports GATT sub-procedures ❐ 32-bit universally unique identifier (UUID) (Bluetooth 4.1 feature) ■ SM features ❐ Pairing methods: Just works, Passkey Entry, and Out of Band ❐ Authenticated man-in-the-middle (MITM) protection and data signing ■ LL features ❐ Master and Slave roles ❐ 128-bit AES engine ❐ Encryption ❐ Low-duty-cycle advertising (Bluetooth 4.1 feature) ❐ LE ping (Bluetooth 4.1 feature) ■ Supports all SIG-adopted BLE profiles ■ Page 6 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet The SAR is connected to a fixed set of pins through an 8-input sequencer. The sequencer cycles through the selected channels autonomously (sequencer scan) and does so with zero switching overhead (that is, the aggregate sampling bandwidth is equal to 1 Msps whether it is for a single channel or distributed over several channels). The sequencer switching is effected through a state machine or through firmware-driven switching. A feature provided by the sequencer is the buffering of each channel to reduce CPU interrupt-service requirements. To accommodate signals with varying source impedances and frequencies, it is possible to have different sample times programmable for each channel. Also, the signal range specification through a pair of range registers (low- and high-range values) is implemented with a corresponding out-of-range interrupt if the digitized value exceeds the programmed range; this allows fast detection of out-of-range values without having to wait for a sequencer scan to be completed and the CPU to read the values and check for out-of-range values in software. Analog Blocks 12-bit SAR ADC The 12-bit, 1-Msps SAR ADC can operate at a maximum clock rate of 18 MHz and requires a minimum of 18 clocks at that frequency to do a 12-bit conversion (up to 806 Ksps for the PSoC 41X7_BLE derivatives). The block functionality is augmented for the user by adding a reference buffer to it (trimmable to ±1%) and by providing the choice of three internal voltage references, VDD, VDD/2, and VREF (nominally 1.024 V), as well as an external reference through a REF pin. The sample-and-hold (S/H) aperture is programmable; it allows the gain bandwidth requirements of the amplifier driving the SAR inputs, which determine its settling time, to be relaxed if required. System performance will be 65 dB for true 12-bit precision if appropriate references are used and system noise levels permit it. To improve the performance in noisy conditions, it is possible to provide an external bypass (through a fixed pin location) for the internal reference amplifier. The SAR is able to digitize the output of the on-chip temperature sensor for calibration and other temperature-dependent functions. The SAR is not available in Deep-Sleep and Hibernate modes as it requires a high-speed clock (up to 18 MHz). The SAR operating range is 1.71 V to 5.5 V. Figure 4. SAR ADC System Diagram AHB System Bus and Programmable Logic Interconnect SAR Sequencer vminus vplus Data and Status Flags POS SAR ADC NEG Reference Selection P7 Port 3 (8 inputs) SARMUX P0 Sequencing and Control VDD/2 VDDD External Reference and Bypass ( optional) VREF Inputs from other Ports Opamps (CTBm Block) Temperature Sensor PSoC 42X7_BLE has four opamps (two for PSoC 41X7_BLE) with comparator modes, which allow most common analog functions to be performed on-chip, eliminating external components. PGAs, voltage buffers, filters, transimpedance amplifiers, and other functions can be realized with external passives saving power, cost, and space. The on-chip opamps are designed with enough bandwidth to drive the sample-and-hold circuit of the ADC without requiring external buffering. PSoC 4XX7_BLE has an on-chip temperature sensor. This consists of a diode, which is biased by a current source that can be disabled to save power. The temperature sensor is connected to the ADC, which digitizes the reading and produces a temperature value by using a Cypress-supplied software that includes calibration and linearization. Low-Power Comparators PSoC 4XX7_BLE has a pair of low-power comparators, which can also operate in Deep-Sleep and Hibernate modes. This allows the analog system blocks to be disabled while retaining the ability to monitor external voltage levels during low-power modes. The comparator outputs are normally synchronized to avoid metastability unless operating in an asynchronous power mode (Hibernate) where the system wake-up circuit is activated by a comparator-switch event. Document Number: 001-90479 Rev. *L Page 7 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet UDBs can be clocked from a clock-divider block, from a port interface (required for peripherals such as SPI), and from the DSI network directly or after synchronization. Programmable Digital Universal Digital Blocks (UDBs) and Port Interfaces The PSoC 42X7_BLE has four UDBs; the UDB array also provides a switched digital system interconnect (DSI) fabric that allows signals from peripherals and ports to be routed to and through the UDBs for communication and control. A port interface is defined, which acts as a register that can be clocked with the same source as the PLDs inside the UDB array. This allows a faster operation because the inputs and outputs can be registered at the port interface close to the I/O pins and at the edge of the array. The port interface registers can be clocked by one of the I/Os from the same port. This allows interfaces such as SPI to operate at higher clock speeds by eliminating the delay for the port input to be routed over DSI and used to register other inputs (see Figure 6). Figure 5. UDB Array S ys te m In te rc o n n e c t CPU S u b -s ys te m C lo c k s 8 to 3 2 4 to 8 High-Speed I/O Matrix U D B IF B U S IF Other Digital Signals in Chip R o u tin g C h a n n e ls C L K IF IR Q IF DSI PP oPrt IFIF oortrt IF DSI UDB UDB UDB UDB DSI DSI P ro g ra m m a b le D ig ita l S u b syste m Figure 6. Port Interface High Speed I/O Matrix To Clock Tree 8 Input Registers 7 Digital GlobalClocks 3 DSI Signals , 1 I/O Signal 6 Clock Selector Block from UDB 0 6 ... To DSI 0 3 2 1 0 [1] 4 8 [1] [0] 2 Enables [1] 8 Reset Selector Block from UDB 7 [0] 2 4 Output Registers ... 9 4 8 8 From DSI [1] From DSI UDBs can generate interrupts (one UDB at a time) to the interrupt controller. UDBs retain the ability to connect to any pin on the chip through the DSI. Document Number: 001-90479 Rev. *L Page 8 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet ■ Fixed-Function Digital Timer/Counter/PWM Block Fast mode and Fast-Mode Plus specify minimum Fall times, which are not met with the GPIO cell; the Slow-Strong mode can help meet this spec depending on the bus load. The timer/counter/PWM block consists of four 16-bit counters with user-programmable period length. There is a capture register to record the count value at the time of an event (which may be an I/O event), a period register which is used to either stop or auto-reload the counter when its count is equal to the period register, and compare registers to generate compare value signals which are used as PWM duty cycle outputs. The block also provides true and complementary outputs with programmable offset between them to allow the use as deadband programmable complementary PWM outputs. It also has a kill input to force outputs to a predetermined state; for example, this is used in motor-drive systems when an overcurrent state is indicated and the PWMs driving the FETs need to be shut off immediately with no time for software intervention. UART Mode: This is a full-feature UART operating at up to 1 Mbps. It supports automotive single-wire interface (LIN), infrared interface (IrDA), and SmartCard (ISO7816) protocols, all of which are minor variants of the basic UART protocol. In addition, it supports the 9-bit multiprocessor mode that allows the addressing of peripherals connected over common RX and TX lines. Common UART functions such as parity error, break detect, and frame error are supported. An 8-deep FIFO allows much greater CPU service latencies to be tolerated. Serial Communication Blocks (SCB) GPIO PSoC 4XX7_BLE has two SCBs, each of which can implement an I2C, UART, or SPI interface. PSoC 4XX7_BLE has 36 GPIOs. The GPIO block implements the following: I2C Mode: The hardware I2C block implements a full multi-master and slave interface (it is capable of multimaster arbitration). This block is capable of operating at speeds of up to 1 Mbps (Fast-Mode Plus) and has flexible buffering options to reduce the interrupt overhead and latency for the CPU. It also supports EzI2C that creates a mailbox address range in the memory of PSoC 4XX7_BLE and effectively reduces the I2C communication to reading from and writing to an array in the memory. In addition, the block supports an 8-deep FIFO for receive and transmit, which, by increasing the time given for the CPU to read the data, greatly reduces the need for clock stretching caused by the CPU not having read the data on time. The FIFO mode is available in all channels and is very useful in the absence of DMA. I2C Eight drive-strength modes: ❐ Analog input mode (input and output buffers disabled) ❐ Input only ❐ Weak pull-up with strong pull-down ❐ Strong pull-up with weak pull-down ❐ Open drain with strong pull-down ❐ Open drain with strong pull-up ❐ Strong pull-up with strong pull-down ❐ Weak pull-up with weak pull-down ■ Input threshold select (CMOS or LVTTL) ■ ■ Pins 0 and 1 of Port 5 are overvoltage-tolerant Pins ■ Individual control of input and output buffer enabling/disabling in addition to drive-strength modes ■ Hold mode for latching the previous state (used for retaining the I/O state in Deep-Sleep and Hibernate modes) ■ Selectable slew rates for dV/dt-related noise control to improve EMI I2C The peripheral is compatible with Standard-mode, Fast-mode, and Fast-Mode Plus devices as defined in the NXP I2C-bus specification and user manual (UM10204). The I2C bus I/O is implemented with GPIOs in open-drain modes. SCB1 is fully compliant with Standard-mode (100 kHz), Fast-mode (400 kHz), and Fast-Mode Plus (1 MHz) I2C signaling specifications when routed to GPIO pins P5.0 and P5.1, except for hot swap capability during I2C active communication. The remaining GPIOs do not meet the hot-swap specification (VDD off; draw < 10-μA current) for Fast mode and Fast-Mode Plus, IOL spec (20 mA) for Fast-Mode Plus, hysteresis spec (0.05 × VDD) for Fast mode and Fast-Mode Plus, and minimum fall-time spec for Fast mode and Fast-Mode Plus. ■ GPIO cells, including P5.0 and P5.1, cannot be hot-swapped or powered up independent of the rest of the I2C system. ■ The GPIO pins P5.0 and P5.1 are overvoltage-tolerant but cannot be hot-swapped or powered up independent of the rest of the I2C system. ■ Fast-Mode Plus has an IOL specification of 20 mA at a VOL of 0.4 V. The GPIO cells can sink a maximum of 8 mA IOL with a VOL maximum of 0.6 V. Document Number: 001-90479 Rev. *L SPI Mode: The SPI mode supports full Motorola SPI, TI Secure Simple Pairing (SSP) (essentially adds a start pulse that is used to synchronize SPI Codecs), and National Microwire (half-duplex form of SPI). The SPI block can use the FIFO for transmit and receive. The pins are organized in logical entities called ports, which are 8-bit in width. During power-on and reset, the blocks are forced to the disable state so as not to crowbar any inputs and/or cause excess turn-on current. A multiplexing network known as a high-speed I/O matrix (HSIOM) is used to multiplex between various signals that may connect to an I/O pin. Pin locations for fixed-function peripherals are also fixed to reduce internal multiplexing complexity (these signals do not go through the DSI network). DSI signals are not affected by this and any pin may be routed to any UDB through the DSI network. Data output and pin-state registers store, respectively, the values to be driven on the pins and the states of the pins themselves.Every I/O pin can generate an interrupt if so enabled and each I/O port has an interrupt request (IRQ) and interrupt service routine (ISR) vector associated with it (5 for PSoC 4XX7_BLE since it has 4.5 ports). Page 9 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Special-Function Peripherals LCD Segment Drive CapSense PSoC 4XX7_BLE has an LCD controller, which can drive up to four commons and up to 32 segments. It uses full digital methods to drive the LCD segments requiring no generation of internal LCD voltages. The two methods used are referred to as digital correlation and PWM. CapSense is supported on all pins in PSoC 4XX7_BLE through a CapSense Sigma-Delta (CSD) block that can be connected to any pin through an analog mux bus that any GPIO pin can be connected to via an Analog switch. CapSense function can thus be provided on any pin or group of pins in a system under software control. A component is provided for the CapSense block to make it easy for the user. The digital correlation method modulates the frequency and levels of the common and segment signals to generate the highest RMS voltage across a segment to light it up or to keep the RMS signal zero. This method is good for STN displays but may result in reduced contrast with TN (cheaper) displays. The PWM method drives the panel with PWM signals to effectively use the capacitance of the panel to provide the integration of the modulated pulse-width to generate the desired LCD voltage. This method results in higher power consumption but can result in better results when driving TN displays. LCD operation is supported during Deep-Sleep mode, refreshing a small display buffer (four bits; one 32-bit register per port). Document Number: 001-90479 Rev. *L The shield voltage can be driven on another mux bus to provide liquid-tolerance capability. Liquid tolerance is provided by driving the shield electrode in phase with the sense electrode to keep the shield capacitance from attenuating the sensed input. The CapSense block has two IDACs which can be used for general purposes if CapSense is not being used (both IDACs are available in that case) or if CapSense is used without liquid tolerance (one IDAC is available). Page 10 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Pinouts Table 1 shows the pin list for the PSoC 4XX7_BLE device and Table 2 shows the programmable pin multiplexing. Port 2 consists of the high-speed analog inputs for the SAR mux. All pins support CSD CapSense and analog mux bus connections. Table 1. PSoC 4XX7_BLE Pin List (QFN Package) Pin Name Type 1 VDDD POWER 2 XTAL32O/P6.0 CLOCK 32.768-kHz crystal 3 XTAL32I/P6.1 CLOCK 32.768-kHz crystal or external clock input 4 XRES RESET 5 P4.0 GPIO Port 4 Pin 0, lcd, csd 6 P4.1 GPIO Port 4 Pin 1, lcd, csd 7 P5.0 GPIO Port 5 Pin 0, lcd, csd, overvoltage-tolerant Port 5 Pin 1, lcd, csd, overvoltage-tolerant 8 P5.1 GPIO 9 VSSD GROUND Description 1.71-V to 5.5-V digital supply Reset, active LOW Digital ground 10 VDDR POWER 1.9-V to 5.5-V radio supply 11 GANT1 GROUND Antenna shielding ground 12 ANT ANTENNA Antenna pin 13 GANT2 GROUND Antenna shielding ground 14 VDDR POWER 1.9-V to 5.5-V radio supply 15 VDDR POWER 1.9-V to 5.5-V radio supply 16 XTAL24I CLOCK 24-MHz crystal or external clock input 17 XTAL24O CLOCK 24-MHz crystal 18 VDDR POWER 19 P0.0 GPIO Port 0 Pin 0, lcd, csd 20 P0.1 GPIO Port 0 Pin 1, lcd, csd 21 P0.2 GPIO Port 0 Pin 2, lcd, csd Port 0 Pin 3, lcd, csd 1.9-V to 5.5-V radio supply 22 P0.3 GPIO 23 VDDD POWER 24 P0.4 GPIO Port 0 Pin 4, lcd, csd 25 P0.5 GPIO Port 0 Pin 5, lcd, csd 26 P0.6 GPIO Port 0 Pin 6, lcd, csd 27 P0.7 GPIO Port 0 Pin 7, lcd, csd 28 P1.0 GPIO Port 1 Pin 0, lcd, csd 29 P1.1 GPIO Port 1 Pin 1, lcd, csd 30 P1.2 GPIO Port 1 Pin 2, lcd, csd 31 P1.3 GPIO Port 1 Pin 3, lcd, csd 32 P1.4 GPIO Port 1 Pin 4, lcd, csd 33 P1.5 GPIO Port 1 Pin 5, lcd, csd 34 P1.6 GPIO Port 1 Pin 6, lcd, csd 35 P1.7 GPIO Port 1 Pin 7, lcd, csd 36 VDDA POWER 37 P2.0 GPIO Port 2 Pin 0, lcd, csd 38 P2.1 GPIO Port 2 Pin 1, lcd, csd 39 P2.2 GPIO Port 2 Pin 2, lcd, csd Document Number: 001-90479 Rev. *L 1.71-V to 5.5-V digital supply 1.71-V to 5.5-V analog supply Page 11 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 1. PSoC 4XX7_BLE Pin List (QFN Package) (continued) Pin Name Type 40 P2.3 GPIO Port 2 Pin 3, lcd, csd 41 P2.4 GPIO Port 2 Pin 4, lcd, csd 42 P2.5 GPIO Port 2 Pin 5, lcd, csd 43 P2.6 GPIO Port 2 Pin 6, lcd, csd 44 P2.7 GPIO Port 2 Pin 7, lcd, csd 45 VREF REF 1.024-V reference 46 VDDA POWER 47 P3.0 GPIO Port 3 Pin 0, lcd, csd 48 P3.1 GPIO Port 3 Pin 1, lcd, csd 49 P3.2 GPIO Port 3 Pin 2, lcd, csd 50 P3.3 GPIO Port 3 Pin 3, lcd, csd 51 P3.4 GPIO Port 3 Pin 4, lcd, csd 52 P3.5 GPIO Port 3 Pin 5, lcd, csd 53 P3.6 GPIO Port 3 Pin 6, lcd, csd Port 3 Pin 7, lcd, csd 54 P3.7 GPIO 55 VSSA GROUND 56 VCCD POWER 57 EPAD GROUND Description 1.71-V to 5.5-V analog supply Analog ground Regulated 1.8-V supply, connect to 1-µF capacitor Ground paddle for the QFN package Table 2. PSoC 4XX7_BLE Pin List (WLCSP Package) Pin Name Type A1 VREF REF Pin Description A2 VSSA GROUND A3 P3.3 GPIO Port 3 Pin 3, lcd, csd Port 3 Pin 7, lcd, csd 1.024-V reference Analog ground A4 P3.7 GPIO A5 VSSD GROUND A6 VSSA GROUND A7 VCCD POWER Regulated 1.8-V supply, connect to 1-μF capacitor A8 VDDD POWER 1.71-V to 5.5-V radio supply B1 P2.3 GPI B2 VSSA GROUND B3 P2.7 GPIO Port 2 Pin 7, lcd, csd B4 P3.4 GPIO Port 3 Pin 4, lcd, csd B5 P3.5 GPIO Port 3 Pin 5, lcd, csd Port 3 Pin 6, lcd, csd B6 P3.6 GPIO B7 XTAL32I/P6.1 CLOCK Digital ground Analog ground Port 2 Pin 3, lcd, csd Analog ground 32.768-kHz crystal or external clock input B8 XTAL32O/P6.0 CLOCK C1 VSSA GROUND C2 P2.2 GPIO Port 2 Pin 2, lcd, csd C3 P2.6 GPIO Port 2 Pin 6, lcd, csd C4 P3.0 GPIO Port 3 Pin 0, lcd, csd C5 P3.1 GPIO Port 3 Pin 1, lcd, csd Document Number: 001-90479 Rev. *L 32.768-kHz crystal Analog ground Page 12 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 2. PSoC 4XX7_BLE Pin List (WLCSP Package) (continued) Pin Name Type Pin Description C6 P3.2 GPIO C7 XRES RESET Port 3 Pin 2, lcd, csd C8 P4.0 GPIO Port 4 Pin 0, lcd, csd D1 P1.7 GPIO Port 1 Pin 7, lcd, csd D2 VDDA POWER D3 P2.0 GPIO Port 2 Pin 0, lcd, csd D4 P2.1 GPIO Port 2 Pin 1, lcd, csd D5 P2.5 GPIO Port 2 Pin 5, lcd, csd D6 VSSD GROUND D7 P4.1 GPIO Reset, active LOW 1.71-V to 5.5-V analog supply Digital ground Port 4 Pin 1, lcd, csd D8 P5.0 GPIO Port 5 Pin 0, lcd, csd E1 P1.2 GPIO Port 1 Pin 2, lcd, csd E2 P1.3 GPIO Port 1 Pin 3, lcd, csd E3 P1.4 GPIO Port 1 Pin 4, lcd, csd E4 P1.5 GPIO Port 1 Pin 5, lcd, csd E5 P1.6 GPIO Port 1 Pin 6, lcd, csd E6 P2.4 GPIO Port 2 Pin 4, lcd, csd E7 P5.1 GPIO Port 5 Pin 1, lcd, csd E8 VSSD GROUND Digital ground F1 VSSD GROUND Digital ground F2 P0.7 GPIO Port 0 Pin 7, lcd, csd F3 P0.3 GPIO Port 0 Pin 3, lcd, csd F4 P1.0 GPIO Port 1 Pin 0, lcd, csd F5 P1.1 GPIO Port 1 Pin 1, lcd, csd F6 VSSR GROUND Radio ground F7 VSSR GROUND Radio ground F8 VDDR POWER G1 P0.6 GPIO G2 VDDD POWER G3 P0.2 GPIO 1.9-V to 5.5-V radio supply Port 0 Pin 6, lcd, csd 1.71-V to 5.5-V digital supply Port 0 Pin 2, lcd, csd G4 VSSD GROUND Digital ground G5 VSSR GROUND Radio ground G6 VSSR GROUND Radio ground G7 GANT GROUND Antenna shielding ground G8 VSSR GROUND Radio ground H1 P0.5 GPIO Port 0 Pin 5, lcd, csd Port 0 Pin 1, lcd, csd H2 P0.1 GPIO H3 XTAL24O CLOCK H4 XTAL24I CLOCK H5 VSSR GROUND H6 VSSR GROUND Radio ground H7 ANT ANTENNA Antenna pin J1 P0.4 GPIO Document Number: 001-90479 Rev. *L 24-MHz crystal 24-MHz crystal or external clock input Radio ground Port 0 Pin 4, lcd, csd Page 13 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 2. PSoC 4XX7_BLE Pin List (WLCSP Package) (continued) Pin Name Type Pin Description J2 P0.0 GPIO J3 VDDR POWER J6 VDDR POWER J7 No Connect - Port 0 Pin 0, lcd, csd 1.9-V to 5.5-V radio supply 1.9-V to 5.5-V radio supply - High-speed I/O matrix (HSIOM) is a group of high-speed switches that routes GPIOs to the resources inside the device. These resources include CapSense, TCPWMs, I2C, SPI, UART, and LCD. HSIOM_PORT_SELx are 32-bit-wide registers that control the routing of GPIOs. Each register controls one port; four dedicated bits are assigned to each GPIO in the port. This provides up to 16 different options for GPIO routing as shown in Table 3. Table 3. HSIOM Port Settings (continued) Table 3. HSIOM Port Settings Value Value Description 11 Reserved 12 Pin is an LCD common pin 13 Pin is an LCD segment pin 14 Pin-specific Deep-Sleep function #0 15 Pin-specific Deep-Sleep function #1 Description 0 Firmware-controlled GPIO 1 Output is firmware-controlled, but Output Enable (OE) is controlled from DSI. 2 Both output and OE are controlled from DSI. 3 Output is controlled from DSI, but OE is firmware-controlled. 4 Pin is a CSD sense pin 5 Pin is a CSD shield pin 6 Pin is connected to AMUXA 7 Pin is connected to AMUXB 8 Pin-specific Active function #0 9 Pin-specific Active function #1 10 Pin-specific Active function #2 The selection of peripheral function for different GPIO pins is given in Table 4. Table 4. Port Pin Connections Digital (HSIOM_PORT_SELx.SELy) ('x' denotes port number and 'y' denotes pin number) Name Analog 0 8 9 10 14 15 GPIO Active #0 Active #1 Active #2 Deep-Sleep #0 Deep-Sleep #1 P0.0 COMP0_INP GPIO TCPWM0_P[3] SCB1_UART_RX[1] SCB1_I2C_SDA[1] P0.1 COMP0_INN GPIO TCPWM0_N[3] SCB1_UART_TX[1] SCB1_I2C_SCL[1] SCB1_SPI_MISO[1] GPIO TCPWM1_P[3] SCB1_UART_RTS[1] COMP0_OUT[0] SCB1_SPI_SS0[1] P0.2 P0.3 SCB1_SPI_MOSI[1] GPIO TCPWM1_N[3] SCB1_UART_CTS[1] P0.4 COMP1_INP GPIO TCPWM1_P[0] SCB0_UART_RX[1] P0.5 COMP1_INN GPIO TCPWM1_N[0] SCB0_UART_TX[1] SCB0_I2C_SCL[1] SCB0_SPI_MISO[1] GPIO TCPWM2_P[0] SCB0_UART_RTS[1] SWDIO[0] SCB0_SPI_SS0[1] SCB0_UART_CTS[1] P0.6 P0.7 EXT_CLK[0]/ ECO_OUT[0] COMP1_OUT[0] SCB1_SPI_SCLK[1] SCB0_I2C_SDA[1] SCB0_SPI_MOSI[1] GPIO TCPWM2_N[0] SWDCLK[0] SCB0_SPI_SCLK[1] P1.0 CTBm1_OA0_INP GPIO TCPWM0_P[1] COMP0_OUT[1] WCO_OUT[2] P1.1 CTBm1_OA0_INN GPIO TCPWM0_N[1] COMP1_OUT[1] P1.2 CTBm1_OA0_OUT GPIO TCPWM1_P[1] P1.3 CTBm1_OA1_OUT GPIO TCPWM1_N[1] P1.4 CTBm1_OA1_INN GPIO TCPWM2_P[1] Document Number: 001-90479 Rev. *L SCB1_SPI_SS1 SCB1_SPI_SS2 SCB1_SPI_SS3 SCB0_UART_RX[0] SCB0_I2C_SDA[0] SCB0_SPI_MOSI[1] Page 14 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 4. Port Pin Connections (continued) Digital (HSIOM_PORT_SELx.SELy) ('x' denotes port number and 'y' denotes pin number) Name Analog 0 GPIO GPIO 8 Active #0 10 Active #1 Active #2 SCB0_UART_TX[0] 14 Deep-Sleep #0 SCB0_I2C_SCL[0] 15 Deep-Sleep #1 P1.5 CTBm1_OA1_INP P1.6 CTBm1_OA0_INP GPIO TCPWM3_P[1] SCB0_UART_RTS[0] P1.7 CTBm1_OA1_INP GPIO TCPWM3_N[1] SCB0_UART_CTS[0] P2.0 CTBm0_OA0_INP GPIO P2.1 CTBm0_OA0_INN GPIO P2.2 CTBm0_OA0_OUT GPIO P2.3 CTBm0_OA1_OUT GPIO P2.4 CTBm0_OA1_INN GPIO P2.5 CTBm0_OA1_INP GPIO P2.6 CTBm0_OA0_INP GPIO P2.7 CTBm0_OA1_INP GPIO P3.0 SARMUX_0 GPIO TCPWM0_P[2] SCB0_UART_RX[2] SCB0_I2C_SDA[2] P3.1 SARMUX_1 GPIO TCPWM0_N[2] SCB0_UART_TX[2] SCB0_I2C_SCL[2] P3.2 SARMUX_2 GPIO TCPWM1_P[2] SCB0_UART_RTS[2] P3.3 SARMUX_3 GPIO TCPWM1_N[2] SCB0_UART_CTS[2] P3.4 SARMUX_4 GPIO TCPWM2_P[2] SCB1_UART_RX[2] SCB1_I2C_SDA[2] P3.5 SARMUX_5 GPIO TCPWM2_N[2] SCB1_UART_TX[2] SCB1_I2C_SCL[2] P3.6 SARMUX_6 GPIO TCPWM3_P[2] SCB1_UART_RTS[2] P3.7 SARMUX_7 GPIO TCPWM3_N[2] SCB1_UART_CTS[2] WCO_OUT[0] P4.0 CMOD GPIO TCPWM0_P[0] SCB1_UART_RTS[0] SCB1_SPI_MOSI[0] P4.1 CTANK GPIO TCPWM0_N[0] SCB1_UART_CTS[0] P5.0 GPIO TCPWM3_P[0] SCB1_UART_RX[0] EXTPA_EN P5.1 GPIO TCPWM3_N[0] SCB1_UART_TX[0] EXT_CLK[2]/ECO_OUT[2] SCB1_I2C_SCL[0] P6.0_XTAL32O GPIO P6.1_XTAL32I GPIO Document Number: 001-90479 Rev. *L TCPWM2_N[1] 9 SCB0_SPI_MISO[1] SCB0_SPI_SS0[1] SCB0_SPI_SCLK[1] SCB0_SPI_SS1 SCB0_SPI_SS2 WAKEUP SCB0_SPI_SS3 WCO_OUT[1] EXT_CLK[1]/ECO_OUT[1] SCB1_SPI_MISO[0] SCB1_I2C_SDA[0] SCB1_SPI_SS0[0] SCB1_SPI_SCLK[0] Page 15 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet The possible pin connections are shown for all analog and digital peripherals (except the radio, LCD, and CSD blocks, which were shown in Table 1). A typical system application connection diagram is shown in Figure 7. Figure 7. System Application Connection Diagram VDDA C1 1.0 uF C4 18 pF 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 C3 36 pF C2 1.0 uF U1 2 EPAD VCCD VSSA P3.7 P3.6 P3.5 P3.4 P3.3 P3.2 P3.1 P3.0 VDDA VREF P2.7 P2.6 Y2 1 VDDD 1 2 ANTENNA VDDR 1 2 C6 L1 PSoC 4XXX_BLE 56-QFN VDDR P2.5 P2.4 P2.3 P2.2 P2.1 P2.0 VDDA P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 42 41 40 39 38 37 36 35 34 33 32 31 30 29 VDDA 15 16 17 18 19 20 21 22 23 24 25 26 27 28 C5 VDDD XTAL32O/P6.0 XTAL32I/P6.1 XRES P4.0 P4.1 P5.0 P5.1 VSS VDDR GANT1 ANT GANT2 VDDR VDDR XTAL24I XTAL24O VDDR P0.0 P0.1 P0.2 P0.3 VDDD P0.4 P0.5 P0.6 P0.7 P1.0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 32.768KHz 1 VDDD 2 3 Y1 24MHz 4 SWDIO SWDCLK VDDR Power The PSoC 4XX7_BLE device can be supplied from batteries with a voltage range of 1.9 V to 5.5 V by directly connecting to the digital supply (VDDD), analog supply (VDDA), and radio supply (VDDR) pins. Internal LDOs in the device regulate the supply voltage to the required levels for different blocks. The device has one regulator for the digital circuitry and separate regulators for radio circuitry for noise isolation. Analog circuits run directly from the analog supply (VDDA) input. The device uses separate regulators for Deep-Sleep and Hibernate (lowered power supply and retention) modes to minimize the power consumption. The radio stops working below 1.9 V, but the device continues to function down to 1.71 V without RF. Note that VDDR must be supplied whenever VDDD is supplied. Bypass capacitors must be used from VDDx (x = A, D, or R) to ground. The typical practice for systems in this frequency range is to use a capacitor in the 1-µF range in parallel with a smaller capacitor (for example, 0.1 µF). Note that these are simply rules Document Number: 001-90479 Rev. *L of thumb and that, for critical applications, the PCB layout, lead inductance, and the bypass capacitor parasitic should be simulated to design and obtain optimal bypassing. Power Supply Bypass Capacitors VDDD 0.1-µF ceramic at each pin plus bulk capacitor 1 µF to 10 µF. VDDA 0.1-µF ceramic at each pin plus bulk capacitor 1 µF to 10 µF. VDDR 0.1-µF ceramic at each pin plus bulk capacitor 1 µF to 10 µF. VCCD 1-µF ceramic capacitor at the VCCD pin. VREF (optional) The internal bandgap may be bypassed with a 1-µF to 10-µF capacitor. Page 16 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Development Support The PSoC 4XX7_BLE family has a rich set of documentation, development tools, and online resources to assist you during your development process. Visit www.cypress.com/go/psoc4 to find out more. Documentation A suite of documentation supports the PSoC 4XX7_BLE family to ensure that you can find answers to your questions quickly. This section contains a list of some of the key documents. Software User Guide: A step-by-step guide for using PSoC Creator. The software user guide shows you how the PSoC Creator build process works in detail, how to use source control with PSoC Creator, and much more. Component Datasheets: The flexibility of PSoC allows the creation of new peripherals (Components) long after the device has gone into production. Component datasheets provide all of the information needed to select and use a particular Component, including a functional description, API documentation, example code, and AC/DC specifications. standard and custom BLE profiles. Application notes often include example projects in addition to the application note document. Technical Reference Manual: The Technical Reference Manual (TRM) contains all the technical detail you need to use a PSoC device, including a complete description of all PSoC registers. The TRM is available in the Documentation section at www.cypress.com/psoc4. Online In addition to print documentation, the Cypress PSoC forums connect you with fellow PSoC users and experts in PSoC from around the world, 24 hours a day, 7 days a week. Tools With industry standard cores, programming, and debugging interfaces, the PSoC 4XX7_BLE family is part of a development tool ecosystem. Visit us at www.cypress.com/go/psoccreator for the latest information on the revolutionary, easy to use PSoC Creator IDE, supported third party compilers, programmers, debuggers, and development kits. Application Notes: PSoC application notes discuss a particular application of PSoC in depth; examples include creating Document Number: 001-90479 Rev. *L Page 17 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Electrical Specifications Absolute Maximum Ratings Table 5. Absolute Maximum Ratings[1] Spec ID# Parameter Description Min Typ Max Units Details/ Conditions SID1 VDDD_ABS Analog, digital, or radio supply relative to VSS (VSSD = VSSA) –0.5 – 6 V Absolute max SID2 VCCD_ABS Direct digital core voltage input relative to VSSD –0.5 – 1.95 V Absolute max SID3 VGPIO_ABS GPIO voltage –0.5 – VDD +0.5 V Absolute max SID4 IGPIO_ABS Maximum current per GPIO –25 – 25 mA Absolute max SID5 IGPIO_injection GPIO injection current, Max for VIH > VDDD, and Min for VIL < VSS –0.5 – 0.5 mA Absolute max, current injected per pin BID57 ESD_HBM Electrostatic discharge human body model 2200[2] – – V BID58 ESD_CDM Electrostatic discharge charged device model 500 – – V BID61 LU Pin current for latch-up –200 – 200 mA Device Level Specifications All specifications are valid for –40 °C TA 105 °C, except where noted. Specifications are valid for 1.71 V to 5.5 V, except where noted. Table 6. DC Specifications Spec ID# Parameter Description Min Typ Max Units Details/ Conditions SID6 VDD Power supply input voltage (VDDA = VDDD = VDD) 1.8 – 5.5 V With regulator enabled SID7 VDD Power supply input voltage unregulated (VDDA = VDDD = VDD) 1.71 1.8 1.89 V Internally unregulated Supply SID8 VDDR Radio supply voltage (Radio ON) 1.9 – 5.5 V SID8A VDDR Radio supply voltage (Radio OFF) 1.71 – 5.5 V SID9 VCCD Digital regulator output voltage (for core logic) – 1.8 – V SID10 CVCCD Digital regulator output bypass capacitor 1 1.3 1.6 µF X5R ceramic or better Execute from flash; CPU at 3 MHz – 1.7 – mA T = 25 °C, VDD = 3.3 V Active Mode, VDD = 1.71 V to 5.5 V SID13 IDD3 SID14 IDD4 Execute from flash; CPU at 3 MHz – – – mA T = –40 C to 105 °C SID15 IDD5 Execute from flash; CPU at 6 MHz – 2.5 – mA T = 25 °C, VDD = 3.3 V SID16 IDD6 Execute from flash; CPU at 6 MHz – – – mA T = –40 °C to 105 °C SID17 IDD7 Execute from flash; CPU at 12 MHz – 4 – mA T = 25 °C, VDD = 3.3 V SID18 IDD8 Execute from flash; CPU at 12 MHz – – – mA T = –40 °C to 105 °C Notes 1. Usage above the absolute maximum conditions listed in Table 5 may cause permanent damage to the device. Exposure to absolute maximum conditions for extended periods of time may affect device reliability. The maximum storage temperature is 150 °C in compliance with JEDEC Standard JESD22-A103, High Temperature Storage Life. When used below absolute maximum conditions but above normal operating conditions, the device may not operate to specification. 2. This does not apply to the RF pins (ANT, XTALI, and XTALO). RF pins (ANT, XTALI, and XTALO) are tested for 500-V HBM. Document Number: 001-90479 Rev. *L Page 18 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 6. DC Specifications (continued) Spec ID# Parameter Description Min Typ Max Units Details/ Conditions SID19 IDD9 Execute from flash; CPU at 24 MHz – 7.1 – mA T = 25 °C, VDD = 3.3 V SID20 IDD10 Execute from flash; CPU at 24 MHz – – – mA T = –40 °C to 105 °C SID21 IDD11 Execute from flash; CPU at 48 MHz – 13.4 – mA T = 25 °C, VDD = 3.3 V SID22 IDD12 Execute from flash; CPU at 48 MHz – – – mA T = –40 °C to 105 °C – – – mA T = 25 °C, VDD = 3.3 V, SYSCLK = 3 MHz – – – mA T = 25 °C, VDD = 3.3 V, SYSCLK = 3 MHz Sleep Mode, VDD = 1.8 V to 5.5 V SID23 IDD13 IMO on Sleep Mode, VDD and VDDR = 1.9 V to 5.5 V SID24 IDD14 ECO on Deep-Sleep Mode, VDD = 1.8 V to 3.6 V SID25 IDD15 WDT with WCO on – 1.3 – µA T = 25 °C, VDD = 3.3 V SID26 IDD16 WDT with WCO on – – – µA T = –40 °C to 105 °C Deep-Sleep Mode, VDD = 3.6 V to 5.5 V SID27 IDD17 WDT with WCO on – – – µA T = 25 °C, VDD = 5 V SID28 IDD18 WDT with WCO on – – – µA T = –40 °C to 105 °C Deep-Sleep Mode, VDD = 1.71 V to 1.89 V (Regulator Bypassed) SID29 IDD19 WDT with WCO on – – – µA T = 25 °C SID30 IDD20 WDT with WCO on – – – µA T = –40 °C to 105 °C Deep-Sleep Mode, VDD = 2.5 V to 3.6 V SID31 IDD21 Opamp on – – – µA T = 25 °C, VDD = 3.3 V SID32 IDD22 Opamp on – – – µA T = –40 °C to 105 °C Deep-Sleep Mode, VDD = 3.6 V to 5.5 V SID33 IDD23 Opamp on – – – µA T = 25 °C, VDD = 5 V SID34 IDD24 Opamp on – – – µA T = –40 °C to 105 °C Hibernate Mode, VDD = 1.8 V to 3.6 V SID37 IDD27 GPIO and reset active – 150 – nA T = 25 °C, VDD = 3.3 V SID38 IDD28 GPIO and reset active – – – nA T = –40 °C to 105 °C Hibernate Mode, VDD = 3.6 V to 5.5 V SID39 IDD29 GPIO and reset active – – – nA T = 25 °C, VDD = 5 V SID40 IDD30 GPIO and reset active – – – nA T = –40 °C to 105 °C Hibernate Mode, VDD = 1.71 V to 1.89 V (Regulator Bypassed) SID41 IDD31 GPIO and reset active – – – nA T = 25 °C SID42 IDD32 GPIO and reset active – – – nA T = –40 °C to 105 °C Document Number: 001-90479 Rev. *L Page 19 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 6. DC Specifications (continued) Spec ID# Parameter Description Min Typ Max Units Details/ Conditions Stop Mode, VDD = 1.8 V to 3.6 V SID43 IDD33 Stop mode current (VDD) – 20 – nA T = 25 °C, VDD = 3.3 V SID44 IDD34 Stop mode current (VDDR) – 40 –- nA T = 25 °C, VDDR = 3.3 V SID45 IDD35 Stop mode current (VDD) – – – nA T = –40 °C to 105 °C SID46 IDD36 Stop mode current (VDDR) – – – nA T = –40 °C to 105 °C, VDDR = 1.9 V to 3.6 V Stop Mode, VDD = 3.6 V to 5.5 V SID47 IDD37 Stop mode current (VDD) – – – nA T = 25 °C, VDD = 5 V SID48 IDD38 Stop mode current (VDDR) – – – nA T = 25 °C, VDDR = 5 V SID49 IDD39 Stop mode current (VDD) – – – nA T = –40 °C to 105 °C SID50 IDD40 Stop mode current (VDDR) – – – nA T = –40 °C to 105 °C Stop Mode, VDD = 1.71 V to 1.89 V (Regulator Bypassed) SID51 IDD41 Stop mode current (VDD) – – – nA T = 25 °C SID52 IDD42 Stop mode current (VDD) – – – nA T = –40 °C to 105 °C Min Typ Max Units Table 7. AC Specifications Spec ID# Parameter Description Details/ Conditions 1.71 V VDD 5.5 V SID53 FCPU CPU frequency DC – 48 MHz SID54 TSLEEP Wakeup from Sleep mode – 0 – µs Guaranteed by characterization SID55 TDEEPSLEEP Wakeup from Deep-Sleep mode – – 25 µs 24-MHz IMO. Guaranteed by characterization SID56 THIBERNATE Wakeup from Hibernate mode – – 2 ms Guaranteed by characterization SID57 TSTOP Wakeup from Stop mode – – 2 ms Guaranteed by characterization Document Number: 001-90479 Rev. *L Page 20 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet GPIO Table 8. GPIO DC Specifications Spec ID# SID58 Parameter Description VIH Input voltage HIGH threshold SID59 VIL Input voltage LOW threshold SID60 VIH LVTTL input, VDD < 2.7 V Details/ Conditions Min Typ Max Units 0.7 × VDD – – V CMOS input – – 0.3 × VDD V CMOS input 0.7 × VDD – - V SID61 VIL LVTTL input, VDD < 2.7 V – – 0.3× VDD V SID62 VIH LVTTL input, VDD ≥ 2.7 V 2.0 – - V SID63 VIL LVTTL input, VDD ≥ 2.7 V – – 0.8 V SID64 VOH Output voltage HIGH level VDD –0.6 – – V IOH = 4 mA at 3.3-V VDD SID65 VOH Output voltage HIGH level VDD –0.5 – – V IOH = 1 mA at 1.8-V VDD SID66 VOL Output voltage LOW level – – 0.6 V IOL = 8 mA at 3.3-V VDD SID67 VOL Output voltage LOW level – – 0.6 V IOL= 4 mA at 1.8-V VDD SID68 VOL Output voltage LOW level – – 0.4 V IOL = 3 mA at 3.3-V VDD SID69 RPULLUP Pull-up resistor 3.5 5.6 8.5 kΩ SID70 RPULLDOWN Pull-down resistor 3.5 5.6 8.5 kΩ SID71 IIL Input leakage current (absolute value) – – 2 nA SID72 IIL_CTBM Input leakage on CTBm input pins – – 4 nA SID73 CIN Input capacitance – – 7 SID74 VHYSTTL Input hysteresis LVTTL 25 40 SID75 VHYSCMOS Input hysteresis CMOS 0.05 × VDD – – mV SID76 IDIODE Current through protection diode to VDD/VSS – – 100 µA SID77 ITOT_GPIO Maximum total source or sink chip current – – 200 mA 25 °C, VDD = 3.3 V pF mV VDD > 2.7 V Except for overvoltage-toler ant pins (P5.0 and P5.1) Table 9. GPIO AC Specifications Spec ID# Parameter Description Min Typ Max Units Details/ Conditions SID78 TRISEF Rise time in Fast-Strong mode 2 – 12 ns 3.3-V VDDD, CLOAD = 25 pF SID79 TFALLF Fall time in Fast-Strong mode 2 – 12 ns 3.3-V VDDD, CLOAD = 25 pF SID80 TRISES Rise time in Slow-Strong mode 10 – 60 ns 3.3-V VDDD, CLOAD = 25 pF SID81 TFALLS Fall time in Slow-Strong mode 10 – 60 ns 3.3-V VDDD, CLOAD = 25 pF Note 3. VIH must not exceed VDDD + 0.2 V. Document Number: 001-90479 Rev. *L Page 21 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 9. GPIO AC Specifications (continued) Spec ID# Parameter Description Min Typ Max Units Details/ Conditions SID82 FGPIOUT1 GPIO Fout; 3.3 V VDD 5.5 V. Fast-Strong mode – – 33 MHz 90/10%, 25-pF load, 60/40 duty cycle SID83 FGPIOUT2 GPIO Fout; 1.7 VVDD 3.3 V. Fast-Strong mode – – 16.7 MHz 90/10%, 25-pF load, 60/40 duty cycle SID84 FGPIOUT3 GPIO Fout; 3.3 V VDD 5.5 V. Slow-Strong mode – – 7 MHz 90/10%, 25-pF load, 60/40 duty cycle SID85 FGPIOUT4 GPIO Fout; 1.7 V VDD 3.3 V. Slow-Strong mode – – 3.5 MHz 90/10%, 25-pF load, 60/40 duty cycle SID86 FGPIOIN GPIO input operating frequency; 1.71 V VDD 5.5 V – – 48 MHz 90/10% VIO Description Min Typ Max Units Table 10. OVT GPIO DC Specifications (P5_0 and P5_1 Only) Spec ID# Parameter Details/ Conditions SID71A IIL Input leakage current (absolute value), VIH > VDD – – 10 µA 25 °C, VDD = 0 V, VIH= 3.0 V SID66A VOL Output voltage LOW level – – 0.4 V IOL = 20 mA, VDD > 2.9 V Min Typ Max Units Details/ Conditions Table 11. OVT GPIO AC Specifications (P5_0 and P5_1 Only) Spec ID# Parameter Description SID78A TRISE_OVFS Output rise time in Fast-Strong mode 1.5 – 12 ns 25-pF load, 10%–90%, VDD=3.3 V SID79A TFALL_OVFS Output fall time in Fast-Strong mode 1.5 – 12 ns 25-pF load, 10%–90%, VDD=3.3 V SID80A TRISSS Output rise time in Slow-Strong mode 10 – 60 ns 25-pF load, 10%–90%, VDD=3.3 V SID81A TFALLSS Output fall time in Slow-Strong mode 10 – 60 ns 25-pF load, 10%–90%, VDD=3.3 V SID82A FGPIOUT1 GPIO FOUT; 3.3 V ≤ VDD ≤ 5.5 V Fast-Strong mode – – 24 MHz 90/10%, 25-pF load, 60/40 duty cycle SID83A FGPIOUT2 GPIO FOUT; 1.71 V ≤ VDD ≤ 3.3 V Fast-Strong mode – – 16 MHz 90/10%, 25-pF load, 60/40 duty cycle Document Number: 001-90479 Rev. *L Page 22 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet XRES Table 12. XRES DC Specifications Spec ID# Parameter Description Min Typ Max Units Details/ Conditions SID87 VIH Input voltage HIGH threshold 0.7 × VDDD – – V CMOS input SID88 VIL Input voltage LOW threshold – – 0.3 × VDDD V CMOS input SID89 Rpullup Pull-up resistor 3.5 5.6 8.5 kΩ SID90 CIN Input capacitance – 3 – pF SID91 VHYSXRES Input voltage hysteresis – 100 – mV SID92 IDIODE Current through protection diode to VDDD/VSS – – 100 µA Min Typ Max Units 1 – – µs Min Typ Max Units Table 13. XRES AC Specifications Spec ID# SID93 Parameter TRESETWIDTH Description Reset pulse width Details/ Conditions Analog Peripherals Opamp Table 14. Opamp Specifications Spec ID# Parameter Description Details/ Conditions IDD (Opamp Block Current. VDD = 1.8 V. No Load) SID94 IDD_HI Power = high – 1000 1300 µA SID95 IDD_MED Power = medium – 500 – µA SID96 IDD_LOW Power = low – 250 350 µA GBW (Load = 20 pF, 0.1 mA. VDDA = 2.7 V) SID97 GBW_HI Power = high 6 – – MHz SID98 GBW_MED Power = medium 4 – – MHz SID99 GBW_LO Power = low – 1 – MHz IOUT_MAX (VDDA 2.7 V, 500 mV from Rail) SID100 IOUT_MAX_HI Power = high 10 – – mA SID101 IOUT_MAX_MID Power = medium 10 – – mA SID102 IOUT_MAX_LO Power = low – 5 – mA IOUT (VDDA = 1.71 V, 500 mV from Rail) SID103 IOUT_MAX_HI Power = high 4 – – mA SID104 IOUT_MAX_MID Power = medium 4 – – mA SID105 IOUT_MAX_LO Power = low – 2 – mA SID106 VIN Charge pump on, VDDA 2.7 V –0.05 – VDDA – 0.2 V SID107 VCM Charge pump on, VDDA 2.7 V –0.05 – VDDA – 0.2 V VOUT (VDDA 2.7 V) SID108 VOUT_1 Power = high, ILOAD=10 mA 0.5 – VDDA – 0.5 V SID109 VOUT_2 Power = high, ILOAD=1 mA 0.2 – VDDA – 0.2 V SID110 VOUT_3 Power = medium, ILOAD=1 mA 0.2 – VDDA – 0.2 V SID111 VOUT_4 Power = low, ILOAD=0.1 mA 0.2 – VDDA – 0.2 V SID112 VOS_TR Offset voltage, trimmed 1 ±0.5 1 mV Document Number: 001-90479 Rev. *L High mode Page 23 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 14. Opamp Specifications (continued) Spec ID# Parameter Description Min Typ Max Units Details/ Conditions – ±1 – mV Medium mode SID113 VOS_TR Offset voltage, trimmed SID114 VOS_TR Offset voltage, trimmed – ±2 – mV Low mode SID115 VOS_DR_TR Offset voltage drift, trimmed –10 ±3 10 µV/°C High mode SID116 VOS_DR_TR Offset voltage drift, trimmed – ±10 – µV/°C Medium mode SID117 VOS_DR_TR Offset voltage drift, trimmed – ±10 – µV/°C Low mode SID118 CMRR DC 65 70 – dB VDDD = 3.6 V, High-power mode SID119 PSRR At 1 kHz, 100-mV ripple 70 85 – dB VDDD = 3.6 V SID120 VN1 Input referred, 1 Hz–1 GHz, power = high – 94 – µVrms SID121 VN2 Input referred, 1 kHz, power = high – 72 – nV/rtHz SID122 VN3 Input referred, 10 kHz, power = high – 28 – nV/rtHz SID123 VN4 Input referred, 100 kHz, power = high – 15 – nV/rtHz SID124 CLOAD Stable up to maximum load. Performance specs at 50 pF – – 125 pF SID125 Slew_rate Cload = 50 pF, Power = High, VDDA 2.7 V 6 – – V/µs SID126 T_op_wake From disable to enable, no external RC dominating – 300 – µs Noise Comp_mode (Comparator Mode; 50-mV Drive, TRISE = TFALL (Approx.) SID127 TPD1 Response time; power = high – 150 – ns SID128 TPD2 Response time; power = medium – 400 – ns SID129 TPD3 Response time; power = low – 2000 – ns SID130 Vhyst_op Hysteresis – 10 – mV kHz Deep-Sleep Mode (Deep-Sleep mode operation is only guaranteed for VDDA > 2.5 V) SID131 GBW_DS Gain bandwidth product – 50 – SID132 IDD_DS Current – 15 – µA SID133 Vos_DS Offset voltage – 5 – mV SID134 Vos_dr_DS Offset voltage drift – 20 – µV/°C SID135 Vout_DS Output voltage 0.2 – VDD–0.2 V SID136 Vcm_DS Common mode voltage 0.2 – VDD–1.8 V Min Typ Max Units – – ±10 mV Table 15. Comparator DC Specifications Spec ID# Parameter Description SID140 VOFFSET1 Input offset voltage, Factory trim SID141 VOFFSET2 Input offset voltage, Custom trim – – ±6 mV SID141A VOFFSET3 Input offset voltage, ultra-low-power mode – ±12 – mV SID142 VHYST Hysteresis when enabled – 10 35 mV Document Number: 001-90479 Rev. *L Details/ Conditions VDDD ≥ 2.6 V for Temp < 0 °C VDDD ≥ 1.8 V for Temp ≥ 0 °C Page 24 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 15. Comparator DC Specifications (continued) Spec ID# Parameter Description Min Typ Max Units Details/ Conditions SID143 VICM1 Input common mode voltage in normal mode 0 – VDDD –0.1 V SID144 VICM2 Input common mode voltage in low-power mode 0 – VDDD V SID145 VICM3 Input common mode voltage in ultra low-power mode 0 – VDDD –1.15 V VDDD ≥ 2.6 V for Temp < 0 °C VDDD ≥ 1.8 V for Temp ≥ 0 °C SID146 CMRR Common mode rejection ratio 50 – – dB VDDD ≥ 2.7 V VDDD ≤ 2.7 V SID147 CMRR Common mode rejection ratio 42 – – dB SID148 ICMP1 Block current, normal mode – – 400 µA SID149 ICMP2 Block current, low-power mode – – 100 µA SID150 ICMP3 Block current in ultra-low-power mode – 6 – µA SID151 ZCMP DC input impedance of comparator 35 – – MΩ Min Typ Max Units Modes 1 and 2 VDDD ≥ 2.6 V for Temp < 0 °C VDDD ≥ 1.8 V for Temp ≥ 0 °C Table 16. Comparator AC Specifications Spec ID# Parameter Description Details/ Conditions SID152 TRESP1 Response time, normal mode, 50-mV overdrive – 38 – ns 50-mV overdrive SID153 TRESP2 Response time, low-power mode, 50-mV overdrive – 70 – ns 50-mV overdrive SID154 TRESP3 Response time, ultra-low-power mode, 50-mV overdrive – 2.3 – µs 200-mV overdrive VDDD ≥ 2.6 V for Temp < 0 °C VDDD ≥ 1.8 V for Temp ≥ 0 °C Min –5 Typ ±1 Max 5 Units °C Details/Conditions –40 to +85 °C Temperature Sensor Table 17. Temperature Sensor Specifications Spec ID# Parameter SID155 TSENSACC Description Temperature-sensor accuracy Document Number: 001-90479 Rev. *L Page 25 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet SAR ADC Table 18. SAR ADC DC Specifications Spec ID# Parameter Description Min Typ Max Units bits Details/Conditions SID156 A_RES Resolution – – 12 SID157 A_CHNIS_S Number of channels - single-ended – – 8 8 full-speed SID158 A-CHNKS_D Number of channels - differential – – 4 Diff inputs use neighboring I/O SID159 A-MONO Monotonicity – – – SID160 A_GAINERR Gain error – – ±0.1 % SID161 A_OFFSET Input offset voltage – – 2 mV SID162 A_ISAR Current consumption – – 1 mA SID163 A_VINS Input voltage range - single-ended VSS – VDDA V SID164 A_VIND Input voltage range - differential VSS – VDDA V Yes With external reference Measured with 1-V VREF SID165 A_INRES Input resistance – – 2.2 kΩ SID166 A_INCAP Input capacitance – – 10 pF SID312 VREFSAR Trimmed internal reference to SAR –1 – 1 % Percentage of Vbg (1.024 V) Min Typ Max Units Details/ Conditions Power-supply rejection ratio 70 – – dB Table 19. SAR ADC AC Specifications Spec ID# Parameter Description SID167 A_PSRR SID168 A_CMRR Common-mode rejection ratio 66 – – dB SID169 A_SAMP Sample rate – – 1 Msps 806 Ksps for PSoC 41X7_BLE devices SID313 Fsarintref SAR operating speed without external ref. bypass – – 100 ksps 12-bit resolution SID170 A_SNR Signal-to-noise ratio (SNR) 65 – – dB SID171 A_BW Input bandwidth without aliasing – – A_SAMP/2 kHz SID172 A_INL Integral nonlinearity. VDD = 1.71 V to 5.5 V, 1 Msps –1.7 – 2 LSB VREF = 1 V to VDD SID173 A_INL Integral nonlinearity. VDDD = 1.71 V to 3.6 V, 1 Msps –1.5 – 1.7 LSB VREF = 1.71 V to VDD SID174 A_INL Integral nonlinearity. VDD = 1.71 V to 5.5 V, 500 Ksps –1.5 – 1.7 LSB VREF = 1 V to VDD SID175 A_dnl Differential nonlinearity. VDD = 1.71 V to 5.5 V, 1 Msps –1 – 2.2 LSB VREF = 1 V to VDD SID176 A_DNL Differential nonlinearity. VDD = 1.71 V to 3.6 V, 1 Msps –1 – 2 LSB VREF = 1.71 V to VDD SID177 A_DNL Differential nonlinearity. VDD = 1.71 V to 5.5 V, 500 Ksps –1 – 2.2 LSB VREF = 1 V to VDD SID178 A_THD Total harmonic distortion – – –65 dB Document Number: 001-90479 Rev. *L Measured at 1-V reference FIN = 10 kHz FIN = 10 kHz Page 26 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet CSD Table 20. CSD Block Specifications Spec ID# Parameter Description Min Typ Max Units 1.71 – 5.5 V SID179 VCSD Voltage range of operation SID180 IDAC1 DNL for 8-bit resolution –1 – 1 LSB SID181 IDAC1 INL for 8-bit resolution –3 – 3 LSB SID182 IDAC2 DNL for 7-bit resolution –1 – 1 LSB SID183 IDAC2 INL for 7-bit resolution –3 – 3 LSB SID184 SNR Ratio of counts of finger to noise 5 – – Ratio SID185 IDAC1_CRT1 Output current of IDAC1 (8 bits) in High range – 612 – µA SID186 IDAC1_CRT2 Output current of IDAC1 (8 bits) in Low range – 306 – µA SID187 IDAC2_CRT1 Output current of IDAC2 (7 bits) in High range – 305 – µA SID188 IDAC2_CRT2 Output current of IDAC2 (7 bits) in Low range – 153 – µA Min – Typ – Max 42 – – 46 Details/ Conditions Capacitance range of 9 pF to 35 pF, 0.1-pF sensitivity. Radio is not operating during the scan Digital Peripherals Timer Table 21. Timer DC Specifications Spec ID SID189 SID189A SID190 SID190A SID191 SID191A Parameter Description ITIM1 Block current consumption at 3 MHz ITIM2 Block current consumption at 12 MHz ITIM3 Block current consumption at 48 MHz Units Details/Conditions µA 16-bit timer, 85 °C µA 16-bit timer, 105 °C – – 130 µA 16-bit timer, 85 °C – – 137 µA 16-bit timer, 105 °C – – 535 µA 16-bit timer, 85 °C – – 560 µA 16-bit timer, 105 °C Min FCLK Typ – Max 48 Units MHz Table 22. Timer AC Specifications Spec ID SID192 Parameter TTIMFREQ Description Operating frequency SID193 TCAPWINT Capture pulse width (internal) 2 × TCLK – – ns SID194 TCAPWEXT Capture pulse width (external) 2 × TCLK – – ns SID195 TTIMRES Timer resolution TCLK – – ns SID196 TTENWIDINT Enable pulse width (internal) 2 × TCLK – – ns SID197 TTENWIDEXT Enable pulse width (external) 2 × TCLK – – ns SID198 TTIMRESWINT Reset pulse width (internal) 2 × TCLK – – ns SID199 TTIMRESEXT Reset pulse width (external) 2 × TCLK – – ns Document Number: 001-90479 Rev. *L Details/Conditions Page 27 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Counter Table 23. Counter DC Specifications Spec ID SID200 SID200A SID201 SID201A SID202 SID202A Parameter Description ICTR1 Block current consumption at 3 MHz ICTR2 Block current consumption at 12 MHz ICTR3 Block current consumption at 48 MHz Min – Typ – Max 42 Units Details/Conditions µA 16-bit timer, 85 °C – – 46 µA 16-bit timer, 105 °C – – 130 µA 16-bit timer, 85 °C – – 137 µA 16-bit timer, 105 °C – – 535 µA 16-bit timer, 85 °C – – 560 µA 16-bit timer, 105 °C Min FCLK Typ – Max 48 Units MHz Table 24. Counter AC Specifications Spec ID SID203 Parameter TCTRFREQ Description Operating frequency SID204 TCTRPWINT Capture pulse width (internal) 2 × TCLK – – ns SID205 TCTRPWEXT Capture pulse width (external) 2 × TCLK – – ns SID206 TCTRES Counter Resolution TCLK – – ns SID207 TCENWIDINT Enable pulse width (internal) 2 × TCLK – – ns SID208 TCENWIDEXT Enable pulse width (external) 2 × TCLK – – ns SID209 TCTRRESWINT Reset pulse width (internal) 2 × TCLK – – ns SID210 TCTRRESWEXT Reset pulse width (external) 2 × TCLK – – ns Typ Max Units Details/Conditions Pulse Width Modulation (PWM) Table 25. PWM DC Specifications Spec ID SID211 SID211A SID212 SID212A SID213 SID213A Parameter Description IPWM1 Block current consumption at 3 MHz IPWM2 Block current consumption at 12 MHz IPWM3 Block current consumption at 48 MHz Min Details/Conditions – – 42 µA 16-bit timer, 85 °C – – 46 µA 16-bit timer, 105 °C – – 130 µA 16-bit timer, 85 °C – – 137 µA 16-bit timer, 105 °C – – 535 µA 16-bit timer, 85 °C – – 560 µA 16-bit timer, 105 °C Min Typ Max Units Table 26. PWM AC Specifications Spec ID Parameter Description SID214 TPWMFREQ Operating frequency FCLK – 48 MHz SID215 TPWMPWINT Pulse width (internal) 2 × TCLK – – ns SID216 TPWMEXT Pulse width (external) 2 × TCLK – – ns SID217 TPWMKILLINT Kill pulse width (internal) 2 × TCLK – – ns SID218 TPWMKILLEXT Kill pulse width (external) 2 × TCLK – – ns SID219 TPWMEINT Enable pulse width (internal) 2 × TCLK – – ns SID220 TPWMENEXT Enable pulse width (external) 2 × TCLK – – ns SID221 TPWMRESWINT Reset pulse width (internal) 2 × TCLK – – ns SID222 TPWMRESWEXT Reset pulse width (external) 2 × TCLK – – ns Document Number: 001-90479 Rev. *L Details/Conditions Page 28 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet I2C Table 27. Fixed I2C DC Specifications Spec ID Parameter Description Min Typ Max Units SID223 II2C1 Block current consumption at 100 kHz – – 50 µA SID224 II2C2 Block current consumption at 400 kHz – – 155 µA SID225 II2C3 Block current consumption at 1 Mbps – – 390 µA SID226 II2C4 I2C enabled in Deep-Sleep mode – – 1.4 µA Min – Typ – Max 1 Units Mbps Min – Typ 17.5 Max – Details/Conditions Table 28. Fixed I2C AC Specifications Spec ID SID227 Parameter FI2C1 Description Bit rate Details/Conditions LCD Direct Drive Table 29. LCD Direct Drive DC Specifications Spec ID SID228 Parameter ILCDLOW Description Operating current in low-power mode Units Details/Conditions µA 16 × 4 small segment display at 50 Hz pF SID229 CLCDCAP – 500 5000 SID230 LCDOFFSET LCD capacitance per segment/common driver Long-term segment offset – 20 – mV SID231 ILCDOP1 – 2 – mA SID232 ILCDOP2 LCD system operating current VBIAS = 5 V LCD system operating current VBIAS = 3.3 V – 2 – mA Min 10 Typ 50 32 × 4 segments. 50 Hz at 25 °C 32 × 4 segments 50 Hz at 25 °C Table 30. LCD Direct Drive AC Specifications Spec ID SID233 Parameter FLCD Description LCD frame rate Max 150 Units Hz Details/Conditions Table 31. Fixed UART DC Specifications Spec ID Parameter Description Min Typ Max Units SID234 IUART1 Block current consumption at 100 kbps – – 55 µA SID235 IUART2 Block current consumption at 1000 kbps – – 312 µA Min Typ Max Units – – 1 Mbps Details/Conditions Table 32. Fixed UART AC Specifications Spec ID SID236 Parameter FUART Description Bit rate Document Number: 001-90479 Rev. *L Details/Conditions Page 29 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet SPI Specifications Table 33. Fixed SPI DC Specifications Spec ID Parameter Description Min Typ Max Units SID237 ISPI1 Block current consumption at 1 Mbps – – 360 µA SID238 ISPI2 Block current consumption at 4 Mbps – – 560 µA SID239 ISPI3 Block current consumption at 8 Mbps – – 600 µA Min Typ Max Units – – 8 MHz Min Typ Max Units Details/Conditions Table 34. Fixed SPI AC Specifications Spec ID SID240 Parameter FSPI Description SPI operating frequency (master; 6x oversampling) Details/Conditions Table 35. Fixed SPI Master Mode AC Specifications Spec ID Parameter Description Details/Conditions SID241 TDMO MOSI valid after Sclock driving edge – – 18 ns SID242 TDSI MISO valid before Sclock capturing edge. Full clock, late MISO sampling used 20 – – ns Full clock, late MISO sampling SID243 THMO Previous MOSI data hold time 0 – – ns Referred to Slave capturing edge Table 36. Fixed SPI Slave Mode AC Specifications Spec ID Parameter Description Min Typ Max Units SID244 TDMI MOSI valid before Sclock capturing edge 40 – – ns SID245 TDSO MISO valid after Sclock driving edge – – 42 + 3 × TSCB ns SID246 TDSO_ext MISO valid after Sclock driving edge in external clock mode – – 50 ns SID247 THSO Previous MISO data hold time 0 – – ns SID248 TSSELSCK SSEL valid to first SCK valid edge 100 – – ns Document Number: 001-90479 Rev. *L Details/Conditions VDD < 3.0 V Page 30 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Memory Table 37. Flash DC Specifications Spec ID Parameter Description Min Typ Max Units 1.71 – 5.5 V Number of Wait states at 32–48 MHz 2 – – CPU execution from flash TWS32 Number of Wait states at 16–32 MHz 1 – – CPU execution from flash TWS16 Number of Wait states for 0–16 MHz 0 – – CPU execution from flash SID249 VPE Erase and program voltage SID309 TWS48 SID310 SID311 Details/Conditions Table 38. Flash AC Specifications Spec ID Parameter SID250 TROWWRITE[4] SID251 TROWERASE[4] [4] Description Min Typ Max Units Details/Conditions Row (block) write time (erase and program) – – 20 ms Row (block) = 128 bytes Row erase time – – 13 ms SID252 TROWPROGRAM Row program time after erase – – 7 ms SID253 TBULKERASE[4] Bulk erase time (128 KB) – – 35 ms SID254 TDEVPROG[4] Total device program time SID255 FEND Flash endurance SID256 FRET SID257 SID257A – – 25 seconds 100 K – – cycles Flash retention. TA 55 °C, 100 K P/E cycles 20 – – years FRET2 Flash retention. TA 85 °C, 10 K P/E cycles 10 – – years FRET3 Flash retention. TA 105 °C, 10 K P/E cycles 3 – – years Max Units For TA ≥ 85 °C System Resources Power-on-Reset (POR) Table 39. POR DC Specifications Spec ID Parameter Description Min Typ SID258 VRISEIPOR Rising trip voltage 0.80 – 1.45 V SID259 VFALLIPOR Falling trip voltage 0.75 – 1.40 V SID260 VIPORHYST Hysteresis 15 – 200 mV Min Typ Max Units – – 1 µs Details/Conditions Table 40. POR AC Specifications Spec ID SID264 Parameter TPPOR_TR Description PPOR response time in Active and Sleep modes Details/Conditions Note 4. It can take as much as 20 milliseconds to write to flash. During this time, the device should not be reset, or flash operations will be interrupted and cannot be relied on to have completed. Reset sources include the XRES pin, software resets, CPU lockup states and privilege violations, improper power supply levels, and watchdogs. Make certain that these are not inadvertently activated. Document Number: 001-90479 Rev. *L Page 31 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 41. Brown-Out Detect Spec ID# Parameter Description Min Typ Max Units SID261 VFALLPPOR BOD trip voltage in Active and Sleep modes 1.64 – – V SID262 VFALLDPSLP BOD trip voltage in Deep-Sleep mode 1.4 – – V Min Typ Max Units 1.1 – – V Min Typ Max Units Details/ Conditions Table 42. Hibernate Reset Spec ID# SID263 Parameter VHBRTRIP Description BOD trip voltage in Hibernate mode Details/ Conditions Voltage Monitors Table 43. Voltage Monitor DC Specifications Spec ID Parameter Description SID265 VLVI1 LVI_A/D_SEL[3:0] = 0000b 1.71 1.75 1.79 V SID266 VLVI2 LVI_A/D_SEL[3:0] = 0001b 1.76 1.80 1.85 V SID267 VLVI3 LVI_A/D_SEL[3:0] = 0010b 1.85 1.90 1.95 V SID268 VLVI4 LVI_A/D_SEL[3:0] = 0011b 1.95 2.00 2.05 V SID269 VLVI5 LVI_A/D_SEL[3:0] = 0100b 2.05 2.10 2.15 V SID270 VLVI6 LVI_A/D_SEL[3:0] = 0101b 2.15 2.20 2.26 V SID271 VLVI7 LVI_A/D_SEL[3:0] = 0110b 2.24 2.30 2.36 V SID272 VLVI8 LVI_A/D_SEL[3:0] = 0111b 2.34 2.40 2.46 V SID273 VLVI9 LVI_A/D_SEL[3:0] = 1000b 2.44 2.50 2.56 V SID274 VLVI10 LVI_A/D_SEL[3:0] = 1001b 2.54 2.60 2.67 V SID275 VLVI11 LVI_A/D_SEL[3:0] = 1010b 2.63 2.70 2.77 V SID276 VLVI12 LVI_A/D_SEL[3:0] = 1011b 2.73 2.80 2.87 V SID277 VLVI13 LVI_A/D_SEL[3:0] = 1100b 2.83 2.90 2.97 V SID278 VLVI14 LVI_A/D_SEL[3:0] = 1101b 2.93 3.00 3.08 V SID279 VLVI15 LVI_A/D_SEL[3:0] = 1110b 3.12 3.20 3.28 V SID280 VLVI16 LVI_A/D_SEL[3:0] = 1111b 4.39 4.50 4.61 V SID281 LVI_IDD Block current – – 100 µA Min Typ Max Units – – 1 µs Details/ Conditions Table 44. Voltage Monitor AC Specifications Spec ID SID282 Parameter TMONTRIP Description Voltage monitor trip time Document Number: 001-90479 Rev. *L Details/ Conditions Page 32 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet SWD Interface Table 45. SWD Interface Specifications Spec ID Parameter Description Min Typ Max Units Details/Conditions SID283 F_SWDCLK1 3.3 V VDD 5.5 V – – 14 MHz SWDCLK ≤ 1/3 CPU clock frequency SID284 F_SWDCLK2 1.71 V VDD 3.3 V – – 7 MHz SWDCLK ≤ 1/3 CPU clock frequency SID285 T_SWDI_SETUP T = 1/f SWDCLK 0.25 × T – – ns SID286 T_SWDI_HOLD 0.25 × T – – ns SID287 T_SWDO_VALID T = 1/f SWDCLK – – 0.5 × T ns SID288 T_SWDO_HOLD T = 1/f SWDCLK 1 – – ns T = 1/f SWDCLK Internal Main Oscillator Table 46. IMO DC Specifications Min Typ Max Units SID289 Spec ID IIMO1 Parameter IMO operating current at 48 MHz Description – – 1000 µA SID290 IIMO2 IMO operating current at 24 MHz – – 325 µA SID291 IIMO3 IMO operating current at 12 MHz – – 225 µA SID292 IIMO4 IMO operating current at 6 MHz – – 180 µA SID293 IIMO5 IMO operating current at 3 MHz – – 150 µA Min Typ Max Units Details/Conditions Table 47. IMO AC Specifications Spec ID Parameter Description Details/Conditions SID296 FIMOTOL3 Frequency variation from 3 to 48 MHz – – ±2 % SID297 FIMOTOL3 IMO startup time – – 12 µs Min Typ Max Units Details/Conditions – 0.3 1.05 µA Guaranteed by design Min Typ Max Units Details/Conditions With API-called calibration Internal Low-Speed Oscillator Table 48. ILO DC Specifications Spec ID SID298 Parameter IILO2 Description ILO operating current at 32 kHz Table 49. ILO AC Specifications Spec ID Parameter Description SID299 TSTARTILO1 ILO startup time – – 2 ms SID300 FILOTRIM1 32-kHz trimmed frequency 15 32 50 kHz Document Number: 001-90479 Rev. *L Page 33 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 50. External Clock Specifications Spec ID Parameter Description Min Typ Max Units Details/Conditions SID301 ExtClkFreq External clock input frequency 0 – 48 MHz CMOS input level only SID302 ExtClkDuty Duty cycle; Measured at VDD/2 45 – 55 % CMOS input level only Min Typ Max Units Details/Conditions Table 51. UDB AC Specifications Spec ID Parameter Description Data Path performance SID303 FMAX-TIMER Max frequency of 16-bit timer in a UDB pair – – 48 MHz SID304 FMAX-ADDER Max frequency of 16-bit adder in a UDB pair – – 48 MHz SID305 FMAX_CRC Max frequency of 16-bit CRC/PRS in a UDB pair – – 48 MHz Max frequency of 2-pass PLD function in a UDB pair – – 48 MHz PLD Performance in UDB SID306 FMAX_PLD Clock to Output Performance SID307 TCLK_OUT_UDB1 Prop. delay for clock in to data out at 25 °C, Typical – 15 – ns SID308 TCLK_OUT_UDB2 Prop. delay for clock in to data out, Worst case – 25 – ns Description Min Typ Max Units Table 52. BLE Subsystem Spec ID# Parameter Details/ Conditions RF Receiver Specification SID340 RXS, IDLE RX sensitivity with idle transmitter – –89 – dBm – –91 – dBm SID341 RXS, DIRTY RX sensitivity with idle transmitter excluding Balun loss RX sensitivity with dirty transmitter – –87 –70 dBm SID342 RXS, HIGHGAIN RX sensitivity in high-gain mode with idle transmitter – –91 – dBm SID343 PRXMAX Maximum input power –10 –1 – dBm SID344 CI1 Cochannel interference, Wanted signal at –67 dBm and Interferer at FRX – 9 21 dB SID345 CI2 Adjacent channel interference Wanted signal at –67 dBm and Interferer at FRX ±1 MHz – 3 15 dB RF-PHY Specification (RCV-LE/CA/03/C) SID346 CI3 Adjacent channel interference Wanted signal at –67 dBm and Interferer at FRX ±2 MHz – –29 – dB RF-PHY Specification (RCV-LE/CA/03/C) SID340A Document Number: 001-90479 Rev. *L Guaranteed by design simulation RF-PHY Specification (RCV-LE/CA/01/C) RF-PHY Specification (RCV-LE/CA/06/C) RF-PHY Specification (RCV-LE/CA/03/C) Page 34 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 52. BLE Subsystem (continued) Spec ID# Parameter Description Min Typ Max Units Details/ Conditions SID347 CI4 Adjacent channel interference Wanted signal at –67 dBm and Interferer at ≥FRX ±3 MHz – –39 – dB RF-PHY Specification (RCV-LE/CA/03/C) SID348 CI5 Adjacent channel interference Wanted Signal at –67 dBm and Interferer at Image frequency (FIMAGE) – –20 – dB RF-PHY Specification (RCV-LE/CA/03/C) SID349 CI3 – –30 – dB RF-PHY Specification (RCV-LE/CA/03/C) SID350 OBB1 Adjacent channel interference Wanted signal at –67 dBm and Interferer at Image frequency (FIMAGE ± 1 MHz) Out-of-band blocking, Wanted signal at –67 dBm and Interferer at F = 30–2000 MHz –30 –27 – dBm RF-PHY Specification (RCV-LE/CA/04/C) SID351 OBB2 Out-of-band blocking, Wanted signal at –67 dBm and Interferer at F = 2003–2399 MHz –35 –27 – dBm RF-PHY Specification (RCV-LE/CA/04/C) SID352 OBB3 Out-of-band blocking, Wanted signal at –67 dBm and Interferer at F = 2484–2997 MHz –35 –27 – dBm RF-PHY Specification (RCV-LE/CA/04/C) SID353 OBB4 Out-of-band blocking, Wanted signal a –67 dBm and Interferer at F = 3000–12750 MHz –30 –27 – dBm RF-PHY Specification (RCV-LE/CA/04/C) SID354 IMD –50 – – dBm RF-PHY Specification (RCV-LE/CA/05/C) SID355 RXSE1 Intermodulation performance Wanted signal at –64 dBm and 1-Mbps BLE, third, fourth, and fifth offset channel Receiver spurious emission 30 MHz to 1.0 GHz – – –57 dBm SID356 RXSE2 – – –47 dBm 100-kHz measurement bandwidth ETSI EN300 328 V1.8.1 1-MHz measurement bandwidth ETSI EN300 328 V1.8.1 Receiver spurious emission 1.0 GHz to 12.75 GHz RF Transmitter Specifications SID357 TXP, ACC RF power accuracy – ±1 – dB SID358 TXP, RANGE RF power control range – 20 – dB SID359 TXP, 0dBm – 0 – dBm SID360 TXP, MAX – 3 – dBm SID361 TXP, MIN – –18 – dBm SID362 F2AVG 185 – – kHz SID363 F1AVG 225 250 275 kHz SID364 EO Output power, 0-dB Gain setting (PA7) Output power, maximum power setting (PA10) Output power, minimum power setting (PA1) Average frequency deviation for 10101010 pattern Average frequency deviation for 11110000 pattern Eye opening = ∆F2AVG/∆F1AVG 0.8 – – Document Number: 001-90479 Rev. *L RF-PHY Specification (TRM-LE/CA/05/C) RF-PHY Specification (TRM-LE/CA/05/C) RF-PHY Specification (TRM-LE/CA/05/C) Page 35 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 52. BLE Subsystem (continued) Spec ID# Parameter Description Min Typ Max Units Details/ Conditions SID365 FTX, ACC Frequency accuracy –150 – 150 kHz SID366 FTX, MAXDR Maximum frequency drift –50 – 50 kHz SID367 FTX, INITDR Initial frequency drift –20 – 20 kHz SID368 FTX, DR Maximum drift rate –20 – 20 SID369 IBSE1 – – –20 SID370 IBSE2 – – -30 dBm SID371 TXSE1 – – -55.5 dBm SID372 TXSE2 In-band spurious emission at 2-MHz offset In-band spurious emission at ≥3-MHz offset Transmitter spurious emissions (average), <1.0 GHz Transmitter spurious emissions (average), >1.0 GHz kHz/ 50 µs dBm RF-PHY Specification (TRM-LE/CA/06/C) RF-PHY Specification (TRM-LE/CA/06/C) RF-PHY Specification (TRM-LE/CA/06/C) RF-PHY Specification (TRM-LE/CA/06/C) RF-PHY Specification (TRM-LE/CA/03/C) RF-PHY Specification (TRM-LE/CA/03/C) FCC-15.247 – – -41.5 dBm FCC-15.247 RF Current Specifications SID373 IRX Receive current in normal mode – 18.7 – mA SID373A IRX_RF Radio receive current in normal mode – 16.4 – mA SID374 IRX, HIGHGAIN Receive current in high-gain mode – 21.5 – mA SID375 ITX, 3dBm TX current at 3-dBm setting (PA10) – 20 – mA SID376 ITX, 0dBm TX current at 0-dBm setting (PA7) – 16.5 – mA SID376A ITX_RF, 0dBm – 15.6 – mA Measured at VDDR SID376B ITX_RF, 0dBm – 14.2 – mA Guaranteed by design simulation SID377 ITX,-3dBm Radio TX current at 0 dBm setting (PA7) Radio TX current at 0 dBm excluding Balun loss TX current at –3-dBm setting (PA4) – 15.5 – mA SID378 ITX,-6dBm TX current at –6-dBm setting (PA3) – 14.5 – mA SID379 ITX,-12dBm TX current at –12-dBm setting (PA2) – 13.2 – mA SID380 ITX,-18dBm TX current at –18-dBm setting (PA1) – 12.5 – mA SID380A Iavg_1sec, 0dBm Average current at 1-second BLE connection interval – 18.9 – µA SID380B Iavg_4sec, 0dBm Average current at 4-second BLE connection interval – 6.25 – µA 2400 – 2482 MHz Measured at VDDR TXP: 0 dBm; ±20-ppm master and slave clock accuracy. For empty PDU exchange TXP: 0 dBm; ±20-ppm master and slave clock accuracy. For empty PDU exchange General RF Specifications SID381 FREQ RF operating frequency SID382 CHBW Channel spacing – 2 – MHz SID383 DR On-air data rate – 1000 – kbps Document Number: 001-90479 Rev. *L Page 36 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 52. BLE Subsystem (continued) Spec ID# Parameter Description Min Typ Max Units SID384 IDLE2TX BLE.IDLE to BLE. TX transition time – 120 140 µs SID385 IDLE2RX BLE.IDLE to BLE. RX transition time – 75 120 µs Details/ Conditions RSSI Specifications SID386 RSSI, ACC RSSI accuracy – ±5 – dB SID387 RSSI, RES RSSI resolution – 1 – dB SID388 RSSI, PER RSSI sample period – 6 – µs Table 53. ECO Specifications Spec ID# Parameter Description Min Typ Max Units – 24 – MHz –50 – 50 ppm SID389 FECO Crystal frequency SID390 FTOL Frequency tolerance SID391 ESR Equivalent series resistance – – 60 Ω SID392 PD Drive level – – 100 µW SID393 TSTART1 Startup time (Fast Charge on) – – 850 µs SID394 TSTART2 Startup time (Fast Charge off) – – 3 ms SID395 CL Load capacitance – 8 – pF SID396 C0 Shunt capacitance – 1.1 – pF SID397 IECO Operating current – 1400 – µA Min Typ Max Units Details/ Conditions Includes LDO+BG current Table 54. WCO Specifications Spec ID# Parameter Description SID398 FWCO Crystal frequency – 32.768 – kHz SID399 FTOL Frequency tolerance – 50 – ppm SID400 ESR Equivalent series resistance – 50 – kΩ SID401 PD Drive level – – 1 µW SID402 TSTART Startup time – – 500 ms SID403 CL Crystal load capacitance 6 – 12.5 pF SID404 C0 Crystal shunt capacitance – 1.35 – pF SID405 IWCO1 Operating current (High-Power mode) – – 8 µA SID406 IWCO2 Operating current (low-power mode) SID406A Document Number: 001-90479 Rev. *L Details/ Conditions – – 1 µA 85 °C – – 2.6 µA 105 °C Page 37 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Ordering Information The PSoC 4XX7_BLE part numbers and features are listed in the following table. 2 – CY8C4127LQI-BL453 24 ✔ 128 16 – 2 ✔ CY8C4127LQI-BL483 24 ✔ 128 16 – 2 ✔ CY8C4127LQI-BL493 24 ✔ 128 16 – 2 CY8C4127FNI-BL483(T) 24 ✔ 128 16 – CY8C4127FNI-BL493(T) 24 ✔ 128 16 CY8C4247LQI-BL473 48 ✔ 128 16 CY8C4247LQI-BL453 48 ✔ 128 CY8C4247LQI-BL463 48 ✔ CY8C4247LQI-BL483 48 CY8C4247LQI-BL493 48 CY8C4247FNI-BL483(T) CY8C4247FNI-BL493(T) PWMs (using UDBs) CapSense – 806 ksps 2 4 2 – – 806 ksps 2 4 2 – ✔ 806 ksps 2 4 2 ✔ ✔ ✔ 806 ksps 2 4 2 2 ✔ – ✔ 806 ksps 2 4 2 – 2 ✔ ✔ ✔ 806 ksps 2 4 2 4 4 – – – 1 Msps 2 4 2 4 ✔ 16 4 4 ✔ – – 1 Msps 2 4 2 4 ✔ 36 56-QFN 128 16 4 4 – – ✔ 1 Msps 2 4 2 4 ✔ 36 56-QFN ✔ 128 16 4 4 ✔ – ✔ 1 Msps 2 4 2 4 ✔ 36 56-QFN ✔ 128 16 4 4 ✔ ✔ ✔ 1 Msps 2 4 2 4 ✔ 36 56-QFN 48 ✔ 128 16 4 4 ✔ – ✔ 1 Msps 2 4 2 4 ✔ 36 68-WLCSP 48 ✔ 128 16 4 4 ✔ ✔ ✔ 1 Msps 2 4 2 4 ✔ 36 68-WLCSP CY8C4247FNQ-BL483[6] 48 ✔ 128 16 4 4 ✔ – ✔ 1 Msps 2 4 2 4 ✔ 36 68-WLCSP CY8C4247LQQ-BL483[6] 48 ✔ 128 16 4 4 ✔ – ✔ 1 Msps 2 4 2 4 ✔ 36 56-QFN 48 ✔ 128 16 4 4 ✔ ✔ ✔ 1 Msps 2 4 2 4 ✔ 36 68-Thin WLCSP CY8C4247FLI-BL493 [6] Not Applicable Package – GPIO – MPN[5] I2S (using UDB) SCB Blocks Opamp (CTBm) 16 TCPWM Blocks UDB 128 LP Comparators SRAM (KB) ✔ 12-bit SAR ADC Flash (KB) 24 Direct LCD Drive BLE subsystem CY8C4127LQI-BL473 TMG (Gestures) Max CPU Speed (MHz) PSoC 4 BLE: CY8C42xx PSoC 4 BLE: CY8C41XX Family Features 36 56-QFN 36 56-QFN 36 56-QFN 36 56-QFN 36 68-WLCSP 36 68-WLCSP 36 56-QFN Notes 5. Parts with a “T” suffix are tape and reel MPNs. 6. These parts are available as Engineering Samples. Document Number: 001-90479 Rev. *L Page 38 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Part Numbering Conventions PSoC 4 devices follow the part numbering convention described in the following table. All fields are single-character alphanumeric (0, 1, 2, …, 9, A,B, …, Z) unless stated otherwise. The part numbers are of the form CY8C4ABCDEF-XYZ where the fields are defined as follows. Example CY8C 4 A B C D E F - X Y Z Cypress Prefix CY8 C 4 : PSoC4 Architecture Family within Architecture 2 : 4200 Family Speed Grade 4 : 48 MHz 7 : 128 KB Flash Capacity LQ : QFN FL : Thin WLCSP Package Code I: Industrial Q: Extended Industrial Temperature Range Attributes Code B483: Attributes The Field Values are listed in the following table. Field CY8C 4 A Description Values Cypress Prefix Architecture Family within architecture B CPU Speed C Flash Capacity DE Package Code 4 PSoC 4 1 4100-BLE Family 2 4200-BLE Family 2 24 MHz 4 48 MHz 7 128 KB FN WLCSP LQ QFN FL F XYZ Meaning Temperature Range Attributes Code Document Number: 001-90479 Rev. *L I Q 000-999 Thin WLCSP Industrial 85 °C Extended Industrial 105 °C Code of feature set in specific family Page 39 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Packaging Table 55. Package Characteristics Parameter TA TJ TJA TJC TJA TJC TJA TJC Description Operating ambient temperature Operating junction temperature Package JA (56-pin QFN) Package JC (56-pin QFN) Package JA (68-ball WLCSP) Package JC (68-ball WLCSP) Package JA (68-ball Thin WLCSP) Package JC (68-ball Thin WLCSP) Conditions Min –40 –40 – – – – – – Typ 25.00 – 16.9 9.7 16.6 0.19 16.6 0.19 Max 105 125 – – – – – – Units °C °C °C/watt °C/watt °C/watt °C/watt °C/watt °C/watt Table 56. Solder Reflow Peak Temperature Maximum Peak Temperature 260 °C 260 °C 260 °C Package 56-pin QFN 68-ball WLCSP 68-ball Thin WLCSP Maximum Time at Peak Temperature 30 seconds 30 seconds 30 seconds Table 57. Package Moisture Sensitivity Level (MSL), IPC/JEDEC J-STD-2 Package 56-pin QFN 68-ball WLCSP 68-ball Thin WLCSP MSL MSL 3 MSL 1 MSL 1 Table 58. Package Details Spec ID 001-58740 Rev. *C 001-92343 Rev. *A 001-99408 Rev ** Package 56-pin QFN 68-ball WLCSP 68-ball Thin WLCSP Document Number: 001-90479 Rev. *L Description 7.0 mm × 7.0 mm × 0.6 mm 3.52 mm × 3.91 mm × 0.55 mm 3.52 mm X 3.91 mm X 0.4 mm Page 40 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Figure 8. 56-Pin QFN 7 mm × 7 mm × 0.6 mm TOP VIEW SIDE VIEW BOTTOM VIEW NOTES: 1. HATCH AREA IS SOLDERABLE EXPOSED PAD 2. BASED ON REF JEDEC # MO-248 001-58740 *C 3. ALL DIMENSIONS ARE IN MILLIMETERS The center pad on the QFN package must be connected to ground (VSS) for the proper operation of the device. Figure 9. 68-Ball WLCSP Package Outline 001-92343 *A Document Number: 001-90479 Rev. *L Page 41 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Figure 10. 68-Ball Thin WLCSP SIDE VIEW TOP VIEW 1 2 3 4 5 6 7 8 A BOTTOM VIEW 8 7 6 5 4 3 2 1 A B B C C D D E E F F G G H H J J NOTES: 1. REFERENCE JEDEC PUBLICATION 95, DESIGN GUIDE 4.18 2. ALL DIMENSIONS ARE IN MILLIMETERS Document Number: 001-90479 Rev. *L 001-99408 ** Page 42 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Acronyms Table 59. Acronyms Used in this Document Acronym Description ABUS analog local bus ADC analog-to-digital converter AG analog global AHB AMBA (advanced microcontroller bus architecture) high-performance bus, an ARM data transfer bus Table 59. Acronyms Used in this Document (continued) Acronym Description ETM embedded trace macrocell FET field-effect transistor FIR finite impulse response, see also IIR FPB flash patch and breakpoint FS full-speed GPIO general-purpose input/output, applies to a PSoC pin ALU arithmetic logic unit AMUXBUS analog multiplexer bus HCI host controller interface API application programming interface HVI high-voltage interrupt, see also LVI, LVD APSR application program status register IC integrated circuit ARM® advanced RISC machine, a CPU architecture IDAC current DAC, see also DAC, VDAC ATM automatic thump mode IDE integrated development environment Inter-Integrated Circuit, a communications protocol BW bandwidth I2C, or IIC CAN Controller Area Network, a communications protocol IIR infinite impulse response, see also FIR CMRR common-mode rejection ratio ILO internal low-speed oscillator, see also IMO CPU central processing unit IMO internal main oscillator, see also ILO CRC cyclic redundancy check, an error-checking protocol INL integral nonlinearity, see also DNL I/O input/output, see also GPIO, DIO, SIO, USBIO DAC digital-to-analog converter, see also IDAC, VDAC IPOR initial power-on reset DFB digital filter block IPSR interrupt program status register DIO digital input/output, GPIO with only digital capabilities, no analog. See GPIO. IRQ interrupt request DMIPS Dhrystone million instructions per second ITM instrumentation trace macrocell DMA direct memory access, see also TD LCD liquid crystal display DNL differential nonlinearity, see also INL LIN Local Interconnect Network, a communications protocol. DNU do not use LR link register DR port write data registers LUT lookup table DSI digital system interconnect LVD low-voltage detect, see also LVI DWT data watchpoint and trace LVI low-voltage interrupt, see also HVI ECC error correcting code LVTTL low-voltage transistor-transistor logic ECO external crystal oscillator MAC multiply-accumulate EEPROM electrically erasable programmable read-only memory MCU microcontroller unit EMI electromagnetic interference EMIF external memory interface EOC end of conversion EOF end of frame EPSR execution program status register ESD electrostatic discharge Document Number: 001-90479 Rev. *L MISO master-in slave-out NC no connect NMI nonmaskable interrupt NRZ non-return-to-zero NVIC nested vectored interrupt controller NVL nonvolatile latch, see also WOL Page 43 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Table 59. Acronyms Used in this Document (continued) Acronym Description Table 59. Acronyms Used in this Document (continued) Acronym Description Opamp operational amplifier SRES software reset PAL programmable array logic, see also PLD STN super twisted nematic PC program counter SWD serial wire debug, a test protocol PCB printed circuit board SWV single-wire viewer PGA programmable gain amplifier TD transaction descriptor, see also DMA PHUB peripheral hub THD total harmonic distortion PHY physical layer TIA transimpedance amplifier PICU port interrupt control unit TN twisted nematic PLA programmable logic array TRM technical reference manual PLD programmable logic device, see also PAL TTL transistor-transistor logic PLL phase-locked loop TX transmit PMDD package material declaration data sheet UART POR power-on reset Universal Asynchronous Transmitter Receiver, a communications protocol PRES precise power-on reset UDB universal digital block PRS pseudo random sequence PS port read data register PSoC® Programmable System-on-Chip™ PSRR power supply rejection ratio PWM pulse-width modulator RAM random-access memory RISC reduced-instruction-set computing RMS root-mean-square RTC real-time clock RTL register transfer language RTR remote transmission request RX receive SAR successive approximation register SC/CT switched capacitor/continuous time SCL I2C serial clock SDA I2C serial data S/H sample and hold SINAD signal to noise and distortion ratio SIO special input/output, GPIO with advanced features. See GPIO. SOC start of conversion SOF start of frame SPI Serial Peripheral Interface, a communications protocol SR slew rate SRAM static random access memory Document Number: 001-90479 Rev. *L USB Universal Serial Bus USBIO USB input/output, PSoC pins used to connect to a USB port VDAC voltage DAC, see also DAC, IDAC WDT watchdog timer WOL write once latch, see also NVL WRES watchdog timer reset XRES external reset I/O pin XTAL crystal Page 44 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Document Conventions Units of Measure Table 60. Units of Measure Symbol Unit of Measure °C degrees Celsius dB decibel dBm decibel-milliwatts fF femtofarads Hz hertz KB 1024 bytes kbps kilobits per second Khr kilohour kHz kilohertz k kilo ohm ksps kilosamples per second LSB least significant bit Mbps megabits per second MHz megahertz M mega-ohm Msps megasamples per second µA microampere µF microfarad µH microhenry µs microsecond µV microvolt µW microwatt mA milliampere ms millisecond mV millivolt nA nanoampere ns nanosecond nV nanovolt ohm pF picofarad ppm parts per million ps picosecond s second sps samples per second sqrtHz square root of hertz V volt Document Number: 001-90479 Rev. *L Page 45 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet Revision History Description Title: PSoC® 4: PSoC 4XX7_BLE Family Datasheet Programmable System-on-Chip (PSoC®) Document Number: 001-90479 Orig. of Submission Revision ECN Description of Change Change Date *F 4567076 WKA 11/11/2014 Initial release *G 4600081 SKAR 12/19/2014 Change in LPCOMP block current (SID148, 149) in normal and low-power mode Revision of I2C/ UART block current consumption to align with CHAR data Revision of LCD Direct Drive - operating current in low-power mode to align with CHAR data Revision of BLE RF Average Current Spec for 4-sec BLE connection interval to 6.25 µA to align with CHAR data Revision of RXS with idle transmitter, with balun loss and in high-gain mode to align with CHAR data Clarified the IECO operating current to reflect crystal current - LDO and Bandgap current as well Revision of SID#141 Input Offset Voltage, Custom Trim, to align with CHAR data Revision of SID#118 CMRR, to align with CHAR data Corrected Typo for SID#245 (CPU -> SCB) Corrected Typo for SID#275 *H 4779453 HXR *I 4810822 GCG *J 4895703 WKA/ UTSV *K *L 5094462 5179068 RLOS MARW Document Number: 001-90479 Rev. *L Removed errata 05/28/2015 Removed min and max values for SID359 and SID360. Removed max value and added typ value for SID357. 06/29/2015 Updated Figure 3 for uniformity Updated Figure 7 with a higher resolution image Removed EZSPI reference. Updated 56-pin QFN package diagram to correct the orientation of text. 08/25/2015 Changed temperature range from –40 °C to 85 °C to –40 °C to 105 °C. Removed note on hardware handshaking in the “UART Mode” section. Added ‘overvoltage-tolerant’ description to pins 7 and 8 in Table 1. Added clarifying note on overvoltage-tolerant pins for SID76. Updated max values in Timer, Counter, and PWM DC specifications for 105 °C. Added SID257A in Flash AC Specifications. Added Guaranteed by Design note to SID 298. Added SID406A for 105 °C. Added CY8C4247FNQ-BL483 and CY8C4247LQQ-BL483 parts in Ordering Information. Added extended industrial temperature range in the Field Values table. Updated TJ max temperature to 125 °C. Added thin WLCSP (CYBL10563-68FLXIT) details in Ordering Information and Packaging sections 01/20/2016 Added More Information and PSoC Creator sections. 04/12/2016 Updated Conditions for SID141A, SID145, SID150, and SID154. Page 46 of 47 PSoC® 4: PSoC 4XX7_BLE Family Datasheet 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. PSoC®Solutions Products ARM® Cortex® Microcontrollers Automotive cypress.com/arm cypress.com/automotive Clocks & Buffers Interface Lighting & Power Control Memory cypress.com/clocks cypress.com/interface cypress.com/powerpsoc cypress.com/memory PSoC Cypress Developer Community Forums | Projects | Video | Blogs | Training | Components Technical Support cypress.com/support cypress.com/psoc Touch Sensing cypress.com/touch USB Controllers Wireless/RF PSoC 1 | PSoC 3 | PSoC 4 | PSoC 5LP cypress.com/usb cypress.com/wireless © Cypress Semiconductor Corporation 2013-2016. 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, 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. Document Number: 001-90479 Rev. *L Revised April 12, 2016 Page 47 of 47