Can you describe the problem in more detail? You have two LED matrices, right? One connected to one 7219 and the other to the other 7219? And how have you connected to the two 7219s together?
When you say "some code displays ok" can you be more explicit?
Your code displays "PEDRO" so do you see "P" on one and "E" on the other? Or what, exactly?