Hi Michael,
From your previous post:
[quote user="Michael Toolin"] // Device hardware initialization can be added here or in main() (Zmain.c).
// Configure the GPIO and ports correctly Begin Mike_T
P0_4 = 1;
P2_0 = 1; // Set both CS high
PERCFG &= ~0x01; // PeRCFG.U0CFG = 0 - Set Alt 1 location for SPI interface pg 78 swru191
P0SEL |= 0x2C; // pins set to peripheral function, not GPIO ,pg 78
P0SEL &= ~0x10; // Clear bit 4, enable GPIO function
P2DIR |= 0x01; // Set GPIO as output for A2D
P0DIR |= 0x10; // Set GPIO as output for ROM[/quote]
You have to configure chip select for A2D and ROM before assigning these
pins a value, means first configure PxSEL PxDIR, then set P0_4 = 1; and P2_0 = 1;
I'm very busy these days at the office, so I have no much time to entirely review your code.
Meanwhile try to debug with the right setting. Update this post, or write me a private message
if you have any question/progress