Glad to hear you have a working SPI interface for your project. Post the sources here if you like.
Daryl,
I have attached the PLD file. It removes the MRD and MWR lines as not needed (and I was thinking to add an /BGACK line for 68k, but my glue chip handles that anyway). The only thing it really does is not qualify to PHI2, but to /AS (Address Strobe). Works great! Thank you for your hard work on this.
NOTE: I fought with the original PLD file for a week because I could not get anything to work. The 65SPI was completely taking over the system bus. It was very aggravating, then I realized that the new WinCUPL (I downloaded the latest for Windows 11) was reassigning all of the pins from the PLD. I changed the line:
Code: Select all
PROPERTY ATMEL {PREASSIGN = YES}; /* Allow pin pre-assignment */
to
Code: Select all
PROPERTY ATMEL {PREASSIGN = KEEP}; /* Allow pin pre-assignment */
Then, it kept the defined pin locations. It was only because I started going through each of the output files carefully, and one of them produces a pin map that I realized what was happening. I assume that change was with the new WinCUPL; otherwise, it would have been brought up.