bigtreetech / Manta-E3EZ

68 stars 9 forks source link

Manta E3EZ - CM4 - Camera/DSI ports not working #5

Closed Will-wastelander closed 1 year ago

Will-wastelander commented 1 year ago

Unable to get DSI screen or rPi cam to work on this board. I have copied the dt-blob.bin file to /boot as stated in documentation. What other steps are required to get these items working ? Screen is BTT PiTFT50 v2.0, and Camera is rPi NoIR camera. Camera worked on rPi 4 4GB before switching to Manta E3EZ mainboard. I have already replaced the cables with brand new ones, and confirmed that they are connected correctly.

pi@mainsailos:~ $ vcgencmd get_camera supported=0 detected=0, libcamera interfaces=0

Will-wastelander commented 1 year ago

Got display working, but camera is still not working.

Will-wastelander commented 1 year ago

This is my second board that is doing the same thing.

DarKingF0x commented 1 year ago

Cm4 should use hdmi, for this particular board the CB1 uses the SPI DSi, and CM4 hdmi.

Will-wastelander commented 1 year ago

I have DSI display working w/ CM4, I need to get rPi camera working now.

looxonline commented 1 year ago

Just copying a pic of your comment on Discord over to here for reference:

image

Will-wastelander commented 1 year ago

Determined that a CSI "A type" cable is required in order for the camera to work, as the pins are in fact incorrect on the Manta E3EZ. The below 2 items are what I had to use in order for a standard 2 foot CSI cable to work. The pins are mirrored from what the standard CSI pins are.

https://www.amazon.com/uxcell-Flexible-Cable-Ribbon-Player/dp/B07RVD2MZV/ https://www.amazon.com/gp/product/B07RWF4QCY/

karrui commented 1 year ago

If you do not want to buy a new type A FFC, you could also peel away the plastic backing of one end and fold the now soft connectors upwards to form a pseudo type A FFC from a type B.

looxonline commented 1 year ago

Determined that a CSI "A type" cable is required in order for the camera to work, as the pins are in fact incorrect on the Manta E3EZ. The below 2 items are what I had to use in order for a standard 2 foot CSI cable to work. The pins are mirrored from what the standard CSI pins are.

https://www.amazon.com/uxcell-Flexible-Cable-Ribbon-Player/dp/B07RVD2MZV/ https://www.amazon.com/gp/product/B07RWF4QCY/

As we discussed on Discord, I have confirmed that the pins on the Manta E3EZ are not inverted and there are simply different connectors used between it and the Pi4b adapter which is why the numbering looks different. I can also prove this based on not my evidence, but the evidence that you have provided. See below.

You state that you fixed this issue by purchasing a type A cable and an extender and using them in combination with a standard, 2 foot CSI cable. Let's put this statement to the test and see if it results in an overall type A or type B cable.

Some important things to note are:

Drawing the cable type using ASCII art below reveals something interesting:

TOP ---------2ft TypeB------------- BOTTOM (EXT IN) -- (EXT OUT) BOTTOM -----------TypeA--------- BOTTOM

We note that the combination you have mentioned actually results in an overall type B and not a type A. Since you state that this works, this proves that the Manta E3EZ pins are correct.

I would have to assume that either you were originally using the extender with two type B cables or you were originally using a single type A. Either way, it is not cool to mislead others into thinking that they need to purchase a type A cable for the board to work. If this was done by mistake, then that is understandable because it is easy to get lost in the details of which side of the connector should go where and what cable is what type. Nevertheless, I want other reading this thread to please take note of this comment so that they do not purchase a type A cable only to find it not working.

Additional evidence of the extender flipping the type is found in the amazon reviews for it:

image

Will-wastelander commented 1 year ago

So after 4 boards, I was able to get this working with my original setup.

Gabbajoe commented 8 months ago

If you do not want to buy a new type A FFC, you could also peel away the plastic backing of one end and fold the now soft connectors upwards to form a pseudo type A FFC from a type B.

Hi this hint made for me on a Manta M5P the raspberry Pi cam v3 working! If I use the Type B cable the CM4 module on my Manta M5P gose away. this means my shells closes and ping to the host is no longer possible also the the activity LED was just dim flickering and the CM4 module never boots. So I the cam connector on the Manta M5P is wrong.