You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
zhaohe 0d76dea923 支持SN码写入 1 year ago
.vscode dfu demo test ok 1 year ago
app 支持SN码写入 1 year ago
bin2 支持SN码写入 1 year ago
ble_app_uart_c 数据上传OK 1 year ago
bootloader update 1 year ago
bootloader_security update 1 year ago
ify_hrs_protocol@b93a5139c4 update 1 year ago
libznordic@3dcb69f89f update 1 year ago
res 完成显示基本组件 1 year ago
sample_bin_parser update 1 year ago
sdk@80adec4d07 update 1 year ago
.clang-format format code 1 year ago
.gitignore format code 1 year ago
.gitmodules update 1 year ago
1.c 9.2.1 3-LeadECGApplication OK 1 year ago
README.md 支持SN码写入 1 year ago
SSD1312_Datasheet (1).pdf update 1 year ago
TXW64128-41-TSWG13P096G-A-VER1.0.pdf update 1 year ago
ads1293.pdf update 1 year ago
m24m02-dr.pdf 完成单导底层驱动程序 1 year ago
nRF52833_PS_v1.6.pdf 支持SN码写入 1 year ago
test.txt update 1 year ago

README.md

conduction1_dynamic_electrocardiograph

使用说明

TODO:
        1. 所有的文件操作如果失败系统会自动复位。(通过ZASSERT触发的复位操作)
        2. 电池电量校准
设备行为:

开机条件
        1.轻按按键

关机条件
        1.长按按键3秒
        2.蓝牙连接断开后10秒

开机:
        1.打开蓝牙广播
        2.指示灯闪烁1s慢闪,蓝牙连接后指示灯常亮。

关机:
        1.关闭蓝牙广播

开始采集触发条件
        1.设备开机
        2.APP控制
        3.当前没有在充电(硬件限制了此条件)


蜂鸣器触发条件:
        1. 开始采集,蜂鸣器响一声
        2. 传感器脱落,每隔10秒,蜂鸣器响三声,


1. 打包整体无线升级镜像

2. 通过nrfutil生成新固件对应的zip包


写寄存器值
nrfjprog -f nrf52 --memwr 0x10001014 --val 0x000763c8
其中0x000763c8为要写的值
 0x10001014为寄存器地址

读取对应寄存器的值:
nrfjprog --memrd 0x4000051c -f NRF52



0x10001000UL
0x00000080
0x10001080


nrfjprog -f nrf52 --memwr 0x10001080 --val 0x000000FF