MAX7221 No output to LED Matrix

Using MAX7221 to drive an 8x8 LED Matrix.
Testing with sketch "MD_MAX72xx_HW_Mapper" from MD__MAX72XX library. Have not modified code.

Problem: MAX7221 Segment and Digit pins are not outputting anything.
The Arduino does have signal outputs on CLK, DIN and CS pins. Mapper code works on Arduino, but MAX does not respond.

Schematic attached. (shows MAX7219 although using MAX7221)
ISET resistor set at 25K

Digit pins driving rows
Segment pins driving columns

CLK_PIN = 13
DATA_PIN = 11
CS_PIN = 10

Any ideas of what I am dong wrong?

Photo of wiring.

What voltage do you measure across pins 4 to 19 of the Max chip?

.

I measure 5.00 V from pin 4 to pin 19.

Good heavens! A genuine maxim chip...

You have the Digit pins going to anodes, instead of the common cathodes.
Try a 10K instead of 25K as well.

CrossRoads:
You have the Digit pins going to anodes, instead of the common cathodes.
Try a 10K instead of 25K as well.

Someone is sharp today :wink:

That worked! Thank you CrossRoads.

Reading about how to switch rows and columns and left/right in the header file.

MD_MAX72xx_HW_Mapper results are:
#define HW_DIG_ROWS 1
#define HW_REV_COLS 0
#define HW_REV_ROWS 0

When I change values in MD_MAX72xx_lib.h and rerun hardware mapper there is no change.

Question 1: Do I change values for these settings in the MD_MAX72xx_lib.h file or the MD_MAX72xx_.h file ?

Question 2: Do I select #define USE_GENERIC_HW 1? I built my own LED matrix.

thanks for your help

Rich

Ok, I figured it out. You edit both files. Posted here in case anyone else is trying to figure it out.

MD_MAX72xx.h -
Under the correct #define section where you show what type of LED Matrix you are using, set to 1 for your hardware. Set others to 0.

\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

MD_MAX72xx_lib.h -
In the section that mathes up with what you selected for hardware in MD_MAX72xx.h set these to correct on or off. i used HW Mapper to find out they should be 1 0 0.

#if USE_OTHER_HW // user defined custom hardware configuration
//#pragma message "OTHER HW selected"
#define HW_DIG_ROWS 1 ///< 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 0 ///< Normal orientation is row 0 at the top. Set to 1 if reversed
#endif