Commit Graph

34 Commits

Author SHA1 Message Date
Roy_01 70312cf1f5 note: updated comments 2024-09-25 10:45:15 +08:00
Roy_01 03d53ed0a3 update: updated dev_mode_gpio() code in dev_mode 2024-09-25 10:34:14 +08:00
Roy_01 df280027f0 update: updated dev_mode_electrode_switch() code in dev_mode 2024-09-24 09:45:36 +08:00
Roy_01 9d11067e1d fix: using NFC pins P0.09 and P0.10 as GPIOs 2024-09-23 09:43:05 +08:00
Roy_01 d8b82b6edf fix: replace 'pusle' with 'pulse' 2024-09-12 09:23:24 +08:00
Roy_01 ba55256b91 fix: freq is wrong when use only one electrode 2024-09-11 17:45:52 +08:00
Roy_01 0f105e6166 feat: new start_electrodes_api & stop_electrodes_api 2024-09-10 17:45:03 +08:00
Roy_01 516970a6a5 feat: new current_convert_tw1508() 2024-09-06 16:45:11 +08:00
Roy_01 694c3c4289 update: modify the commands related to controlling the electrodes 2024-09-05 15:53:04 +08:00
Roy_01 66fc6c92f5 fix: 1. fix start_which_electrodes()
2. after powering on, the state of all four electrodes is highZ
3. an electrode only changes to the idle state after it has been used
2024-08-30 16:50:16 +08:00
Roy_01 3fbc01a6e4 fix: fix cpg11_electrodes() 2024-08-29 11:16:07 +08:00
Roy_01 8db81a445c fix: 1. upon startup, the state of all electrodes is highZ (the control of GPIOs follows a specific order)
2. the state is idle before starting and after finishing the pulse generation
2024-08-29 09:56:08 +08:00
Roy_01 98082a2a05 fix: can input 3000FF0208F0 to turn off all the electrodes 2024-08-22 10:54:08 +08:00
Roy_01 2e42e83fe3 1. fix: cpg_pulse_default_demo is the waveform applied to the third electrode
2. fix: the possible combinations of electrodes that can generate pulses are {timer1_IRQ corresponding electrode, timer2_IRQ corresponding electrode} = {1, x} {2, x} {x, 3} {x, 4} {1, 3} {1, 4} {2, 3} {2, 4}
2024-08-21 12:05:04 +08:00
Roy_01 9672e20bb4 test: demo是電極3的pulse 2024-08-13 11:56:54 +08:00
Roy_01 5c027a7d9f test: 暫時借用電極1&2的timer, 測試電極3&4 2024-08-13 11:51:33 +08:00
Roy_01 49a402d86b update: update cpg1.0 to cpg1.1 code 2024-08-08 16:59:03 +08:00
Roy_01 808a618712 update: update a bunch of functions in dev mode 2024-08-08 16:19:05 +08:00
Roy_01 ddb70af2ed fix: fix cpg1.1 cpg_pulse_default_demo 2024-08-08 16:14:24 +08:00
Roy_01 8ff828849d fix: update cpg1.0 to cpg1.1 gpio 2024-08-08 16:11:25 +08:00
Roy_01 d792fbe6b7 feat: new dev_mode: stop_which_electrodes 2024-08-01 10:53:06 +08:00
Roy_01 453dbba5a7 feat: new dev_mode: setting_cpg_pulse_parameter & start_which_electrodes 2024-07-31 20:36:45 +08:00
Roy_01 167abf6536 feat: cpg1.0 and cpg1.1 use the same app layer 2024-07-31 20:36:45 +08:00
Roy_01 a675e49259 feat: dev_mode_ctrl_cpg10_electrodes_task new cpg_pulse_demo task 2024-07-18 16:17:10 +08:00
Roy_01 a11ce3651c fix: cpg init: tw1508 about 1mA 2024-07-18 16:16:20 +08:00
Roy_01 03f09066d1 feat: new electrodes idle & highZ
update electrodes1~4 process
2024-07-10 21:01:54 +08:00
Roy_01 ec0beac33a feat: 新增 electrodes1~4 task 2024-07-10 21:01:54 +08:00
Roy_01 9fe4aaffbd fix: 修正 cpg10 dev_mode 指令 2024-07-10 21:01:54 +08:00
Roy_01 92410a8568 fix: 修正電極組合 2024-07-09 12:06:13 +08:00
Roy_01 74e3ef02c4 feat: new dev_mode_set_cpg10_tw1508 2024-07-09 11:59:55 +08:00
Roy_01 b072f22ede fix: 更改 cpg1.0 io init
tw1508 = 0
2024-07-09 11:48:27 +08:00
chain40 df1b866d5a feat: 實作 tw1508 driver
1. 為了避免共用腳位代來的影響, 先將 spi driver 移除, 日後再補上
2024-07-09 11:32:19 +08:00
Roy_01 7710f098ec feat: new two function:
dev_mode_set_cpg10_electrodes
dev_mode_gpio_function
2024-06-27 21:34:17 +08:00
Roy_01 f0ad7adcc4 feat: 支援 cpg1.0 初版 2024-06-27 21:33:11 +08:00