Thanks Marco for your answer.
My hardware is what you call "generic", a chinese one.

I'm using an Arduino Uno.
My wiring is like this
Arduino Uno - Matrix Dot
+5v -> Vin
Gnd -> Gnd
pin 12 Data -> DIN
pin 11 CLK -> CLK
pin 10 CS -> CS
I made some tests this morning, I changed the matrix (I have several), and I changed the Arduino.
Same results.
I made the MD_MAX72xx_HW_Mapper test with the matrix like this :
|||| up
I----I
I I
I----I
I I
I----I
I I
I----I
I I
I----I down
So as I said, in this orientation, the test give me this result :
#define HW_DIG_ROWS 0
#define HW_REV_COLS 0
#define HW_REV_ROWS 1
So I changed the MD_MAX72xx_lib.h to :
#if USE_OTHER_HW // user defined custom hardware configuration
//#pragma message "OTHER HW selected"
#define HW_DIG_ROWS 0 ///< MAX72xx digits are mapped to rows in on the matrix
#define HW_REV_COLS 0 ///< Normal orientation is col 0 on the right. Set to 1 if reversed
#define HW_REV_ROWS 1 ///< Normal orientation is row 0 at the top. Set to 1 if reversed
#endif
and the MD_MAX72xx.h to :
/**
\def USE_OTHER_HW
Set to 1 to use other hardware not defined above.
Module 0 (Data In) must be set up on the RHS and the CUSTOM hardware defines
must be set up in the MD_MAD72xx_lib.h file under for this section, using the HW_Mapper
utility to work out what the correct values to use are.
*/
#define USE_OTHER_HW 1
Is there anything wrong in this configuration ?
I tried to reverse (180°) the matrix, and change the config files but without success.
" Module 0 (Data In) must be set up on the RHS"
What do you call RHS ?