Cypress Development Tools for BLE

게시자

Awhile ago, Cypress Semiconductor acquired the Broadcom wireless IoT business unit. This move has allowed them to add Bluetooth Low Energy (BLE) solutions integrating an embedded cortex M3 microcontroller to their portfolio. Up to now, Cypress BLE solutions were based on Cortex M0 microcontroller.

What sets Cypress apart from their competition is the ecosystem around their PSOC creator, which is an Integrated Design Environment (IDE) to support PSOC and PROC microcontroller developments. PSOC stands for Programmable System on Chip, while PROC represents Programmable Radio on Chip. In comparison to PROCs, a PSOC integrates comparators, operational amplifiers and some programmable logic. The Bluetooth Low Energy component, however, is the same.

관련 상품 참조

CY8C4247LQI-BL493

Cypress Semiconductor Microcontrollers - MCUs 보기

When developing an application with PSOC creators, designers use a drag-and-drop graphical interface to select and connect pre-defined components. These components are inherently connected to the processor via the main system bus. Double clicking on a component icon allows the designer to access and configure that component's parameters.

0217 Cypress BLE Image 1

In our case, we drag the Bluetooth component and double click on it. A window to configure the component pops up. 

0217 Cypress BLE Image 2

The first tab generally has options to define the requested profile and whether the device will be master or slave in a connection. If the device is programmed as a broadcaster or an observer, the tabs are changed adequately. In most cases, a profile must be programmed in the profile tab where all the services, characteristics, and descriptors are set up. 

0217 Cypress BLE Image 3

The GAP and GATT services are defined automatically since the touch sensor service was programmed. If we want to add a battery service, just add service with the required characteristics and descriptors defined by the SIG. The UUIDs are programmed automatically.

The GAP settings tabs allow you to enter GAP parameters, like device name, all the timing for advertisement, the information in the advertisement packet, the scan response, and the required security. 

0217 Cypress BLE Image 4

The last tab is the L2CAP setting with 2 main parameters:

MPS - maximum payload unit. It gives the maximum data that L2CAP layer can accept from low layers.

MTU - maximum transmission unit. It gives the maximum data the upper layers can accept from L2CAP.

This allows the L2CAP to perform the segmentation and fragmentation. By default, it is 23 as specified in the initial BLE, but it can be programmed with higher value thanks to the updated specifications.

The BLE component has no pin out, so the program can be built to generate APIs. APIs are explained in the datasheet, which you can open directly from the configuration window. Then the C code can be written. Inside a handler, constants and functions are defined. Thanks to this middleware, a Bluetooth application can be written quickly without entering in details of the architecture of a cortex M0 microcontroller.

0217 Cypress BLE Image 5

In order to help in the development of BLE applications, Cypress offers the CY8CKIT-042-BLE Bluetooth low energy Pioneer kit. It integrates an Arduino base with a touch sensor and a socket to plug in the PSOC BLE or the PROC BLE. 

The BLE dongle works in conjunction with a program called CySmart and is the master of the connection. It has a very nice user interface to help you understand all the services of an application and to find any bug quickly as shown below.

0217 Cypress BLE Image 6

최신 뉴스

Sorry, your filter selection returned no results.

개인정보 보호정책이 업데이트되었습니다. 잠시 시간을 내어 변경사항을 검토하시기 바랍니다. 동의를 클릭하면 Arrow Electronics 개인정보 보호정책 및 이용 조건에 동의하는 것입니다.

당사의 웹사이트에서는 사용자의 경험 향상과 사이트 개선을 위해 사용자의 기기에 쿠키를 저장합니다. 당사에서 사용하는 쿠키 및 쿠키 비활성화 방법에 대해 자세히 알아보십시오. 쿠키와 추적 기술은 마케팅 목적으로 사용될 수 있습니다. '동의'를 클릭하면 기기에 쿠키를 배치하고 추적 기술을 사용하는 데 동의하는 것입니다. 쿠키 및 추적 기술을 해제하는 방법에 대한 자세한 내용과 지침을 알아보려면 아래의 '자세히 알아보기'를 클릭하십시오. 쿠키 및 추적 기술 수락은 사용자의 자발적 선택이지만, 웹사이트가 제대로 작동하지 않을 수 있으며 사용자와 관련이 적은 광고가 표시될 수 있습니다. Arrow는 사용자의 개인정보를 존중합니다. 여기에서 당사의 개인정보 보호정책을 읽을 수 있습니다.