Do you think it would be too risky to just assume the transmission is complete if I am only sending a byte or two?
just send using MSSP and go about your business or must I poll the flag?
do I have...
Correct on both accounts. As the SPI clock frequency goes up there's not much gain going the interrupt route so you can just as well poll the flag like that. The MSSP module CAN be a bit tricky to...
HenrikOlsson Yesterday, 20:41I assume you are correct, thanks but I really think that could be worded much more clearly if so.
The manual says SHIFTOUT is about 50kHz clock dependent on osc freq, what is 50k based on osc...
Hi All
Thanks for all your advice guys.... Turns out I was right with the defines except the 9600 should have been 9615
The thing that fixed it all was putting a small delay (pause 100) between...
Hi,
If you have WORD sized variable and specify 12bits, MSBFIRST, one might think that it would shift out bits 15-4 but it doesn't. It shifts out bits 11-0. With LSB first it shifts out bits 0-11. ...
In the PBP3 manual there is this paragraph:
SHIFTOUT is a software-based command and does not require that the target device have synchronous serial capability. The ClockPin and DataPin parameters...
Probably yes. But it depends on how you write code.
Looks great!
Re: Shiftout question about the manual statement
"SSP1BUF = MRFSPIdata": This loads real fast. But the actual transmission that takes place after that, takes a lot more micro seconds.
LinkMTech Today, 05:02If you write to the SSP1BUF back to back, the TX buffer gets...