Cannot get 5 inch touch screen to work with Manta M5P DSI+ CM5 #43

Basic Information:

Printer Model: NA
MCU / Printerboard: Manta M5P + CM5
Host / SBC: NA
klippy.log: NA

Describe your issue:

So I am currently experiencing confusion when it comes to interfacing a Freenove raspberry pi 5inch touch screen with the Manta M5P + CM5. First of all, I noticed that the DSI at the back of the M5P is a 15 pin 1mm pitch FPC connector rather than a 22 pin that the raspberry pi 5 usually has. This means that if I look for DSI FPC cables for raspberry pi screens (not for the cameras), all that I find are the 15 pin to 22 pin FPC cables. I managed to find a 22 pin to 22 pin ribbon cable (type B reversed - blue stiffners arent on the same side of the cable) which still didnt bring any luck.

I have tried even running the code provided by the manual from BTT:

sudo wget https://datasheets.raspberrypi.com/cmio/dt-blob-disp1-cam1.bin -O /boot/firmware/dt-blob.bin

However no luck. When I power on the manta board the LCD quickly flashes (black backlight turns on for a split second) then turns off. I thought maybe the type A straight through fpc cables may fix this issue however I cannot find any that are specifically mentioned to work with raspberry pi LCDs, although I have found a handful of type A FFC/FPC cables but again, they are pretty generic and not guaranteed to work with LCD/DSI.

Any pointers would be much appreciated

Welcome AZahr,

is it this Freenove 5 / 7 Inch Touchscreen Monitor for Raspberry Pi 5 4 B 3 B+ A+ one?

Is it meant to run with Klipper-Screen?

My guess is the M5P board was laid out to replicate the RP4. The 2x100 pin CM ↔ M5P may not support the newer DSI interface of the RP5. If it does it will be with the old cable that is used with a RP4.

@AZahr

I’m sorry for your troubles. It can be a real pain in the bum getting the various DSI displays to work on different Raspberry Pi models.

I can’t find specific information regarding the connector on the Freenove display and you haven’t provided it. It sounds like you are expecting a 22pin connector but you don’t describe what is the connector on the Freenove display - if it is 15 pin, then I would think a straight 15 pin ribbon cable should work.

Personally, I’m using BTT TFT5 displays on my printers and they have 15 pin connectors that work fine with Manta M8Ps, a Manta M5P as well as my own custom board (which all have 15 pin connectors). I have them running on CM4s, a CM5, CB2 and Orange Pi CM4. So, it can be done.

The standard for Raspberry Pi boards is the 15 pin connector used on the Manta boards. The CM4 IO board had a 22 pin connector put on that has exactly the same pin connections as the 15 pin connector. My understanding is that the rPi 5 went with the 22 pin connector that is used on the CM4 board because it is physically smaller.

Just to show you:

The Raspberry Pi 15 pin DSI connector pinout

The CM4 IO Board 22 pin DSI connector pinout:

There is no difference in the pins used between the connectors and the signals are all identical between Raspberry Pi models. There is no difference in the DSI port signals between the Raspberry Pi 5, the CM5 and other Raspberry Pi models.

If you have the LCD flashing on and off, that sounds like it is getting power. On other DSI displays that I’ve worked with there is a power indicator LED that stays on while power is applied to the display. Does this one have one? If it does, then there’s a good chance that if it stays lit, then you’re good to go.

Looking at the Freenove page (which doesn’t have documentation), there seems to be a separate 5V power connection to the Raspberry Pi’s 40 pin connector pins 4 & 6. Do you have this on your setup?

Where did you get the dt-blob.bin code? I have had problems with that in the past as there are at least two versions available from Raspberry Pi and one of them didn’t work for me. You might want to look around there.

Looking at the product page I see:

Did you contact Freenove with questions?

Next, you should go through:

I don’t see any information on the Freenove displays but you might find something of value there.

The next stop would be reaching out to the various Raspberry Pi forums to see if anybody can give specific instructions as to what to do.

The good news is that this really a Raspberry Pi issue. That means you should be able to get more and better information as well as support from people who’ve worked with both the CM5 and Freenove display.

If you can’t find any help in the resources listed above, then post with more information regarding your hardware (including connectors and number of pins) as well as your set up procedure and what you’ve done to support the display.

1 Like

Just before I double check and answer all the questions youve asked me, and I should have put this in the original post but I currently have Raspberry Pi OS Bookworm (Desktop Version) flashed onto the CM5 and I was hoping to get the touch screen working outside of KlipperScreen. Pretty much the first stage I want to achieve is for the touch screen to work and display the PI OS desktop. I am not sure if this changes the nature of the solution but I though I’d mention that.

I currently cant find any pinout diagrams and Im looking into contacting Freenove as well in parallel so as Soon as I get an answer from here I’ll definitely post it here.

So just to also clarify, I had to find a 15 pin to 15 pin FFC ribbon connector to connect the screen so i went an ordered this one:

It was really the only 15 pin to 15 pin FFC ribbon connector I could find but now that I go back and look at it, these may not even be compatible as the title says ā€œModule Cameraā€. At the time I read the description and it said ā€˜external displays’.

This leads me to my next problem. Where do I source a FPC ribbon connector that work for LCD touch screens (DSI) that is 15 pin 1mm pitch on both ends as the regular 15 pin to 22 pin wont fit on the Manta M5P (the DSI connector on both the Freenove and Manta board are both the 16mm wide ones). I have look everywhere and seem to only find the 15 to 22 or the 15 to 15 that are only for cameras.

I hope this information helps, but given that freenove are very minimal with their datasheets and diagrams it makes it slightly harder to find a solution.

Didn’t the display have cables included in the package?

That’s a pretty reasonable way to approach things.

That needs clarification - as @cardoc asked, what were you given in the Freenove kit?

Also, I can’t see the page as Amazon here won’t access the Australian version and just goes to Canada where the link doesn’t work. Regardless, a straight 15 pin to 15 pin should not be an issue.

Not really. I guess I didn’t ask explicitly enough in my last post. What you need to provide:

  1. What were you given in the Freenove kit? When I looked at the product website it says that cables come with the display.
  2. What exactly happens when you connect the display to your M5P and turn on the power? You said that it flashes and the backlight comes on. Is there an LED to indicate that there is power on? I’m asking because the LCDs I’ve worked with have them.
  3. What exactly is the process you used to set up the CM5 (including loading the bt-blob.binfile) and where did you get this process and the files that you used?

The ribbon cable I linked from amazon is a Type B (reversed) FFC cable where the stiffners are on the opposite side, I read over some forums and people have mentioned they had it working with the Type A (straight through) FFC cables where the stiffners are on the same side. I found a spare Type A FFC cable from a camera module kit but I still didnt have any luck.

  1. The freenove kit simply came with 1 cable which is the reason why I bought the FFC from amazon, because the cable that came with the Freenove dosent fit into the manta since the 22 pin 0.5mm pitch end of this cable (thinner end) is too small for the Manta M5P dsi port which seems to have the 15 pin 1mm pitch connector (wider end) - See the image in this link since I cant share images, this is pretty much how the ribbon cable looks like - DSI Display Screen Adapter Cable for Raspberry Pi 5 - 300mm, 22-way to 15-way
  2. There was a single flash when I turned it on but nothing at all afterwards, no light or power LED. I saw the same behaviour with both the 7 inch and 5 inch version of the freenove screen.
  3. Setting up the CM5 Involved:
    1. Mounting it onto the CM5 board.

    2. Flashing the full version of RPI OS Bookworm version that comes with the desktop.

    3. Running wire from the main Power screw terminals for the Manta into the power screw terminals for the CM5

    4. Plugged in DSI ribbon cables into DSI port at back of Manta. I have tried every type of combo and ribbon cable orientation possible

    5. I then headed over to the Manta M5P guide and followed this section: ā€œDSI1 Display The default display interface is HDMI, and the DSI interface of MANTA M5P is DSI1, you need to download the DSI1 driver, and enter the following in the command line (Note: For systems released on or after 2023-10-10, the path is /boot/firmware/dt-blob.bin, and for systems released before that, the path is /boot/dt-blob.bin):
      ā€œsudo wget https://datasheets.raspberrypi.com/cmio/dt-blob-disp1-cam1.bin -O /boot/firmware/dt-blob.binā€
      After downloading this driver and restarting, the screen connected to the DSI interface can be displayed normally. If you want to use the HDMI interface, you need to delete the downloaded /boot/firmware/dt-blob.bin driver and restart, and then the HDMI can output normally.ā€

      1. That is where I ran the code given ā€œsudo wget … -O /boot/firmware/dt-blob.binā€ and then did the restart.

Why didn’t you answer my question?

I was even welcoming you :wink: and asked first :wink:

I’m astonished that cardoc and mykepredko answered before that was clarified.

If I get it right, you want to connect a BTT Manta M5P with a hooked on RPi CM5 to ā€œDSI1ā€ or ā€œCAM1ā€ connector on your Manta to your display? …and make it working.

Again, is this your display?

Why was this discussion started about FPC connectors and cables before we know what display we are talking about?

Hi, I am very sorry for not replying, I had alot to do recently and havent had time to go through all the replies. I really appreciate offering to help as well it means a ton!

Yes that is the screen I bought.

ā€œIf I get it right, you want to connect a BTT Manta M5P with a hooked on RPi CM5 to ā€œDSI1ā€ or ā€œCAM1ā€ connector on your Manta to your display? …and make it working.ā€ and yes that is correct.

1 Like

Was this delivered?

Yes exactly ive used that cable too.

I went a step further and ordered a 7 inch freenove touch screen and a 5 inch waveshare touch screen and I am still running into issues. No power no backlight no nothing, the cm5 is running just fine through pi connect so thats definitely not an issue.

I’ve tried all possible combinations of the ribbon cable and yet no luck either. I honestly have no clue what else to try at this point.

At this point I’d have to assume either the CM5 or M5P has hardware issues.

Manufacturing defect or damaged by handling or ESD? Who knows?

Which piece is defective? Your guess is as good as mine.

This is indicative of a wiring problem.

You should be getting some kind of indication that power is getting to the display.

Unfortunately, I have no experience with any Freenove or Waveshare product but I do have experience with the BTT TFT Manta M5P and M8P (V1) and there is a power indicator LED, which you don’t seem to be indicating that is present.

I don’t know what your level of technical expertise but you should be able to detect 3.3V power on pins 1 & 15 of the DSI connector on both the M5P and the Display. Pin 15 is +3.3V and Pin 1 is Ground.

I will give it a go tomorrow morning with a multimeter and write here with any findings. Thanks for the reply

2 Likes

I have another hunch, I’ll get back soon.

@AZahr

Please let’s stay with the Freenove and nothing else.

There are no official schematics published of RPi 5 and CM5.
This is also a light critique of Raspberry Pi Foundation, but I’m not the first one! Maybe they make so much money selling their products to industries, that they don’t want (or can’t) publish schematics for the ā€œsmallā€ user.

Just this cm5-reveng/CM5RevEng.pdf at main Ā· schlae/cm5-reveng Ā· GitHub , but…
Very funny (nerdy) people :wink:. You may find the datasheet of ā€œThe Best Op-Amp in the Worldā€ https://tubetime.us/wp-content/uploads/2018/10/Ideal-Op-Amp-Datasheet.pdf for example :wink:.

BTT doesn’t claim anywhere to support CM5 on Manta M5P or Manta M8P. For Manta M8P it seems to work Support for Raspberry CM5 ? Ā· Issue #131 Ā· bigtreetech/Manta-M8P Ā· GitHub .
Manta M5P and Manta M8P are pretty similar, so we might assume CM5 will work on Manta M5P.

Did you have a look here GitHub - Freenove/Freenove_Touchscreen_Monitor_for_Raspberry_Pi: Apply to FNK0078 ? I would go through Freenove_Touchscreen_Monitor_for_Raspberry_Pi/FNK0078 FAQs.pdf at main Ā· Freenove/Freenove_Touchscreen_Monitor_for_Raspberry_Pi Ā· GitHub and use one of those cables on DSI1 (P3) on your Manta M5P

The only thing Raspberry Pi Foundation published about CM5 is this https://datasheets.raspberrypi.com/cm5/cm5-datasheet.pdf. Have a look at ā€œAppendix C: Differences between CM4 and CM5ā€! Could be an issue?