Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/26/05 07:45
Read: times


 
#93914 - No Strobing
Responding to: ???'s previous message
I am not doing any strobing. My device is a 3-wire slave. No strobing is there. Only slave on device.
I am just trying to use the data from the externally available data which is not spi data. Just a continuous clock with data which may have a slight skew.
The master i have implemented is just a simulation of the actual system it won't be there finally.
Actual scheme is having continuous clock & data only.
My scheme for sending is very simple
For master:
My isr is something like this:-
ISR()
{
static unsigned int i;
SPIF=0;//Clear the flag
SPI0DAT = array[i];//array is global

i++;
if(i==someno)
i=0;
}//so in effect i am continuously sending. But this is just simulating the actual condition. In the app there isn't any spi !

For slave:
ISR()
{

//here i put spi0dat in my buffer
SPIF=0;
}
I am using a c8051f120 device from silicon labs.

I don't want to use any external hardware. I could give
the clock to ie0 but that is very intensive in terms of time.
I have other jobs to be done too.
Hildebrand Victor


List of 19 messages in thread
TopicAuthorDate
SPI Help            01/01/70 00:00      
   No ?            01/01/70 00:00      
   Do you Strobe your Data?            01/01/70 00:00      
   HW solution            01/01/70 00:00      
      Connection ...            01/01/70 00:00      
         No Strobing            01/01/70 00:00      
            No Strobing -> no way !!!            01/01/70 00:00      
   continuous            01/01/70 00:00      
   use the chips capabilities            01/01/70 00:00      
      I am using hardware            01/01/70 00:00      
         seek and ye shall find            01/01/70 00:00      
      f120 & SPI            01/01/70 00:00      
         Why so narrowminded            01/01/70 00:00      
      real time clock            01/01/70 00:00      
   Re: Why so narrow minded?            01/01/70 00:00      
      93x            01/01/70 00:00      
         C8051F022, Need SPI help with 8051            01/01/70 00:00      
            Re:Mahathi's c8051f022            01/01/70 00:00      
               My master is sending data repeatedly            01/01/70 00:00      

Back to Subject List