3116
- 收藏
- 点赞
- 分享
- 举报
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)
相关问答
-
2016-08-23 16:30:23
-
2018-04-11 11:57:27
-
2018-01-29 18:36:15
-
2017-08-16 15:43:07
-
2013-04-28 13:27:25
-
2018-01-18 15:51:21
-
2017-02-24 10:33:20
-
2017-12-14 15:26:38
-
2019-03-11 18:47:53
-
2018-04-27 09:42:16
-
2015-11-16 18:44:15
-
2017-04-14 15:07:50
-
2019-05-20 23:41:43
-
2019-05-14 11:28:26
-
2017-01-19 09:54:12
-
2019-05-13 14:23:49
-
102016-07-25 19:46:59
-
2017-05-09 20:59:13
-
1132018-03-29 11:27:54
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认