This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I need to get a fast 16 bit SPI packet sent out.
I started with the sample code and have been tweaking it, but I see there is a big gap between 8 bit transfers, and strangely a large gap after the 8 bit transfer.
Is there anything I should be doing to minimize this time in register configurations other than keeping my interrupt routine as concise as possible?
I am controlling the SSN in software in the interrupt since it is a 16 bit transfer.
From your description I'd say start by getting rid of the interrupts. With a fast SPI clock (4MHz?) interrupts slow you down and gain you nothing.
Cool... I wrote some new code on the ride back from Dallas. I'm itching to try it out. Huge speedup potential if all goes as expected.
Thanks to all for the help.
Blake
**Attention** This is a public forum