Quote:
Originally Posted by mitchellweb1
|
Thanks for working on this!
I've been playing with this code and had trouble with the chip select being short when I used a slower clock rate. I traced this to calling the following code after the transfer (in the transfer method)
Code:
tSPI.writeChannels_SS_Module(0);
tSPI.writeChannels_SS_Channel(0);
I commented it out and things are working. This might break if there are multiple devices on the bus, but I'm only using one. My problem might have been aggravated because I'm using a write only device and I had to remove the loop waiting for the read.