3083
- 收藏
- 点赞
- 分享
- 举报
3531a的ai问题
AD用的是tp2826,
软件采用的hisi给的用例sanmple_audio,做了一点调整。主要给tp2826设置格式。基本和2823一样
板子可以输入4路音频信号,我接了一路。
读tp2826寄存器,是有输入的的。
但是ai这边没有数据,具体看proc.
感觉是不是哪里配错了?
/mnt # cat /proc/umap/ai
[AI] Version: [Hi3531A_MPP_V2.0.4.0 B030 Release], Build Time: [Jan 13 2017, 17:49:40]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
1 i2s_sla 16kHZ 16bit 16 16 0 mono 320 1 30
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev TranLen CBPhy CBSize ROffSet WOffSet
1 10240 5c84a000 20480 0 0
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
1 0 N 0
-----AI CHN STATUS----------------------------------------------------------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost UsrFrmDepth u32Data0 u32Data1 UserGet UserRls
1 0 enable 0 0 0 0 0 0 0 0 0
1 1 enable 0 0 0 0 0 0 0 0 0
1 2 enable 0 0 0 0 0 0 0 0 0
1 3 enable 0 0 0 0 0 0 0 0 0
1 4 enable 0 0 0 0 0 0 0 0 0
1 5 enable 0 0 0 0 0 0 0 0 0
1 6 enable 0 0 0 0 0 0 0 0 0
1 7 enable 0 0 0 0 0 0 0 0 0
1 8 enable 0 0 0 0 0 0 0 0 0
1 9 enable 0 0 0 0 0 0 0 0 0
1 10 enable 0 0 0 0 0 0 0 0 0
1 11 enable 0 0 0 0 0 0 0 0 0
1 12 enable 0 0 0 0 0 0 0 0 0
1 13 enable 0 0 0 0 0 0 0 0 0
1 14 enable 0 0 0 0 0 0 0 0 0
1 15 enable 0 0 0 0 0 0 0 0 0
-----AI CHN RESAMPLE STATUS-------------------------------------------------------------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
1 0 enable N 0 (null) (null)
1 1 enable N 0 (null) (null)
1 2 enable N 0 (null) (null)
1 3 enable N 0 (null) (null)
1 4 enable N 0 (null) (null)
1 5 enable N 0 (null) (null)
1 6 enable N 0 (null) (null)
1 7 enable N 0 (null) (null)
1 8 enable N 0 (null) (null)
1 9 enable N 0 (null) (null)
1 10 enable N 0 (null) (null)
1 11 enable N 0 (null) (null)
1 12 enable N 0 (null) (null)
1 13 enable N 0 (null) (null)
1 14 enable N 0 (null) (null)
1 15 enable N 0 (null) (null)
-----AI CHN VQE STATUS0------------------------------------------------------------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum GainVol bAnr bAgc bEq bHpf bAec bRnr bHdr bDrc bPeq WrFile
1 0 enable N comm (null) 0 0 N N N N N N N N N N
1 1 enable N comm (null) 0 0 N N N N N N N N N N
1 2 enable N comm (null) 0 0 N N N N N N N N N N
1 3 enable N comm (null) 0 0 N N N N N N N N N N
1 4 enable N comm (null) 0 0 N N N N N N N N N N
1 5 enable N comm (null) 0 0 N N N N N N N N N N
1 6 enable N comm (null) 0 0 N N N N N N N N N N
1 7 enable N comm (null) 0 0 N N N N N N N N N N
1 8 enable N comm (null) 0 0 N N N N N N N N N N
1 9 enable N comm (null) 0 0 N N N N N N N N N N
1 10 enable N comm (null) 0 0 N N N N N N N N N N
1 11 enable N comm (null) 0 0 N N N N N N N N N N
1 12 enable N comm (null) 0 0 N N N N N N N N N N
1 13 enable N comm (null) 0 0 N N N N N N N N N N
1 14 enable N comm (null) 0 0 N N N N N N N N N N
1 15 enable N comm (null) 0 0 N N N N N N N N N N
软件采用的hisi给的用例sanmple_audio,做了一点调整。主要给tp2826设置格式。基本和2823一样
板子可以输入4路音频信号,我接了一路。
读tp2826寄存器,是有输入的的。
但是ai这边没有数据,具体看proc.
感觉是不是哪里配错了?
/mnt # cat /proc/umap/ai
[AI] Version: [Hi3531A_MPP_V2.0.4.0 B030 Release], Build Time: [Jan 13 2017, 17:49:40]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
1 i2s_sla 16kHZ 16bit 16 16 0 mono 320 1 30
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev TranLen CBPhy CBSize ROffSet WOffSet
1 10240 5c84a000 20480 0 0
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
1 0 N 0
-----AI CHN STATUS----------------------------------------------------------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost UsrFrmDepth u32Data0 u32Data1 UserGet UserRls
1 0 enable 0 0 0 0 0 0 0 0 0
1 1 enable 0 0 0 0 0 0 0 0 0
1 2 enable 0 0 0 0 0 0 0 0 0
1 3 enable 0 0 0 0 0 0 0 0 0
1 4 enable 0 0 0 0 0 0 0 0 0
1 5 enable 0 0 0 0 0 0 0 0 0
1 6 enable 0 0 0 0 0 0 0 0 0
1 7 enable 0 0 0 0 0 0 0 0 0
1 8 enable 0 0 0 0 0 0 0 0 0
1 9 enable 0 0 0 0 0 0 0 0 0
1 10 enable 0 0 0 0 0 0 0 0 0
1 11 enable 0 0 0 0 0 0 0 0 0
1 12 enable 0 0 0 0 0 0 0 0 0
1 13 enable 0 0 0 0 0 0 0 0 0
1 14 enable 0 0 0 0 0 0 0 0 0
1 15 enable 0 0 0 0 0 0 0 0 0
-----AI CHN RESAMPLE STATUS-------------------------------------------------------------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
1 0 enable N 0 (null) (null)
1 1 enable N 0 (null) (null)
1 2 enable N 0 (null) (null)
1 3 enable N 0 (null) (null)
1 4 enable N 0 (null) (null)
1 5 enable N 0 (null) (null)
1 6 enable N 0 (null) (null)
1 7 enable N 0 (null) (null)
1 8 enable N 0 (null) (null)
1 9 enable N 0 (null) (null)
1 10 enable N 0 (null) (null)
1 11 enable N 0 (null) (null)
1 12 enable N 0 (null) (null)
1 13 enable N 0 (null) (null)
1 14 enable N 0 (null) (null)
1 15 enable N 0 (null) (null)
-----AI CHN VQE STATUS0------------------------------------------------------------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum GainVol bAnr bAgc bEq bHpf bAec bRnr bHdr bDrc bPeq WrFile
1 0 enable N comm (null) 0 0 N N N N N N N N N N
1 1 enable N comm (null) 0 0 N N N N N N N N N N
1 2 enable N comm (null) 0 0 N N N N N N N N N N
1 3 enable N comm (null) 0 0 N N N N N N N N N N
1 4 enable N comm (null) 0 0 N N N N N N N N N N
1 5 enable N comm (null) 0 0 N N N N N N N N N N
1 6 enable N comm (null) 0 0 N N N N N N N N N N
1 7 enable N comm (null) 0 0 N N N N N N N N N N
1 8 enable N comm (null) 0 0 N N N N N N N N N N
1 9 enable N comm (null) 0 0 N N N N N N N N N N
1 10 enable N comm (null) 0 0 N N N N N N N N N N
1 11 enable N comm (null) 0 0 N N N N N N N N N N
1 12 enable N comm (null) 0 0 N N N N N N N N N N
1 13 enable N comm (null) 0 0 N N N N N N N N N N
1 14 enable N comm (null) 0 0 N N N N N N N N N N
1 15 enable N comm (null) 0 0 N N N N N N N N N N
我来回答
回答3个
时间排序
认可量排序
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-04-11 11:57:27
-
2016-08-23 16:30:23
-
2017-08-16 15:43:07
-
2018-01-29 18:36:15
-
2018-01-18 15:51:21
-
2017-02-24 10:33:20
-
2017-12-14 15:26:38
-
2019-03-11 18:47:53
-
2013-04-28 13:27:25
-
2017-04-14 15:07:50
-
2015-11-16 18:44:15
-
2018-04-27 09:42:16
-
2019-05-20 23:41:43
-
2019-05-14 11:28:26
-
2017-01-19 09:54:12
-
2019-05-13 14:23:49
-
1132018-03-29 11:27:54
-
2017-05-09 20:59:13
-
102016-07-25 19:46:59
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认