The SPI.LIB for the Rabbit 4000 seems to be written to support only 1 port at a time. The user can select one port from A,B,C,D, but there doesn’t seem to be an ability to have two or more ports functioning at the same time. Am I missing something?
I’m afraid it does seem to be that way.
You could look at copying the library and renaming the variables, macros and function names to create a separate SPI library for other ports (you could also trim out a lot of code in the copy if you know you are only going to use a particular port).
Regards,
Peter