gatecat / CSI2Rx

Open Source 4k CSI-2 Rx core for Xilinx FPGAs
MIT License
381 stars 104 forks source link

ice40? #4

Open peepo opened 5 years ago

peepo commented 5 years ago

David

is ice40 permanently stalled?

I do appreciate you are heavily committed on other open source initiatives!!

have potential interest and/or project, any chance of a headsup?

thanks again

daveshah1 commented 5 years ago

CSI-2 input is working, no immediate plans for CSI-2 output. Happy to help others take this on though.

peepo commented 5 years ago

What does 'CSI-2 input is working' imply? what is the output? and setup? and limitations: which ice40? I would expect any cannot fulfill 4K 30fps

Could you please add a bit more info? I am keen to have a go, but would benefit from further detail I have written documentation, so once I have working, can provide pull request

Do you have any stills (or video?) output Are any especial boards required, ie ice40 to RPi V2 camera

thanks again!

chipca2 commented 4 years ago

I would also love to know how to get the ice40 setup working.

When using MIPI cameras with the Raspberry Pi or e.g. the Arduino Vidor, it seems that an SPI channel is used to set up the camera. From what I can see there is nothing like that here. Is it not necessary for basic functionality, or do I need some more IP blocks to take care of that?

Some instructions for a "bare minimum" ice40 setup (including some notes on hardware; i.e. the components/custom design that you have been using) would be super helfpul.

Thanks a lot!

daveshah1 commented 4 years ago

When using MIPI cameras with the Raspberry Pi or e.g. the Arduino Vidor, it seems that an SPI channel is used to set up the camera. From what I can see there is nothing like that here. Is it not necessary for basic functionality, or do I need some more IP blocks to take care of that?

It is almost always I²C, not SPI, just with a name to get round tedious trademark issues. You don't necessarily need an IP block for this - the MARLANN ctrlsoc example bitbangs it from a picorv32 softcore, see https://github.com/SymbioticEDA/MARLANN/blob/master/demo/camera/cameraif.v#L114-L154 and the software side https://github.com/SymbioticEDA/MARLANN/blob/master/demo/camera/camera.c#L21-L162

Takayama-Lissajous commented 4 years ago

Sorry for interrupt.

I also have some question about MIPI signal Input.

MIPI signal voltage is 200mV, How FPGA can recognize these signal?

I know fpga have LVDS IO. but it is 1.27V(CMOS) Range. Not 200mV.

Thanks.

2019년 12월 2일 (월) 오전 2:14, David Shah notifications@github.com님이 작성:

When using MIPI cameras with the Raspberry Pi or e.g. the Arduino Vidor, it seems that an SPI channel is used to set up the camera. From what I can see there is nothing like that here. Is it not necessary for basic functionality, or do I need some more IP blocks to take care of that?

It is almost always I²C, not SPI, just with a name to get round tedious trademark issues. You don't necessarily need an IP block for this - the MARLANN ctrlsoc example bitbangs it from a picorv32 softcore, see https://github.com/SymbioticEDA/MARLANN/blob/master/demo/camera/cameraif.v#L114-L154 and the software side https://github.com/SymbioticEDA/MARLANN/blob/master/demo/camera/camera.c#L21-L162

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/daveshah1/CSI2Rx/issues/4?email_source=notifications&email_token=AHY7OMEO6TPH7OXZV6KWLETQWPWHZA5CNFSM4GZITT4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFRPGDQ#issuecomment-560132878, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHY7OMA7PD44PDEARC37JBLQWPWHZANCNFSM4GZITT4A .

ouch3994 commented 2 years ago

Hi! this Verilog code package has issues with place and routing on the icebreaker board (ICE40UP5k) through iCECube2, is this because LVDS DDR inputs are hardcoded to map to Bank3 of ice40 devices, and of the icebreaker board there is only banks 0,1,and 2?

thanks, J