没有合适的资源?快使用搜索试试~ 我知道了~
j3环视q111111
资源推荐
资源详情
资源评论
环视max96722解串器最终配置
环视解串器最终配置
1.//max96712_quad_init_setting_base
i2ctransfer -y -f 1 w3@0x29 0x04 0x0B 0x00 //disable mipi output CSI output
disabled
i2ctransfer -y -f 1 w3@0x29 0x06 0xc2 0x10
i2ctransfer -y -f 1 w3@0x29 0x14 0x45 0x00
i2ctransfer -y -f 1 w3@0x29 0x15 0x45 0x00
i2ctransfer -y -f 1 w3@0x29 0x16 0x45 0x00
i2ctransfer -y -f 1 w3@0x29 0x17 0x45 0x00
i2ctransfer -y -f 1 w3@0x29 0x14 0xd1 0x03
i2ctransfer -y -f 1 w3@0x29 0x15 0xd1 0x03
i2ctransfer -y -f 1 w3@0x29 0x16 0xd1 0x03
i2ctransfer -y -f 1 w3@0x29 0x17 0xd1 0x03
i2ctransfer -y -f 1 w3@0x29 0x00 0x10 0x11 //set 3 g
i2ctransfer -y -f 1 w3@0x29 0x00 0x11 0x11
i2ctransfer -y -f 1 w3@0x29 0x00 0x18 0x0f //one shot
i2ctransfer -y -f 1 w3@0x29 0x00 0x06 0xff //enable 4 links in gmsl2 mode
Enable all 4 Links & GMSL2 mode
i2ctransfer -y -f 1 w3@0x29 0x00 0xf0 0x62 //link A ->pipe 0, link B->pipe1 pipe
select pipe Z in link B to video pipe 1, pipe Z in link A to video pipe
i2ctransfer -y -f 1 w3@0x29 0x00 0xf1 0xea //link C->pipe 2, link D->pipe3
pipe Z in link D to video pipe 3, pipe Z in link C to video pipe
i2ctransfer -y -f 1 w3@0x29 0x00 0xf2 0x40 //i2ctransfer -y -f 1 w3@0x29 0x00 0xf2 0x62
pipe Z in link B to video pipe 5, pipe Z in link A to video pipe
i2ctransfer -y -f 1 w3@0x29 0x00 0xf3 0xc8
//pipe Z in link D to video pipe 7, pipe Z in link C to video pipe
i2ctransfer -y -f 1 w3@0x29 0x00 0xf4 0xff //enable 8 pipeline
Turn on all pipeS 8
i2ctransfer -y -f 1 w3@0x29 0x08 0xa2 0xF4 // Enable MIPI PHY0~3
Enable MIPI PHY0 ~ PHY3 # Turn on MIPI PHYs
2.//des_data_lane_setting
i2ctransfer -y -f 1 w3@0x29 0x08 0xa0 0x04 //Set Des in 2x4 mode
i2ctransfer -y -f 1 w3@0x29 0x08 0xa3 0xe4 //Set Lane Mapping for 4-lane port A //
Map data lanes for PHY 1 map PHY0-D0D1 phy1-D2D3 (2-4lanes) #Set Lane Mapping for 4-
lane port A
i2ctransfer -y -f 1 w3@0x29 0x08 0xa4 0xe4 // Map data lanes for PHY 0
map PHY2-D0D1 phy3-D2D3 (2-4lanes)
i2ctransfer -y -f 1 w3@0x29 0x09 0x0a 0xc0 //Set 4 lane D-PHY
i2ctransfer -y -f 1 w3@0x29 0x09 0x4a 0xc0 //Set 4 lane D-PHY
i2ctransfer -y -f 1 w3@0x29 0x09 0x8a 0xc0 //Set 4 lane D-PHY
i2ctransfer -y -f 1 w3@0x29 0x09 0xca 0xc0 //Set 4 lane D-PHY
i2ctransfer -y -f 1 w3@0x29 0x09 0x0b 0x07 // Map source 0~2 for Link A
i2ctransfer -y -f 1 w3@0x29 0x09 0x2d 0x15 // Map source to controller 1 map
MAP_DPHY_DEST to MIPI Controller 1 ---MAP_DPHY_DEST0~2 PORTA
i2ctransfer -y -f 1 w3@0x29 0x09 0x0d 0x1e // src vc && datatype, vc = 0, YUV422
map SRC0 data to VC0 YUV422
i2ctransfer -y -f 1 w3@0x29 0x09 0x0e 0x1e //map to vc0 // dst vc && datatype, vc =
0, YUV422 map DES0 data to VC0
i2ctransfer -y -f 1 w3@0x29 0x09 0x0f 0x00 // src frame start
i2ctransfer -y -f 1 w3@0x29 0x09 0x10 0x00 // dst frame start
i2ctransfer -y -f 1 w3@0x29 0x09 0x11 0x01 // src frame end
i2ctransfer -y -f 1 w3@0x29 0x09 0x12 0x01 // dst frame end
i2ctransfer -y -f 1 w3@0x29 0x09 0x4b 0x07// Map source 0~2 for Link B
i2ctransfer -y -f 1 w3@0x29 0x09 0x6d 0x15
i2ctransfer -y -f 1 w3@0x29 0x09 0x4d 0x1e
i2ctransfer -y -f 1 w3@0x29 0x09 0x4e 0x5e //map to v1
i2ctransfer -y -f 1 w3@0x29 0x09 0x4f 0x00
i2ctransfer -y -f 1 w3@0x29 0x09 0x50 0x40
i2ctransfer -y -f 1 w3@0x29 0x09 0x51 0x01
i2ctransfer -y -f 1 w3@0x29 0x09 0x52 0x41
i2ctransfer -y -f 1 w3@0x29 0x09 0x8b 0x07 // Map source 0~2 for Link C
i2ctransfer -y -f 1 w3@0x29 0x09 0xad 0x15
i2ctransfer -y -f 1 w3@0x29 0x09 0x8d 0x1e
i2ctransfer -y -f 1 w3@0x29 0x09 0x8e 0x9e //map to v2
i2ctransfer -y -f 1 w3@0x29 0x09 0x8f 0x00
i2ctransfer -y -f 1 w3@0x29 0x09 0x90 0x80
i2ctransfer -y -f 1 w3@0x29 0x09 0x91 0x01
i2ctransfer -y -f 1 w3@0x29 0x09 0x92 0x81
i2ctransfer -y -f 1 w3@0x29 0x09 0xcb 0x07 // Map source 0~2 for Link D
i2ctransfer -y -f 1 w3@0x29 0x09 0xed 0x15
i2ctransfer -y -f 1 w3@0x29 0x09 0xcd 0x1e
i2ctransfer -y -f 1 w3@0x29 0x09 0xce 0xde //map to v3
i2ctransfer -y -f 1 w3@0x29 0x09 0xcf 0x00
i2ctransfer -y -f 1 w3@0x29 0x09 0xd0 0xc0
i2ctransfer -y -f 1 w3@0x29 0x09 0xd1 0x01
i2ctransfer -y -f 1 w3@0x29 0x09 0xd2 0xc1
3.//des_data_rate_setting // Hold DPLL in reset (config_soft_rst_n = 0) before
changing the rate
i2ctransfer -y -f 1 w3@0x29 0x1c 0x00 0xf4
i2ctransfer -y -f 1 w3@0x29 0x1D 0x00 0xF4
i2ctransfer -y -f 1 w3@0x29 0x1e 0x00 0xF4
i2ctransfer -y -f 1 w3@0x29 0x1f 0x00 0xF4
4.//des out mipi rate is %d * 100Mbps, larger than 2.5Gbp des_out.mipi_rate max96712
dphy_data_rate_reg
i2ctransfer -y -f 1 w3@0x29 0x04 0x15 0x2e
i2ctransfer -y -f 1 w3@0x29 0x04 0x18 0x2e
i2ctransfer -y -f 1 w3@0x29 0x04 0x1b 0x2e
i2ctransfer -y -f 1 w3@0x29 0x04 0x1e 0x2e
5.//write max96712 release soft rst
i2ctransfer -y -f 1 w3@0x29 0x1c 0x00 0xf5
i2ctransfer -y -f 1 w3@0x29 0x1D 0x00 0xf5
i2ctransfer -y -f 1 w3@0x29 0x1e 0x00 0xf5
i2ctransfer -y -f 1 w3@0x29 0x1f 0x00 0xf5
6.frame sync
i2ctransfer -y -f 1 w3@0x29 0x04 0xa0 0x04 //frame sync wnable interal fsync manual
mode
i2ctransfer -y -f 1 w3@0x29 0x04 0xa2 0x00 //turn off master link selection
i2ctransfer -y -f 1 w3@0x29 0x04 0xaa 0x00 //disable overlap window
i2ctransfer -y -f 1 w3@0x29 0x04 0xab 0x00
i2ctransfer -y -f 1 w3@0x29 0x04 0xaf 0xcf // set to use 35mhz auto fs_links = 0
i2ctransfer -y -f 1 w3@0x29 0x04 0xa7 0x0c //h
i2ctransfer -y -f 1 w3@0x29 0x04 0xa6 0xb7 //m
i2ctransfer -y -f 1 w3@0x29 0x04 0xa5 0x35 //L
i2ctransfer -y -f 1 w3@0x29 0x04 0xb1 0x40 //set fsync tx id to 1 to match mfp1 on ser
sude
环视加串器最终配置
max96717F
0x02 0xd6 0x84 #gpio map DES[x]->SER[8]
write_96717 0x02 0xd8 0x42 #set frame sync ID
i2ctransfer -y -f 1 w3@0x42 0x02 0xd6 0x84 //enble gpio_rx_en on mfp8 for 96717f
i2ctransfer -y -f 1 w3@0x42 0x03 0x18 0x5e //#datatype
i2ctransfer -y -f 1 w3@0x42 0x03 0x02 0x10
i2ctransfer -y -f 1 w3@0x42 0x03 0x31 0x30 //#Select 4- lanes
i2ctransfer -y -f 1 w3@0x42 0x03 0x32 0xe0 //#Serializer lane mapping for MIPI data
lane
i2ctransfer -y -f 1 w3@0x42 0x03 0x33 0x04
i2ctransfer -y -f 1 w3@0x42 0x04 0x17 0x00
i2ctransfer -y -f 1 w3@0x42 0x14 0x32 0x7f
i2ctransfer -y -f 1 w3@0x42 0x00 0x10 0x31
base:
{0x04, 0x0B, 0x00, 0x10}, //#CSI output disabled
{0x00, 0x10, 0x22, 0x10}, //#LINKA/LINKB set as 6Gbps
{0x00, 0x18, 0x0F, 0x30}, //#Reset data path
{0x03, 0x18, 0x5E, 0x10}, //#0b01-011110 GPIO ID 1E for pin while receiving &&
alternate IO type
{0x00, 0x06, 0xF3, 0x10}, //#Enable linka, linkb Links in GMSL2 mode streamID f3
{0x00, 0xF0, 0x62, 0x10}, //#pipe Z in linkPHY B to video pipe1, pipe Z in
linkPHY A to video pipe0
{0x00, 0xF4, 0x03, 0x10}, //#Turn on all pipeS 2 03
{0x00, 0x18, 0x0F, 100}, //#Reset data path
{0x04, 0x01, 0x03, 0x10}, //pipe-vc bounding
{0x04, 0x03, 0x0c, 0x10}, //
//pipe 0, map data FS/FE VC
{0x09, 0x0B, 0x3F, 0x10}, //#enable Map SRC to DES (VC) 6 mapping for pipe0
{0x09, 0x2D, 0x55, 0x10}, //#map MAP_DPHY_DEST to MIPI Controller 1 ---
MAP_DPHY_DEST0~3 PORTA
{0x09, 0x2E, 0x05, 0x10}, //#map to MIPI Controller 1 ---MAP_DPHY_DEST4~5 PORTA
{0x09, 0x0D, 0x1E, 0x10}, //#map SRC0 data to VC0 YUV422
{0x09, 0x0E, 0x1E, 0x10}, //#map DES0 data to VC0
{0x09, 0x0F, 0x00, 0x10}, //#map SRC1 FS to VC0
{0x09, 0x10, 0x00, 0x10}, //#map DES1 FS to VC0
{0x09, 0x11, 0x01, 0x10}, //#map SRC2 FE to VC0
{0x09, 0x12, 0x01, 0x10}, //#map DES2 FE to VC0
{0x09, 0x13, 0x5E, 0x10}, //#map SRC3 data to VC1 YUV422
{0x09, 0x14, 0x5E, 0x10}, //#map DES3 data to VC1
{0x09, 0x15, 0x40, 0x10}, //#map SRC4 FS to VC1
{0x09, 0x16, 0x40, 0x10}, //#map DES4 FS to VC1
{0x09, 0x17, 0x41, 0x10}, //#map SRC5 FE to VC1
{0x09, 0x18, 0x41, 0x10}, //#map DES5 FE to VC1
//pipe 0, map data FS/FE VC
{0x09, 0x4B, 0x3F, 0x10}, //#enable 6 mapping for pipe1
{0x09, 0x6D, 0x55, 0x10}, //# map to MIPI Controller 1 PORTA
{0x09, 0x6E, 0x05, 0x10}, //#
{0x09, 0x4D, 0x9E, 0x10}, //#
{0x09, 0x4E, 0x9E, 0x10}, //# map data to VC2 YUV422
{0x09, 0x4F, 0x80, 0x10}, //#
{0x09, 0x50, 0x80, 0x10}, //# map FS to VC2
{0x09, 0x51, 0x81, 0x10}, //#
{0x09, 0x52, 0x81, 0x10}, //# map FE to VC2
{0x09, 0x53, 0xDE, 0x10}, //#map data to VC3 YUV422
{0x09, 0x54, 0xDE, 0x10}, //#
{0x09, 0x55, 0xC0, 0x10}, //#
剩余27页未读,继续阅读
资源评论
吴凯你在想啥呢
- 粉丝: 29
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 微软 Edge 配置百科 2.0 新版(2024.7.8更新),让你可以随心所欲配置、得心应手使用Edge的小工具
- mindspore ResNet50图像分类
- 网络安全案例详细介绍的案例文档网络安全案例详细介绍的案例文档
- 数学建模案例介绍文档-使用数学模型来预测喜讯在人群中的传播方式和速度等
- Infineon-Memtool-DevelopmentTools
- 2_2024上物联网通信技术-21物网-题库.doc
- user_del.php
- OpenHarmony移植小型系统EXYNOS4412 linux patch相关内容
- OpenHarmony移植小型系统EXYNOS4412 linux config配置
- OpenHarmony移植小型系统EXYNOS4412 linux内核build配置
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功