五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊

低成本FPGA的MIPI測試GOWIN和LATTICE CROSSLINK

2023-05-29 11:25 作者:bili_45120408914  | 我要投稿

本次實(shí)驗(yàn)MIPI屏,2.0寸,分辨率是240*320 RGB888, 接口如下:

  接上IO就是RST和MIPI的時(shí)鐘和數(shù)據(jù)接口,另外就是電源和地。

?

一:GOWIN的測試方案

?

  Gowin的案例中,首先是軟件要升級到Gowin_V1.9.8以上版本。使用的是IP是mpi-tx_adanve,這個(gè)IP才支持LP模式。另外一個(gè)mipi-tx是不支持的lp模式。所以用這個(gè)來設(shè)計(jì)。

這個(gè)IP 有個(gè)缺點(diǎn)是,SCLK是外部給他,千萬要注意這個(gè),這個(gè)SCLK是CLK-BIT除以4給的時(shí)鐘。

在modelsim下,找到codeproject/mipilcd/mipi/testmodel 文件夾下,找到sim_modelsim_gowin.do,如果gowin安裝目錄不一樣,需要修改gowin_dir 變量。

set gowin_dir "D:/programmer/gowin/Gowin_V1.9.7.02Beta/IDE/simlib/gw1n"

vlog \

+define+sim \

+define+gowin \

$gowin_dir/prim_sim.v \

../project/video_test_top/src/*.v \

../project/video_test_top/src/mipi_tx_advance/gowinmipi.vo \

../project/video_test_top/src/gowin_rpll/gowin_rpll.v \

../project/video_test_top/src/gowin_rpll/gowin_vclkref.v \

../project/video_test_top/src/gowin_sdpb/gowin8b.v \

../project/video_test_top/src/gowin_sdpb/gowin24b.v \

test_video_test_top.v

# Start the simulator #

vsim work.test_video_test_top –novopt

運(yùn)行 do sim_modelsim_gowin.do

LP模式的情況下是這樣

HS模式下是這樣的。

從邏輯分析儀得到波形,一致性。

設(shè)備測試圖片如下,按鍵可以切換MIPI測試圖案。

?

?

二:lattice crosslink測試方案

直接用MIPI DPHY的IP設(shè)定要求

?設(shè)定DSI模式,MIPI LANE的速率。PHY參考時(shí)鐘。

latticemipi latticemipi_inst
(
.clk_txhsen(phy_clk_hsen),
.clk_txhsgate(phy_clk_gate),
.clk_txlpen(mipi_lpclk_en),
.clk_txlpn(mipi_lpclk_n),
.clk_txlpp(mipi_lpclk_p),
.d0_txhsen(phy_hs_en),
.txdata(phy_hs_data),

.d0_txlpen(mipi_lp_en),
.d0_txlpn(mipi_lp_n),
.d0_txlpp(mipi_lp_p),
.pd_pll(0),
.refclk(sys_clk),
.usrstdby(0),
.txhsbyteclk(byte_clk),
.lock(byteclk_rstn),

// .d0_rxlpn( )
// .d0_rxlpp( )
.clk_n(clk_n),
.clk_p(clk_p),
.data_n(data_n),
.data_p(data_p)
);

注意LATTICE的Crosslink的mipi ip是輸出hs的時(shí)鐘。所以驅(qū)動(dòng)mipi 要必須了解mipi的正確的時(shí)鐘,否則沒辦法使用。


低成本FPGA的MIPI測試GOWIN和LATTICE CROSSLINK的評論 (共 條)

分享到微博請遵守國家法律
宣恩县| 洱源县| 龙陵县| 盐城市| 桦川县| 白沙| 佛冈县| 贵州省| 湾仔区| 西城区| 台东县| 岗巴县| 突泉县| 乌兰浩特市| 池州市| 南郑县| 银川市| 阳西县| 吉隆县| 蓬安县| 凤阳县| 治多县| 九台市| 沾化县| 且末县| 溧水县| 那曲县| 铁岭县| 沭阳县| 通道| 松滋市| 巴楚县| 芜湖县| 龙泉市| 雅安市| 汕尾市| 临洮县| 宜宾县| 德昌县| 牟定县| 合川市|