Project #026: BLE Data Logging on F-RAM | Cypress Semiconductor
Project #026: BLE Data Logging on F-RAM
In project #025, we demonstrated how you can use Cypress F-RAM as exteral storage memory to perform Over-the-Air BLE firmware upgrades. F-RAM is ideal to store data for such mission-critical applications like firmware bootloading due to its endurance and fast serial interface (100 trillion read/write cycles!)
In today's project, we will demonstrate how you can use F-RAM for data storage of vital information from your wearable products while consuming very little power. Recall, the Cypress F-RAM devices only consume 300-µA of active current and 6-µA of standby current making them ideal for sensor-based wearable electronics.
In this example, we implement a BLE Heart Rate Sensor Profile on the BLE Pioneer Kit, similar to how we did in Project #002. Additionally, the Heart Rate Measurements are stored on the external serial F-RAM device over an I2C interface. Once a BLE connection is established with a GAP Client (e.g. a mobile phone), this project will send the measured heart rate data to the Client via Notifications on a 1-second connection interval. The same data is sent to the F-RAM over I2C for data logging and also to a terminal (COM port) over UART for debugging purposes.
Using this example, you can create projects where the measured sensor data is stored on an external nonVolatile memory in realible way while consuming very little power.
You can download this PSoC Creator project along with a detailed PDF of instructions, here from GitHub: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day026_HRM_DataLogger