EmbeddedRelated.com
Forums

SPI Problems

Started by bigdog16_83 March 25, 2005
Well, you're probably right depending on speed. In my experience at 1mbit, 
it's tough to get around that pause, but at slower speeds there should be 
plenty of time to run the interrupt before any pause is noticeable. I should 
of made that distinction. 

-Micah 


On Wednesday 30 March 2005 01:24 am,
from_yahooMSP430@from... wrote:
> micah,
>
>  I don't think there would necessarily be a pause in the clock -
firstly
>  I'd, personally, do the TX when the tx buffer reports itself empty.
You
>  might need a few flags to tell it when to stop doing so... but if you do
>  it that way you will get a regular pulse train.
>
>  even if you did do the TX from the receive routine, you may be half a bit
>  -time ahead of the end of the char when you get the data, which is quite
>  long enough to do the TX and not break the chain....
>
>  David
>
>
>  .
>
>
>
>
>
> 
> click here
>
> .

Beginning Microcontrollers with the MSP430