hdl-util / mipi-demo Goto Github PK
View Code? Open in Web Editor NEWMIPI CSI-2 + MIPI CCS Demo
License: Other
MIPI CSI-2 + MIPI CCS Demo
License: Other
Hi @sameer,
Thank you for sharing all your work. I find it very helpful and i learn a lot from it.
I saw you mentioned that there is support for imx219 driver at https://github.com/hdl-util/mipi-ccs.
May i know if imx219 driver is working? I tried it but it doesn't seems to show anything from the camera except arduino logo.
I swapped the ov5647 module to imx219 as below:
imx219 #(.INPUT_CLK_RATE(48_000_000), .TARGET_SCL_RATE(100_000)) imx219 (
.clk_in(CLK_48MHZ),
.scl(MIPI_SCL),
.sda(MIPI_SDA),
.mode(mode),
.resolution(resolution),
.format(format),
.ready(ready),
.power_enable(MIPI_GP[0]),
.model_err(model_err),
.nack_err(nack_err)
);
Beside that there is some timing violations during synthesis not sure if this is a problem.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
; Slow 1200mV 85C Model Setup: 'mem_pll|altpll_component|auto_generated|pll1|clk[0]' ;
+--------+-------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------+-----------------------------------------------------+--------------+------------+------------+
; Slack ; From Node ; To Node ; Launch Clock ; Latch Clock ; Relationship ; Clock Skew ; Data Delay ;
+--------+-------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------+-----------------------------------------------------+--------------+------------+------------+
; -2.274 ; arbiter:arbiter|fifo:pixel_read_fifo|receiver[5] ; arbiter:arbiter|fifo:pixel_read_fifo|gray_code_chain:gray_code_chain_receiver|value_chain[0][5] ; hdmi_pll|altpll_component|auto_generated|pll1|clk[0] ; mem_pll|altpll_component|auto_generated|pll1|clk[0] ; 0.771 ; 0.014 ; 2.920 ;
; -2.270 ; arbiter:arbiter|fifo:pixel_read_fifo|receiver[7] ; arbiter:arbiter|fifo:pixel_read_fifo|gray_code_chain:gray_code_chain_receiver|value_chain[0][6] ; hdmi_pll|altpll_component|auto_generated|pll1|clk[0] ; mem_pll|altpll_component|auto_generated|pll1|clk[0] ; 0.771 ; 0.014 ; 2.916 ;
; -2.234 ; arbiter:arbiter|fifo:pixel_read_fifo|receiver[5] ; arbiter:arbiter|fifo:pixel_read_fifo|gray_code_chain:gray_code_chain_receiver|value_chain[0][4] ; hdmi_pll|altpll_component|auto_generated|pll1|clk[0] ; mem_pll|altpll_component|auto_generated|pll1|clk[0] ; 0.771 ; 0.014 ; 2.880 ;
; -2.233 ; arbiter:arbiter|fifo:pixel_read_fifo|receiver[6] ; arbiter:arbiter|fifo:pixel_read_fifo|gray_code_chain:gray_code_chain_receiver|value_chain[0][5] ; hdmi_pll|altpll_component|auto_generated|pll1|clk[0] ; mem_pll|altpll_component|auto_generated|pll1|clk[0] ; 0.771 ; 0.014 ; 2.879 ;
; -2.219 ; arbiter:arbiter|fifo:pixel_read_fifo|receiver[6] ; arbiter:arbiter|fifo:pixel_read_fifo|gray_code_chain:gray_code_chain_receiver|value_chain[0][6] ; hdmi_pll|altpll_component|auto_generated|pll1|clk[0] ; mem_pll|altpll_component|auto_generated|pll1|clk[0] ; 0.771 ; 0.014 ; 2.865 ;
; -2.175 ; arbiter:arbiter|fifo:pixel_read_fifo|receiver[3] ; arbiter:arbiter|fifo:pixel_read_fifo|gray_code_chain:gray_code_chain_receiver|value_chain[0][2] ; hdmi_pll|altpll_component|auto_generated|pll1|clk[0] ; mem_pll|altpll_component|auto_generated|pll1|clk[0] ; 0.771 ; 0.014 ; 2.821 ;
; -2.173 ; arbiter:arbiter|fifo:pixel_read_fifo|receiver[2] ; arbiter:arbiter|fifo:pixel_read_fifo|gray_code_chain:gray_code_chain_receiver|value_chain[0][1] ; hdmi_pll|altpll_component|auto_generated|pll1|clk[0] ; mem_pll|altpll_component|auto_generated|pll1|clk[0] ; 0.771 ; 0.014 ; 2.819 ;
Hi,
thank you for all your work and samples it helped a lot to get some results with my board!
I am using most of your files with my ECP5 CM4 IO compatible board, and I am now able to get stable picture.
But I get 16 pictures and I can see that at least two are different.
Maybe you had something similar and could point me to solution?
I am using ov5647 raspberry cam rev 1.3
Here is better picture with timer
Hi @sameer,
Firstly, thank you for doing all this work to get a working mipi-hdmi interface on the mkr vidor. I'm new to FPGA's and have been using this board to test some basic logic gate examples. Up until now, I've been using the method shown here to simultaneously upload SAMD21 code as well as the bit file to the FPGA.
I would love to implement and demo your code, and ultimately try to save image frames to an SD card. Having reviewed the files in your repository, I was wondering if the prior method could be used, or if another method is required?
Additionally, I am unfamiliar with HDLmake, is this tool also necessary for compiling?
I apologize for this basic implementation question, any help would be greatly appreciated.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.