DA14580 FINAL Bluetooth Low Energy 4.2 SoC 42 kB System SRAM General Description 84 kB ROM The DA14580 integrated circuit has a fully integrated 8 kB Retention SRAM radio transceiver and baseband processor for Blue- Power management tooth low energy. It can be used as a standalone Integrated Buck/Boost DC-DC converter application processor or as a data pump in hosted sys- P0, P1, P2 and P3 ports with 3.3 V tolerance tems. Easy decoupling of only 4 supply pins The DA14580 supports a flexible memory architecture Supports coin (typ. 3.0 V) and alkaline (typ. 1.5 V) for storing Bluetooth profiles and custom application battery cells code, which can be updated over the air (OTA). The 10-bit ADC for battery voltage measurement qualified Bluetooth low energy protocol stack is stored Digital controlled oscillators in a dedicated ROM. All software runs on the ARM 16 MHz crystal (20 ppm max) and RC oscillator Cortex -M0 processor via a simple scheduler. 32 kHz crystal (50 ppm, 500 ppm max) and RCX oscillator The Bluetooth low energy firmware includes the General purpose, Capture and Sleep timers L2CAP service layer protocols, Security Manager Digital interfaces (SM), Attribute Protocol (ATT), the Generic Attribute General purpose I/Os: 14 (WLCSP34 package), Profile (GATT) and the Generic Access Profile (GAP). 24 (QFN40 package), 32 (QFN48 package) All profiles published by the Bluetooth SIG as well as 2 UARTs with hardware flow control up to 1 MBd custom profiles are supported. SPI+ interface The transceiver interfaces directly to the antenna and I2C bus at 100 kHz, 400 kHz is fully compliant with the Bluetooth 4.2 standard. 3-axes capable Quadrature Decoder Analog interfaces The DA14580 has dedicated hardware for the Link 4-channel 10-bit ADC Layer implementation of Bluetooth low energy and Radio transceiver interface controllers for enhanced connectivity capabili- Fully integrated 2.4 GHz CMOS transceiver ties. Single wire antenna: no RF matching or RX/TX switching required Features Supply current at VBAT3V: Complies with Bluetooth V4.2, ETSI EN 300 328 and TX: 3.4 mA, RX: 3.7 mA (with ideal DC-DC) EN 300 440 Class 2 (Europe), FCC CFR47 Part 15 0 dBm transmit output power (US) and ARIB STD-T66 (Japan) -20 dBm output power in Near Field Mode Processing power -93 dBm receiver sensitivity 16 MHz 32 bit ARM Cortex-M0 with SWD inter- Packages: face WLCSP 34 pins, 2.436 mm x 2.436 mm Dedicated Link Layer Processor QFN 40 pins, 5 mm x 5 mm AES-128 bit encryption Processor QFN 48 pins, 6 mm x 6 mm Memories KGD (wafer, dice) 32 kB One-Time-Programmable (OTP) memory System Diagram Datasheet Revision 3.4 09-Nov-2016 CFR0011-120-01 1 of 234 2014 Dialog SemiconductorDA14580 FINAL Bluetooth Low Energy 4.2 SoC Contents General Description . 1 11.4 GENERAL CLOCK CONSTRAINTS . 32 Features . 1 12 OTP Controller 33 12.1 OPERATING MODES 33 System Diagram 1 12.2 AHB MASTER INTERFACE . 33 Contents . 2 13 I2C Interface 34 1 Block Diagram 4 13.1 I2C BUS TERMS 34 2 Pinout . 5 13.1.1 Bus Transfer Terms . 35 13.2 I2C BEHAVIOR . 35 3 Ordering Information 9 13.2.1 START and STOP Generation . 36 4 System Overview . 10 13.2.2 Combined Formats . 36 4.1 INTERNAL BLOCKS 10 13.3 I2C PROTOCOLS . 36 4.2 FUNCTIONAL MODES 10 13.3.1 START and STOP Conditions . 36 4.3 OTP MEMORY LAYOUT .11 13.3.2 Addressing Slave Protocol 36 4.3.1 OTP Header .11 13.3.3 Transmitting and Receiving Protocols . 37 4.4 SYSTEM START PROCEDURE . 12 13.4 MULTIPLE MASTER ARBITRATION 39 4.4.1 Power/Wake-Up Sequence 13 13.5 CLOCK SYNCHRONIZATION . 40 4.4.2 OTP Mirroring 14 13.6 OPERATION MODES 41 4.4.3 BootROM Sequence . 15 13.6.1 Slave Mode Operation . 41 4.5 POWER SUPPLY CONFIGURATION 17 13.6.2 Master Mode Operation 43 4.5.1 Power Domains . 17 13.6.3 Disabling the I2C Controller . 43 4.5.2 Power Modes . 18 14 UART . 44 4.5.3 Retention Registers 18 14.1 UART (RS232) SERIAL PROTOCOL 45 5 Reset . 20 14.2 IRDA 1.0 SIR PROTOCOL 45 5.1 POR, HW AND SW RESET 20 14.3 CLOCK SUPPORT 46 14.4 INTERRUPTS 47 6 ARM Cortex-M0 21 14.5 PROGRAMMABLE THRE INTERRUPT 47 6.1 INTERRUPTS . 22 14.6 SHADOW REGISTERS 49 6.2 SYSTEM TIMER (SYSTICK) 23 14.7 DIRECT TEST MODE 49 6.3 WAKE-UP INTERRUPT CONTROLLER . 23 15 SPI+ Interface 50 6.4 REFERENCE . 23 15.1 OPERATION WITHOUT FIFOS 50 7 AMBA Bus Overview 24 15.2 9 BITS MODE 51 8 Patch Block . 25 16 Quadrature Decoder . 54 9 Memory Map 26 17 Wake-Up Timer . 55 10 Memory Controller 28 18 General Purpose Timers 56 10.1 ARBITRATION . 28 18.1 TIMER 0 56 11 Clock Generation 29 18.2 TIMER 2 58 11.1 CRYSTAL OSCILLATORS 29 19 Watchdog Timer 60 11.1.1 Frequency Control (16 MHz Crystal) 29 20 Keyboard Controller . 61 11.1.2 Automated Trimming Mechanism 29 11.2 RC OSCILLATORS 30 20.1 KEYBOARD SCANNER 61 11.2.1 Frequency Calibration . 30 20.2 GPIO INTERRUPT GENERATOR 61 11.3 SYSTEM CLOCK GENERATION . 31 Datasheet Revision 3.4 09-Nov-2016 CFR0011-120-01 2 of 234 2014 Dialog Semiconductor