Skip to content

JoshuaGivans-uwo/gliax-ecg-firmware

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gliax-ecg-firmware

Gliax ECG firmware

www.irnas.eu

Compiling the code

Online compiler

Import code from URL (https://github.com/IRNAS/gliax-ecg-firmware). Select platform for which code will be compiled and hit "Compile" button. Online compiler will offer you to save hex file.

mbed-cli

In order to compile the code localy, it is required to install mbed-cli and all dependency tools.
See: https://github.com/ARMmbed/mbed-cli
Then it is required to import code from GitHub:
$ mbed import https://github.com/IRNAS/gliax-ecg-firmware
After import is finished, execute mbed compile command with desired target and tools selected, for example:
$ mbed mbed compile -m SEEED_TINY_BLE -t GCC_ARM
Resulting hex file will be located in folder ./BUILD/SEED_TINY_BLE/GCC_ARM/

Download code to the board

In order to download code to mbed platform, just copy hex file to the MBED drive.

Configuring CP2102N chip

The chip for ECG measurements needs to be turned on by CP2102N. This configuration can be done with Simplicity Studio 4 (https://www.silabs.com/products/development-tools/software/simplicity-studio).

Procedure:

  • connect the board to PC with USB cable
  • open Simplicity Studio and create new project (configure chip CP2102N revision: A02-new or A01-old chip)
  • Open Port configuration: Serial
  • Change pin GPIO5 both modes to Push-Pull and reset Latch to High
  • Press Program to device
  • ECG chip should turn on, which can be seen with LEDs blinking

About

Gliax ECG firmware repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.7%
  • C 3.3%