English
Language : 

AN91267 Datasheet, PDF (1/62 Pages) Ramtron International Corporation – Getting Started with PSoC
Getting Started with PSoC® 4 BLE
AN91267
Author: Krishnaprasad M V (KRIS)
Associated PSoC Creator™ Project: Yes
Associated Part Family: CY8C41x7-BL, CY8C42x7-BL, CY8C41x8-BL, CY8C42x8-BL
Software Version: PSoC Creator 3.2
Related Application Notes: For a complete list of the application notes, click here.
To get the latest version of this application note, please visit
http://www.cypress.com/go/AN91267.
AN91267 introduces you to PSoC® 4 BLE, an ARM® Cortex™-M0 based Programmable System-on-Chip (PSoC) that
integrates a Bluetooth Low Energy (BLE) radio system. This application note helps you explore the PSoC 4 BLE
architecture and development tools and shows how easily you can create a BLE design using PSoC Creator™, the
development tool for PSoC 4 BLE. It also guides you to more resources to accelerate in-depth learning about PSoC 4
BLE.
Contents
Introduction .......................................................................2
PSoC Resources...............................................................2
PSoC Creator ...............................................................3
PSoC Creator Help.......................................................3
Code Examples ............................................................4
PSoC 4 BLE Features .......................................................5
BLE Overview ...................................................................6
BLE Link Establishment................................................7
GATT Data Format.......................................................8
BLE Profile ...................................................................9
BLE Component .........................................................10
PSoC 4 BLE Development Setup....................................12
My First PSoC 4 BLE Design ..........................................14
About the Design........................................................14
Prerequisites ..............................................................14
Part 1: Configure the Design ......................................15
Part 2: Write the Firmware..........................................26
Part 3: Program the Device ........................................32
Part 4: Test Your Design ............................................34
Summary ......................................................................... 37
Related Application Notes ...............................................38
Appendix A: BLE Device Family Comparison .................39
Appendix B: Cypress Terms of Art ..................................41
Appendix C: Cypress BLE Development Tools ...............42
CySmart Host Emulation Tool ....................................42
CySmart Mobile App ..................................................44
Appendix D: PSoC 4 BLE Device....................................45
Bluetooth Low Energy Subsystem (BLESS)...............45
ARM Cortex-M0 and Memory.....................................46
Programmable Digital Peripherals..............................46
Programmable Analog................................................47
System-Wide Resources............................................49
Programmable GPIOs ................................................ 51
Appendix E: BLE Protocol ............................................... 52
Overview ....................................................................52
Physical Layer (PHY) ................................................. 52
Link Layer (LL) ........................................................... 52
Host Control Interface (HCI) ....................................... 53
Logical Link Control and Adaptation Protocol (L2CAP)
................................................................................... 53
Security Manager (SM) .............................................. 54
Attribute Protocol (ATT)..............................................54
Generic Attribute Profile (GATT) ................................ 58
Generic Access Profile (GAP) .................................... 58
Worldwide Sales and Design Support.............................62
www.cypress.com
Document No. 001-91267 Rev. *D
1