futz
Active Member
Is there some sneaky trick to getting SPI master out to work on a PIC? I've written working SPI code for 68HC11, HC12, various AVRs and other MCU's, but I've never gotten the big fat zero like I always get with PICs (well... once, but that was different)
The datasheet gives very little detail (not enough). The manuals are very helpful for asynchronous and have pages about i2C. Only a couple small paragraphs about SPI.
I could bit-bang it probably, but I want to use the hardware. I'm already doing my own CS control because I want to send 16-bit packets and I don't know any other way to do that.
I'll post my code tonight if necessary. I don't have it on this machine.
The datasheet gives very little detail (not enough). The manuals are very helpful for asynchronous and have pages about i2C. Only a couple small paragraphs about SPI.
I could bit-bang it probably, but I want to use the hardware. I'm already doing my own CS control because I want to send 16-bit packets and I don't know any other way to do that.
I'll post my code tonight if necessary. I don't have it on this machine.