Ma'm please help me out.I want to activate external I/O in two RCM4000 so as to transfer data from one module to other.

So ,should I make RCM4000 1 as slave and RCM4000 2 as master.?Can you provide the commands to activate the registers? Or can you Please tell which all registers to be activated?

To use external IO you need to put the following at the top of your code:

#define PORTA_AUX_IO

If you want to use two boards as master and slave see samples\slaveport*.c.