155 Commits

Author SHA1 Message Date
xinxin.li
7f00eaf5a8 1. fix UCP4008-SL bug#2002;
2. 解决扩皮项目,打开tfu帧号校准功能后,重建小区,上行数据对不齐的问题;
3. 调整ape csu访问总线的效率。
2024-06-13 11:17:11 +08:00
xinxin.li
b689529029 > 1.解决UCP4008-SL bug#1967;
> 2.小区建立完成,再启动CSU;
> 3.10ms中断提前pp1s 30us;
  4.sniffer启动后,每个pp1s都重启定时器。
2024-06-12 20:22:11 +08:00
cheng.wan
1b5f0f6fbb 修改10G CPRI速率测试CASE的初始化接口 2024-06-12 10:03:21 +08:00
cheng.wan
b6ff644c4f CPRI初始化时,增加RS-FEC功能可配接口 2024-06-05 16:44:31 +08:00
huanfeng.wang
9963a3e5bc 修改core6,core7事件型任务的栈大小为2048 2024-05-29 09:54:32 +08:00
huanfeng.wang
b78f47a5c5 1:扩大shell软件队列大小 2:修改case24 core6,core7任务栈为4k 2024-05-28 19:01:31 +08:00
xinxin.li
aa38184de3 1. fix UCP4008-SL bug#1968;
2. 修正接收帧号计算代码。
2024-05-23 10:32:20 +08:00
Weihua Li
c79688c824 Merge branch 'dev_ck_v2.1_NewFeature#1935' into 'dev_ck_v2.1'
将libsmartos.a由Week01版本恢复到Week15Patch版本

See merge request ucp/driver/ucp4008_platform_spu!109
2024-05-21 02:37:55 +00:00
cheng.wan
a7a8ab8825 将libsmartos.a由Week01版本恢复到Week15Patch版本 2024-05-20 17:48:33 +08:00
Weihua Li
61683f132f Merge branch 'dev_ck_v2.1_feature_enhancement#1932#' into 'dev_ck_v2.1'
添加获取版本信息接口

See merge request ucp/driver/ucp4008_platform_spu!107
2024-05-20 01:09:45 +00:00
lishuang.xie
8ef0c57f2b fix bug#1953 from dev_ck_v2.1_bug#1953# to dev_ck_v2.1
1. add new shell command: reg_ape to print the timer task info;
2. update the function of osp_timer_sync;
3. add new testcase of case1 to test the timer(t_offset < 10)
4. Test:
   4.1 spu_case0_arm_case0:  Pass;
   4.2 spu_case1_arm_case20: Pass;
   4.3 spu_case14_arm_case20:Pass;
   4.4 spu_case20_arm_case20:Pass;
   4.5 spu_case24_arm_case24:Pass;
   4.6 spu_case34_arm_case5: Pass;
   4.7 spu_case44_arm_case5: Pass;
2024-05-18 15:25:31 +08:00
zhanghaochen
827398e7d8 添加获取版本信息接口 2024-05-17 13:58:40 +08:00
cheng.wan
82389469cb 基于week15patch的cpri重构版本 2024-05-13 16:42:00 +08:00
xinxin.li
f87b9c5f36 1. fix UCP4008-SL-EVB feature enhancement#1740;
2. modify rx slot cycle interface.
2024-04-28 13:50:24 +08:00
xinxin.li
79c795ee4d 1. UCP4008-SL-EVB feature enhancement#1740/1741;
2. 将pp1s中断从APE0移到PET RFM1;
3. 去掉APE上的接收时隙中断,并修改接收帧号/时隙号/时隙cycle的计算方式;
4. 测试case:case21、case24、case34.
2024-04-24 20:28:37 +08:00
xinxin.li
9cc9b0b094 1. fix UCP4008-SL feature enhancement #1854;
2. delete tx/rx slot int on ecs_rfm1 for jesd version;
3. modify sfn updating algorithm for jesd version;
4. optimize jesd gpio on/off code;
5. test case: case24/34/44/45/41/42.
2024-04-20 17:09:54 +08:00
xinxin.li
052f738838 1. fix UCP4008-SL feature enhancement #1807;
2. modify sfn counting mode;
2024-04-07 17:38:05 +08:00
xinxin.li
af4dbbdb3d > 1. fix UCP4008_SL feature enhancement #1792;
> 2. delete pp1s scratch of jesd timer rx1;
> 3. delete the process of resetting jesd timer rx1 when gps locked.
2024-04-01 16:01:54 +08:00
cheng.wan
fa69f44d8b RJ 8NR+8LTE Mapping方案驱动配合CASE90回环测试通过 2024-04-01 09:47:34 +08:00
xinxin.li
8accb3f86b 1. fix UCP4008-SL new feature#1574;
2. modify api of set_mtimer_tmrpoint_ns, or the test case of 9.9ms frame header offset will fail.
2024-03-30 16:03:03 +08:00
xinxin.li
ab192ce627 1. fix UCP4008-SL new feature#1574;
2. modify timing precision from us to ns;
3. test case: case24, case34, case44, case45, case48, case41, case42.
2024-03-29 13:55:02 +08:00
xinxin.li
7e28ec5ded 1. fix UCP4008-SL bug#1756#;
2. add sync in the gpio config interface;
3. add testcase case25 for lte 3cells test;
4. tested case: case21, case24, case25, case34, case44.
2024-03-20 16:11:30 +08:00
Weihua Li
d6ea3f72f3 Merge branch 'dev_ck_v2.1_xls_feature#1694#' into 'dev_ck_v2.1'
update feature#1694# merge dev_ck_v2.1_xls_feature#1694# to dev_ck_v2.1

See merge request ucp/driver/ucp4008_platform_spu!96
2024-03-18 07:44:38 +00:00
lishuang.xie
e32716e367 update feature#1694# merge dev_ck_v2.1_xls_feature#1694# to dev_ck_v2.1
1. Four-channel support
2. modified the public/pet_rfm_spu1/top/src/phy_init.s.c to sendto different apes
3. now case21 no use
4. Test:
   4.1 spu_case0_arm_case0_cpri:  Pass
   4.2 spu_case14_arm_case20_cpri:Pass
   4.3 spu_case20_arm_case20_cpri:Pass
   4.4 spu_case24_arm_case24_cpri:Pass
   4.5 spu_case34_arm_case5:      Pass
   4.6 spu_case44_arm_case5:      Pass
2024-03-18 15:30:04 +08:00
huihui.shang
26ab30ac20 ecpri link detection & recovery 2024-03-16 10:10:40 +08:00
lishuang.xie
44c5ec0414 update New Feature#1655 to dev_ck_V2.1
1. modified the function of void handshake_master_with_slave(uint32_t u32_core_mask) add the input parameter.
2. phy should support the function of uint32_t get_core_mask_by_phy(void).
3. Test:
   3.1 spu_case0_arm_case0_cpri:  Pass
   3.2 spu_case14_arm_case20_cpri:Pass
   3.3 spu_case20_arm_case20_cpri:Pass
   3.4 spu_case21_arm_case21_cpri:Pass
   3.5 spu_case34_arm_case5:      Pass
   3.6 spu_case44_arm_case5:      Pass
2024-03-04 18:10:03 +08:00
Weihua Li
48a563ce90 Merge branch 'dev_ck_v2.1_bug#1693#' into 'dev_ck_v2.1'
优化CPRI链路失步时的重同步机制

See merge request ucp/driver/ucp4008_platform_spu!92
2024-03-04 01:12:56 +00:00
xinxin.li
6a366b6d40 1. fix UCP4008-SL new feature#1694#;
2. add testcase24, lte 4cell test;
3. modify code for lte 4cell built.
2024-03-01 11:34:49 +08:00
cheng.wan
384d6573f6 优化CPRI链路失步时的重同步机制 2024-02-29 10:48:31 +08:00
xinxin.li
ba39178f5d 1. fix UCP4008-SL feature enhancement#1675#;
2. change pp1s sratching position;
3. modify cpri tx/rxxrx
4. test case: case44, case34, case21.
2024-02-20 11:36:52 +08:00
lishuang.xie
7585a72312 fix UCP4008_SL Bug#1673# to dev_ck_v2.1_bug#1673#
1. modified public/ape_spu/osp/src/osp_task.s.c
2. use memmove update the memcpy
3. the third parameter of memmove should be byte
4. Test
   4.1 spu_case0_arm_case0:  Pass
   4.2 spu_case14_arm_case20:Pass
   4.3 spu_case20_arm_case20:Pass
   4.4 spu_case21_arm_case21:Pass
   4.5 spu_case34_arm_case5: Pass
   4.6 spu_case44_arm_case5: Pass
2024-02-18 19:20:20 +08:00
xinxin.li
c95d515a70 1. fix UCP4008-SL bug#1645;
2. modify api jesd_orx_csu_init;
2024-01-31 19:14:13 +08:00
xinxin.li
20d3c88a00 1. fix UCP4008-SL bug#1641; 2024-01-29 16:19:25 +08:00
Xianfeng Du
ba985c67ac Merge branch 'dev_ck_v2.1_feature#1640#' into 'dev_ck_v2.1'
UCP4008-SL feature #1640

See merge request ucp/driver/ucp4008_platform_spu!86
2024-01-29 08:13:08 +00:00
Xianfeng Du
bd50c93d6d Merge branch 'dev_ck_v2.1_feature#1612#' into 'dev_ck_v2.1'
UCP4008-SL-EVB feature #1612

See merge request ucp/driver/ucp4008_platform_spu!85
2024-01-29 08:12:52 +00:00
xinxin.li
43e55934c3 1. fix UCP4008-SL feature #1640;
2. add csu config file for cpri csu 2period;
3. add test case22(SCS15K).
2024-01-29 14:57:56 +08:00
xinxin.li
926ce7e7a9 1. fix UCP4008-SL-EVB feature #1612;
2. add para for phy_sniffer_start;
3. test case: case34, case44, case45, case48, case41, case42, case21.
2024-01-29 14:47:15 +08:00
lishuang.xie
94ae6589d2 fix bug#1638# to dev_ck_v2.1
1. in smartos.s.c, the function of smart_reclaim_init_res free the error im
2. fix the bug and build a new lib
3. Test:
   3.1 spu_case0_arm_case0_cpri:  Pass
   3.2 spu_case14_arm_case20_cpri:Pass
   3.3 spu_case20_arm_case20_cpri:Pass
   3.4 spu_case21_arm_case21_cpri:Pass
   3.5 spu_case34_arm_case5:      Pass
   3.6 spu_case44_arm_case5:      Pass
2024-01-29 14:23:13 +08:00
lishuang.xie
c42c2cea82 update dev_ck_v2.1_feature#1609 to dev_ck_v2.1
1. add error return(inc/err_num.h and osp/inc/err_num.h)
2. change the task init function:
   old: typedef void(*OSP_TASKINIT_FUNC)(void);
   new: typedef int(*OSP_TASKINIT_FUNC)(void);
3. osp_task_create:
   3.1 before create task should call the init function first
   3.2 if the init function return error, don't call the create task, return error
4. Test:
   4.1 spu_case0_arm_case0_cpri:      Pass
   4.2 spu_case14_arm_case20_cpri:    Pass
   4.3 spu_case20_arm_case20_cpri:    Pass
   4.4 spu_case21_arm_case21_cpri:    Pass
   4.5 spu_case34_arm_case5:          Pass
   4.6 spu_case44_arm_case5:         Pass
   4.7 spu_case20_arm_case20_task_ok: Pass
   4.8 spu_case20_arm_case20_task_ng: Pass
2024-01-29 09:54:23 +08:00
xinxin.li
bd89dac8bf 1. fix UCP4008_SL feature enhancement #1597;
2. modify mtimer pp1s source from stc pp1s output to stc tod pp1s output;
2024-01-15 14:49:41 +08:00
xinxin.li
53d6a3888c 1. fix feature enhancement #1557#;
2. add input para about tdd/fdd mode for jesd_csu_init;
3. add spu_ddr_monitor_start api;
4. flush jesd csu inlatch on the first time for fdd mode.
2024-01-05 10:58:50 +08:00
Xianfeng Du
a16d06c143 Merge branch 'dev_ck_v2.1_feature#1412#_fdd' into 'dev_ck_v2.1'
UCP4008_SL new feature #1412

See merge request ucp/driver/ucp4008_platform_spu!80
2023-12-28 07:43:02 +00:00
xinxin.li
8da2b23130 1. fix UCP4008_SL new feature#1412;
2. add fdd function of 122.88M and 61.44M;
3. test case : case41,case42,case44,case48
2023-12-28 15:05:58 +08:00
Xianfeng Du
a74695bb86 Merge branch 'dev_ck_v2.1_feature#1359#_1214' into 'dev_ck_v2.1'
eCPRI 25G代码入库,分支名称dev_ck_v2.1_feature#1359#_1214

See merge request ucp/driver/ucp4008_platform_spu!78
2023-12-28 01:08:46 +00:00
huihui.shang
0e31610af0 ecpri testcase update 2023-12-26 19:03:20 +08:00
xinxin.li
4655f82bf0 1. add 10ms trigger for sniffer before cell building;
2. int cost modify: 4us to 3.5us;
3. modify case41: NR FDD 15K, 122.88M, 40M, test ok;
2023-12-22 16:37:58 +08:00
Xianfeng Du
fd73292237 Merge branch 'dev_ck_v2.1_feature#1393#' into 'dev_ck_v2.1'
update New Feature#1393 to dev_ck_v2.1

See merge request ucp/driver/ucp4008_platform_spu!77
2023-12-22 03:18:42 +00:00
lishuang.xie
24f9fcc30e update New Feature#1393 to dev_ck_v2.1
1. modify: public/ape_spu/osp/inc/osp_mem.h
2. update the size of task stack(task stack from 32K to 40K)
3. Test:
   3.1  spu(case0)+arm(case0)_cpri:  pass
   3.2  spu(case14)+arm(case20)_cpri:pass
   3.3  spu(case20)+arm(case20)_cpri:pass
   3.4  spu(case21)+arm(case21)_cpri:pass
   3.5  spu(case34)+arm(case5):      pass
   3.6  spu(case44)+arm(case5):      pass
   3.7  spu(case0)+arm(case0)_jesd:  pass
   3.8  spu(case14)+arm(case20)_jesd:pass
   3.9  spu(case20)+arm(case20)_jesd:pass
   3.10 spu(case21)+arm(case21)_jesd:pass
2023-12-21 10:46:52 +08:00
xinxin.li
2280641528 add orx callback 2023-12-20 14:19:55 +08:00
xinxin.li
f4dd3ccf8c 1. UCP4008_SL new feature #1412;
2. fdd 122.88M, 4 ants;
3. test case: case41,case44
2023-12-20 12:24:27 +08:00