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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/13/07 20:21
Read: times


 
#146939 - Have you read the datasheet?
Responding to: ???'s previous message
It says (C8051F410, Rev 1.0, page 222):

"When the SPI is configured as a slave, the maximum data transfer rate (bits/sec) for full-duplex operation is 1/10 the system clock frequency, provided that the master issues SCK, NSS (in 4-wire slave mode), and the serial input data synchronously with the slave’s system clock. If the master issues SCK, NSS, and the serial input data asynchronously, the maximum data transfer rate (bits/sec) must be less than 1/10 the system clock frequency. In the special case where the master only wants to transmit data to the slave and does not need to receive data from the slave (i.e. half-duplex operation), the SPI slave can receive data at a maximum data transfer rate (bits/sec) of 1/4 the system clock frequency. This is provided that the master issues SCK, NSS, and the serial input data synchronously with the slave’s system clock." (my emphasis)

SPI slave timing is not determined by the slave, but by the master!


Rob.

List of 7 messages in thread
TopicAuthorDate
SPI interrupts not firing            01/01/70 00:00      
   which microcontroller?            01/01/70 00:00      
      Boards involved            01/01/70 00:00      
   Derivative?            01/01/70 00:00      
   I got the interrupt to fire now, but...            01/01/70 00:00      
      Have you read the datasheet?            01/01/70 00:00      
         Thanks!            01/01/70 00:00      

Back to Subject List