跳到主要內容

zynq as MIPI CSI development platform



Zynq-7000 is the most integrated low cost one-chip-for-all solution at this moment, it can be used for interfacing with camera sensors.



however, from Igor Gorokhov of Aldec:

Although the Zynq-7000 devices are not fully electrically compatible with the MIPI D-PHY physical protocol used for CSI-2, those data lines can be accessed by Zynq using the LVDS I/O standard running in HS mode.






Adam Taylor's blog, on using Micro Zed board:

When we implement a MIPI CSI-2 solution in our FPGA, we will most often be using a D-PHY based solution. Even if a IP core is used for the higher levels of the protocol, the D-PHY is normally configured by the developer as that is where the line rate, clocking and pin out are defined. This D-PHY block is then connected to the MIPI IP Core.

Depending upon if we are implementing the MIPI solution in a Zynq (or seven series FPGA) or a Zynq MPSoC (UltraScale+ FPGA), the physical elements of the D-PHY will be different.

The MPSoC includes D-PHY support directly within the IO resources. However, the Zynq does not as such we have two options for the Zynq depending upon the data rate.




.....We can implement an external resistor-based solution which implements a D-PHY compatible solution. Alternatively, we can use an external PHY such as the Meticom's MC20002.


From Zynqberry:



MIPI CSI2 camera processing path is bit longer, it is first converted from CSI2 signals into intermediate PPI Interface also defined by MIPI alliance as the MIPI PHY interface. PPI is then converted to AXI4-Stream. As next step the video data passes dual clock FIFO to move into system clock domain. Then the camera data is processed to convert RAW10 format into RGB. Before going to Xilinx VDMA IP Core the video data is resized so that it can directly be displayed on HDMI monitor.

Adam Taylor's blog on zynqberry 

bear in mind of all such limitations, zynq is still a versatile platform as long as the data rates are below the reduced speed D-PHY, Here is a demo based on ZYBO Z7 board , using PCAM-5C ( 5MP OV5640) camera


More details on
The resistor network for transforming an LVDS receiver into a compatible D-PHY receiver , in XAPP894

留言

這個網誌中的熱門文章

Scythians 斯泰基 塞種 西古提人

900 BC - 200 AD British museum   Tomb of scythe prince, Buktarma valley, 1200 masl, Google map Herodotus   絲路上的帝國 Biblegeography   哥羅西書 3:11  在此並不分希利尼人、猶太人、受割禮的、未受割禮的、化外人、 西古提人 、為奴的、自主的.惟有基督是包括一切、又住在各人之內。 塞種 塞迦  saka 史記漢書 西域傳: 塞種  ctext 昔匈奴破大月氏,大月氏西君大夏,而塞王南君罽賓。塞種分散,往往為數國。自疏勒以西北,休循、捐毒之屬,皆故 塞種 也。 匈奴列傳 Ctext :塞王 《史記》在《大宛列傳》與《匈奴列傳》中, 詳細 記錄了中亞至天山一帶的塞種(塞王、塞地)狀況。例如,文中記載了月氏西破走塞王,導致塞人南遷越過懸度(今帕米爾高原及克什米爾一帶) Baike Genetic history   Genetics  Nih griffin  ? Scytho-Siberian  world 塞迦 saka  wiki Disappeared? Sarmatians ( 薩爾馬泰 , 奄蔡 史記 ,  Aorsi )and goths YouTube  

calculate pH of phosphoric acid

Question: adding 1/4 teaspoon of 10% phosphoric acid  to 19 litres of water, what will be the pH? Let's go through the calculations step by step. Step 1. Convert mass ( or volume) of 10% phosphoric acid to mole per litre ( mol/L) The above calculation shows that 1/4 tsp of H3PO4 acid is 6.97e-5 mol/L Step 2. Input this value to BATE (or other app) to calculate pH The answer: pH = 4.16, ie too acidic !? If you use pipette instead of teaspoon,  1 drop = 0.05ml. So 1/4 TSP means roughly 25 drops If you actually aim for pH 5.6 (which is optimum pH for mashing), conc will be 2.51 e-6, or 1/100 tsp , 0.044 ml, roughly 1 drop Let's roll back a bit. From  recipes of   BarleyWine , summer rye , hefe Gordon Strong suggested to use 1/4 teaspoon of 10% phosphoric acid, which is targeting pH of 5.5..... Discussion on  homebrewtalk  forum. However using online BF water calc , Sparge pH would be 4.6. but he also added 1 tsp of CaCl2. 2H20. Mash pH change from 5.7 t...

ES8311 and ES8388 codec IC

ES8388 audio codec module is one of the audio codec modules available that is supported by ESP32 and official ESP-ADF releases. The ES8388 module lets you have: Stereo microphone and line input Stereo headphone and line out Up to 96 kHz 24 bpp high quality audio This module is compatible with all MCUs that have I2C and I2S ports (like ESP32, ESP8266, STM32, i.MX6, Raspberry Pi, etc) ES8311 Maxgerhardt github PCBartist twblogs ESP32-A1S  (limited stock)Audio codec AC101 or ES8388 built-in. NB the pinouts and firmware are different! Arduino - ESP31-A1S instructable Phil Schatzmann and his github   Simple A2DP thaaraak github on ESP32-A1S github of Yveaux and  Marcel-licence ESP ADF   example:  Logitech PiCorePlayer squeeze lite squeezebox forum   ESP32-Audio-kit  (from AI thinker) based on ESP32-A1S, is simple and small. But upgrade-ability seems limited  Alex John Talbert mixer equalizer: can this be used as simple equalizer? how about proces...