I'm a hobbyist (the hobbiest of hobbyists) and struggle similarly. I have come to the conclusion that I can spend time trying to quantify the noise - so as to know...
"SSP1BUF = MRFSPIdata": This loads real fast. But the actual transmission that takes place after that, takes a lot more micro seconds.
If you write to the SSP1BUF back to back, the TX buffer gets...
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...
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. ...
Not or Invert
Very Very Quick question :-
andybarrett1 Today, 15:46I have a digital input..... How do I invert it in software , Brain freeze :-(
BR
Andy
Thank you all for reading