Hello, It seems like you want to use external interface on the module through the Auxiliary I/O Bus?
By using WrPortI() you can set the internal registers.
For more information on this please check Dynamic C function reference manual.
And also check processor reference manual to know more about what are the steps you need to follow to use Auxiliary I/O Bus.
Thanks.
Is the following command correct?
WrPortI(IB2CR,&IB2CRShadow,0x82);
—for setting up I/O bank 2?
Actually this register is ,to set wait state and read or write strobe.
Please check the processor’s reference manual page 263 for more info on the IB2CR bits.
http://ftp1.digi.com/support/documentation/019-0152_N.pdf
Thanks.
can you provide me the commands to interface an fpga to RCM4000?
What should I do for this?
I have set SPCR register.after that what should I do to read data from external I/O?
pls provide sample programs…