In most of the wearable devices, data logging has become an integral part of the system. Along with logging the sensor data, time-stamp information is also logged to keep a track of the data w.r.t. the current time. For such cases, BLE protocol provides a Current Time Service (CTS) to get the current timing information from the mobile device.
In a CTS, a GATT Client, typically a wearable device, gets the current timinig information from a GATT Server, typically a mobile phone, and use this information to synchronize or set the system time.
In today's example, we demonstrate how to implement a Real Time Clock (RTC) using CTS and configurable wathcdog timers of PSoC 4 BLE device. In this example, the PSoC 4 BLE device, acting as the GATT Client, gets the current timing information when connected with the GATT Server and implements the RTC functionlity.
You can download this PSoC Creator example, here from Github: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day033_BLE_RTC
정보원본 : http://www.cypress.com/?rid=110543
위 샘플 그대로 구현한 경우 소비전류 실측.
단위 : uA. 1.3uA 대부분이며 간헐적으로 4.8uA. 평균 1.8uA 이하
본 글이 포함된 통합 정리 장소. 1. MCU : http://igotit.tistory.com/244 |
///256.
'임베디드.일렉트로닉스' 카테고리의 다른 글
pSoC, pRoC CapSense 기본 정보들. (0) | 2015.04.15 |
---|---|
pSoC / pRoC BLE. UART to BLE 브릿지. (0) | 2015.04.12 |
EFM32 WG 의 클럭. (0) | 2015.04.05 |
EFM32 UART(USART) 활용법. (0) | 2015.04.05 |
EFM32 프로젝트 생성 (0) | 2015.04.05 |
댓글