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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/11/07 12:47
Modified:
  07/11/07 12:52

Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#141752 - Explanations
Responding to: ???'s previous message
But with the SLK we cann't create synchronize the ADC with the clock pulses.

The ADC has two different clocking modes for serial communication - self-clocked (where it provides the serial clock) and externally clocked (where the partner must provide the serial clock). In the example given in the datasheet, external clocking is used, so the microcontroller provides the clock for the serial communication.

But with the Microcontroller serial communication, In the Port P3.0 bidirectional is not possible.

You either have a '51 that deviates quite a bit from a "standard" 8051, or think about the 8051 serial port as being a UART with TX and RX lines. In the example, the serial port is used in mode 0, in which it is not a UART, but a shift register. There are no TX and RX lines, but a bidirectional data line (P3.0) and a clock line.

The corresponding chapter in the 8051 hardware documentation says:

More About Mode 0
Serial data enters and exits through RxD. ...


List of 14 messages in thread
TopicAuthorDate
How can we read 24bits on 8051            01/01/70 00:00      
   Same way that you'd eat a whole whale...            01/01/70 00:00      
      Andy Neil            01/01/70 00:00      
         One bit at a time.            01/01/70 00:00      
            A few minutes ahead !            01/01/70 00:00      
            Already Studied that Datasheet            01/01/70 00:00      
               Explanations            01/01/70 00:00      
         why do so many use such CRAP            01/01/70 00:00      
            Guess at an answer:            01/01/70 00:00      
               Manufacturers' websites            01/01/70 00:00      
   Communication Protocol Doubt            01/01/70 00:00      
      Read The Fine Manual - please            01/01/70 00:00      
      Where to get the Datasheet            01/01/70 00:00      
      Communication Protocol            01/01/70 00:00      

Back to Subject List