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
|
98a4524067
|
update: comment on cpg_pulse_default_demo_ext()
|
2024-08-28 17:39:22 +08:00 |
|
Roy_01
|
d5488c2ce9
|
update: 1. remove is_pulse_gen_running()
2. pusle_gen is configured by the user
|
2024-08-28 17:37:28 +08:00 |
|
Roy_01
|
2ed330dece
|
fix: cpg_pulse_default_demo & output pulse functions
|
2024-08-28 17:11:37 +08:00 |
|
Roy_01
|
5bac6e7eab
|
update: update the demo code
|
2024-08-28 14:22:20 +08:00 |
|
chain40
|
d0e3f75038
|
feat: enhance pulse generation feature
step 1: call cpg11_pulse_init() to create pulses
step 2: call cpg11_pulse_start() to start pulse timer
step 3: call cpg11_pulse_stop_by_pulse_id() to stop pulses
|
2024-08-25 19:49:23 +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
|
7ecf044f62
|
config: increase the number of logs printed
|
2024-08-21 11:00:39 +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
|
df350ef0e7
|
feat: 將專案設定切換到 cpg1.1
|
2024-08-12 17:24:11 +08:00 |
|
Roy_01
|
22273c0560
|
Merge branch 'cpg1.1' into develp
|
2024-08-09 15:00:46 +08:00 |
|
Roy_01
|
8ed62990f9
|
feat: 將專案設定切換回 DEF_ELITE_DEV
|
2024-08-09 15:00:22 +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 |
|
chain40
|
4bc5d23a50
|
feat: add cpg10_pulse_stop(), rename cpg10_pulse_gen() to cpg10_pulse_start()
|
2024-07-31 20:54:14 +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
|
041835dd1f
|
feat: 將專案設定切換到 cpg1.1
|
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
|
d141cf96ca
|
feat: new application configuration for cpg1.1
|
2024-07-31 20:36:45 +08:00 |
|
chain40
|
e29fcd5f0e
|
Merge branch 'bsp' into develop
|
2024-07-31 20:36:36 +08:00 |
|
chain40
|
e51c9e5d1d
|
feat: GCC 13.3.1 / GDB 15.1
|
2024-07-31 20:36:30 +08:00 |
|
Roy_01
|
5bbede4fd2
|
Merge branch 'pel1.0' into develp
|
2024-07-31 15:01:16 +08:00 |
|
Roy_01
|
7302489d30
|
feat: 將專案設定切換回 DEF_ELITE_DEV
|
2024-07-31 15:00:58 +08:00 |
|
Roy_01
|
498690219e
|
feat:
1. to set the resistors, the large resistor (Input12) needs to be controlled first
2. new dev_mode: pel_select_resistor_combinations_mode
|
2024-07-30 13:40:14 +08:00 |
|
Roy_01
|
f6d758bef4
|
updated pel1.0 product number
|
2024-07-29 16:15:08 +08:00 |
|
chain40
|
cc396ee8d4
|
feat: implement hardware toggle for anode and cathode
|
2024-07-23 22:35:31 +08:00 |
|
Roy_01
|
e9e961fff5
|
feat: 將專案設定切換到 pel1.0
|
2024-07-18 16:32:44 +08:00 |
|
Roy_01
|
d56c20d263
|
Merge branch 'cpg1.0' into develp
|
2024-07-18 16:24:47 +08:00 |
|
Roy_01
|
79fa6365d1
|
feat: 將專案設定切換回 DEF_ELITE_DEV
|
2024-07-18 16:24:15 +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 |
|
chain40
|
9e1e83eab3
|
feat: implement electrodes idle & hi-z mode
|
2024-07-16 00:35:57 +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
|
4122affd4d
|
feat: 將專案設定切換到 cpg1.0
|
2024-07-10 21:01:54 +08:00 |
|
chain40
|
89fa9e2649
|
Merge branch 'bsp' into develop
|
2024-07-10 20:48:07 +08:00 |
|
chain40
|
644064841e
|
feat: update toolchain to 13.3.1/14.2/r1
|
2024-07-10 20:47:38 +08:00 |
|
Roy_01
|
d219d4acb4
|
Merge branch 'develop/cpg1.0' into develp
|
2024-07-09 12:08:23 +08:00 |
|
Roy_01
|
b3045c4820
|
feat: 將專案設定切換回 DEF_ELITE_DEV
|
2024-07-09 12:08:11 +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
|
3fd1dfd904
|
fix: 修正cpg10_electrodes指令
|
2024-07-09 11:58:49 +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 |
|