I was using general purpose i/o to send the data, I did change the code to reflect the requirements of spi. It looks to me that I need only three pins. serial in, a clock signal and a chip select. In the timing requirements most were min.40ns signals. I thought because of the crystal I was using (11.059mhz) and 1 mach. cycle = 12 crystal cycles. 1 mach cycle is around 1048ns I was well within the min. with no delays.
Maybe I should be asking if an at89c4051 is a good mc to be impementing an spi interface with? Is software spi not possible.
I was using code for i2c just for a base. I reconfigured it to what I have now. and as I read it, I feel it should work. I am just a noobe, I am learning new things everyday. I appreciate and value your help.
fiveten