9833
- 收藏
- 点赞
- 分享
- 举报
【已解决】Hi3519A接入MIPI+BT1120的问题
本帖最后由 qn1540561804 于 2019-12-1 09:27 编辑
mipi无法出图,麻烦大神帮忙看看,谢谢
硬件接线如图所示,配置如下:
#define MIPI_NUM_IMX290 0
#define MIPI_NUM_BT1120 1
SENSOR0_TYPE ?= SONY_IMX290_MIPI_2M
SENSOR1_TYPE ?= SONY_BT1120
combo_dev_attr_t MIPI_IMX290_ATTR =
{
.devno = MIPI_NUM_IMX290,
.input_mode = INPUT_MODE_MIPI,
.data_rate = MIPI_DATA_RATE_X1,
.img_rect = {0, 0, 1920, 1080},
{
.mipi_attr =
{
DATA_TYPE_RAW_12BIT,
HI_MIPI_WDR_MODE_NONE,
{0, 1, 2, 3, -1, -1, -1, -1}
}
}
};
combo_dev_attr_t MIPI_BT1120_ATTR =
{
.devno = MIPI_NUM_BT1120,
.input_mode = INPUT_MODE_BT1120,
.data_rate = MIPI_DATA_RATE_X1,
.img_rect = {0, 0, 1920, 1080},
{
}
};
VI_DEV_ATTR_S DEV_ATTR_IMX290_2M =
{
VI_MODE_MIPI,
VI_WORK_MODE_1Multiplex,
{0xFFF00000, 0x0},
VI_SCAN_PROGRESSIVE,
{-1, -1, -1, -1},
VI_DATA_SEQ_YUYV,
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_PULSE, VI_VSYNC_NEG_LOW, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYNC_VALID_SINGAL,VI_VSYNC_VALID_NEG_HIGH,
/*hsync_hfb hsync_act hsync_hhb*/
{0, 1280, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 720, 0,
/*vsync1_vhb vsync1_act vsync1_hhb*/
0, 0, 0}
},
VI_DATA_TYPE_RGB,
HI_FALSE,
{1920, 1080},
{
{
{1920 , 1080},
},
{
VI_REPHASE_MODE_NONE,
VI_REPHASE_MODE_NONE
}
},
{
WDR_MODE_NONE,
1080
},
DATA_RATE_X1
};
VI_DEV_ATTR_S DEV_ATTR_SONY_BT1120 =
{
VI_MODE_BT1120_STANDARD,
VI_WORK_MODE_1Multiplex,
{0xFF000000, 0xFF0000},
VI_SCAN_PROGRESSIVE,
{-1, -1, -1, -1},
VI_DATA_SEQ_UVUV,
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_PULSE, VI_VSYNC_NEG_LOW, VI_HSYNC_VALID_SINGNAL, VI_HSYNC_NEG_HIGH, VI_VSYNC_VALID_SINGAL, VI_VSYNC_VALID_NEG_HIGH,
/*hsync_hfb hsync_act hsync_hhb*/
{0, 1920, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 1080, 0,
/*vsync1_vhb vsync1_act vsync1_hhb*/
0, 0, 0}
},
VI_DATA_TYPE_YUV,
HI_FALSE,
{1920, 1080},
{
{
{1920 , 1080},
},
{
VI_REPHASE_MODE_NONE,
VI_REPHASE_MODE_NONE
}
},
{
WDR_MODE_NONE,
1080
},
DATA_RATE_X1
};
VI_PIPE_ATTR_S PIPE_ATTR_IMX290_2M =
{
// VI_PIPE_BYPASS_NONE, HI_TRUE, HI_TRUE,
VI_PIPE_BYPASS_NONE, HI_FALSE,HI_FALSE,
1920, 1080,
// PIXEL_FORMAT_YVU_SEMIPLANAR_420,
PIXEL_FORMAT_RGB_BAYER_12BPP,
// COMPRESS_MODE_NONE,
COMPRESS_MODE_LINE,
// DATA_BITWIDTH_8,
DATA_BITWIDTH_12,
HI_FALSE,
{
PIXEL_FORMAT_YVU_SEMIPLANAR_420,
DATA_BITWIDTH_8,
VI_NR_REF_FROM_RFR,
COMPRESS_MODE_NONE
},
HI_FALSE,
{-1, -1}
};
VI_PIPE_ATTR_S PIPE_ATTR_SONY_BT1120 =
{
VI_PIPE_BYPASS_NONE, HI_TRUE, HI_TRUE,
1920, 1080,
PIXEL_FORMAT_YVU_SEMIPLANAR_420,
COMPRESS_MODE_NONE,
DATA_BITWIDTH_8,
HI_FALSE,
{
PIXEL_FORMAT_YVU_SEMIPLANAR_420,
DATA_BITWIDTH_8,
VI_NR_REF_FROM_RFR,
COMPRESS_MODE_NONE
},
HI_FALSE,
{-1, -1}
};
./load3519av100 -i -sensor0 imx290 -sensor1 bt1120 -offline加载sys_config.ko会配置I2C1_SCL和I2C1_SDA,MIPIRX CTRL Pixel4 时钟选择101:CMOS1
注:硬件图上有个管脚接错,MIPI0的CLK应该接GPIO8_0,现在接在GPIO7_6,复用SENSOR_CLK1
mipi无法出图,麻烦大神帮忙看看,谢谢
硬件接线如图所示,配置如下:
#define MIPI_NUM_IMX290 0
#define MIPI_NUM_BT1120 1
SENSOR0_TYPE ?= SONY_IMX290_MIPI_2M
SENSOR1_TYPE ?= SONY_BT1120
combo_dev_attr_t MIPI_IMX290_ATTR =
{
.devno = MIPI_NUM_IMX290,
.input_mode = INPUT_MODE_MIPI,
.data_rate = MIPI_DATA_RATE_X1,
.img_rect = {0, 0, 1920, 1080},
{
.mipi_attr =
{
DATA_TYPE_RAW_12BIT,
HI_MIPI_WDR_MODE_NONE,
{0, 1, 2, 3, -1, -1, -1, -1}
}
}
};
combo_dev_attr_t MIPI_BT1120_ATTR =
{
.devno = MIPI_NUM_BT1120,
.input_mode = INPUT_MODE_BT1120,
.data_rate = MIPI_DATA_RATE_X1,
.img_rect = {0, 0, 1920, 1080},
{
}
};
VI_DEV_ATTR_S DEV_ATTR_IMX290_2M =
{
VI_MODE_MIPI,
VI_WORK_MODE_1Multiplex,
{0xFFF00000, 0x0},
VI_SCAN_PROGRESSIVE,
{-1, -1, -1, -1},
VI_DATA_SEQ_YUYV,
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_PULSE, VI_VSYNC_NEG_LOW, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYNC_VALID_SINGAL,VI_VSYNC_VALID_NEG_HIGH,
/*hsync_hfb hsync_act hsync_hhb*/
{0, 1280, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 720, 0,
/*vsync1_vhb vsync1_act vsync1_hhb*/
0, 0, 0}
},
VI_DATA_TYPE_RGB,
HI_FALSE,
{1920, 1080},
{
{
{1920 , 1080},
},
{
VI_REPHASE_MODE_NONE,
VI_REPHASE_MODE_NONE
}
},
{
WDR_MODE_NONE,
1080
},
DATA_RATE_X1
};
VI_DEV_ATTR_S DEV_ATTR_SONY_BT1120 =
{
VI_MODE_BT1120_STANDARD,
VI_WORK_MODE_1Multiplex,
{0xFF000000, 0xFF0000},
VI_SCAN_PROGRESSIVE,
{-1, -1, -1, -1},
VI_DATA_SEQ_UVUV,
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_PULSE, VI_VSYNC_NEG_LOW, VI_HSYNC_VALID_SINGNAL, VI_HSYNC_NEG_HIGH, VI_VSYNC_VALID_SINGAL, VI_VSYNC_VALID_NEG_HIGH,
/*hsync_hfb hsync_act hsync_hhb*/
{0, 1920, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 1080, 0,
/*vsync1_vhb vsync1_act vsync1_hhb*/
0, 0, 0}
},
VI_DATA_TYPE_YUV,
HI_FALSE,
{1920, 1080},
{
{
{1920 , 1080},
},
{
VI_REPHASE_MODE_NONE,
VI_REPHASE_MODE_NONE
}
},
{
WDR_MODE_NONE,
1080
},
DATA_RATE_X1
};
VI_PIPE_ATTR_S PIPE_ATTR_IMX290_2M =
{
// VI_PIPE_BYPASS_NONE, HI_TRUE, HI_TRUE,
VI_PIPE_BYPASS_NONE, HI_FALSE,HI_FALSE,
1920, 1080,
// PIXEL_FORMAT_YVU_SEMIPLANAR_420,
PIXEL_FORMAT_RGB_BAYER_12BPP,
// COMPRESS_MODE_NONE,
COMPRESS_MODE_LINE,
// DATA_BITWIDTH_8,
DATA_BITWIDTH_12,
HI_FALSE,
{
PIXEL_FORMAT_YVU_SEMIPLANAR_420,
DATA_BITWIDTH_8,
VI_NR_REF_FROM_RFR,
COMPRESS_MODE_NONE
},
HI_FALSE,
{-1, -1}
};
VI_PIPE_ATTR_S PIPE_ATTR_SONY_BT1120 =
{
VI_PIPE_BYPASS_NONE, HI_TRUE, HI_TRUE,
1920, 1080,
PIXEL_FORMAT_YVU_SEMIPLANAR_420,
COMPRESS_MODE_NONE,
DATA_BITWIDTH_8,
HI_FALSE,
{
PIXEL_FORMAT_YVU_SEMIPLANAR_420,
DATA_BITWIDTH_8,
VI_NR_REF_FROM_RFR,
COMPRESS_MODE_NONE
},
HI_FALSE,
{-1, -1}
};
./load3519av100 -i -sensor0 imx290 -sensor1 bt1120 -offline加载sys_config.ko会配置I2C1_SCL和I2C1_SDA,MIPIRX CTRL Pixel4 时钟选择101:CMOS1
注:硬件图上有个管脚接错,MIPI0的CLK应该接GPIO8_0,现在接在GPIO7_6,复用SENSOR_CLK1
我来回答
回答18个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可1
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2020-08-01 17:40:31
-
2024-01-31 12:03:01
-
2019-05-28 21:55:26
-
2021-04-06 13:48:30
-
2015-07-31 14:20:56
-
2022-01-14 14:26:53
-
2019-11-16 10:10:52
-
2017-07-24 14:07:39
-
2019-04-18 15:42:12
-
2022-02-16 15:04:36
-
2018-10-19 15:20:12
-
2016-06-23 23:27:37
-
2016-11-03 09:52:27
-
2022-02-16 16:31:26
-
2019-07-04 14:51:59
-
12019-09-10 16:32:03
-
2015-07-29 16:43:18
-
2019-08-12 17:54:24
-
2019-07-29 14:30:11
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认