Ribbon cable (male female)

Hi,
I have to put my rpi5 and my pisound side by side and thus connect them with a ribbon cable. I cannot find a male to female one. I tried to inverse one end of a female female one I have, using long pins but it did not work. It seems that the two lines are swapped.
Is anybody able to give me the link to a usable male female ribbon cable?

If you have a female to female ribbon cable could you use a male to male pin header?

That’s what I tried but it seems that the two lines of pins are exchanged at the two ends.

Maybe you’re using a cable that swaps the pins? You could get another cable… GPIO Ribbon Cable for Raspberry Pi Model A+/B+/Pi 2/Pi 3/Pi 4/5 [(40 pins)] : ID 1988 : Adafruit Industries, Unique & fun DIY electronics and kits

If the pins are inverted in your cable, check whether the cable is built correctly - you can get swaps if you install one of the connectors flipped upside down. You may post a photo of what you have and we’ll see. Some times it’s built this way on a purpose, for specific use cases.

Male ↔ Female ribbon cables are very rare, I haven’t found one myself, but had some moderate success with sticking into a long pin header into one end of the Female ↔ Female connector, converting it to a Male ↔ Female one.

This one worked for me:

Great! I found it on Amazon (easier for me) with the term “hat ribbon cable”. It was not the first answer, though.

Here is what I got. I don’t know if it is well visible but the multimeter is ringing while it is not the expected pins that are touching.

This ribbon cable was connected to a device allowing to connect the gpio to a breadboard.

This connects the bottom (female) side of the Pisound’s connector with the top side of Raspberry Pi connector, so the mirrored rows would be expected. Ribbon cables like these are usually meant to connect two male header pins. If it was possible to connect it to the top side of Pisound, the rows would match up.

It is possible to build a custom ribbon cable with one connector looking up, the other looking down, then the rows would match up in female ↔ male connections, here’s a crude side view of such a cable: