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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/26/04 12:54
Read: times


 
#74880 - "first language"
Responding to: ???'s previous message
Sorry, it's quite difficult for me to explain the problem here, in english, which is "not my first language".

I would like to place the program here:
DI is the converted data from the ADC, and AD is the multiplexer address. CLK is the clock line.

CLR CLK
CLR CS

MOV C,DI
MOV 20H.7,C
MOV C,MUX.4
MOV AD,C
SETB CLK
CLR CLK

MOV C,DI
MOV 20H.6,C
MOV C,MUX.3
MOV AD,C
SETB CLK
CLR CLK

This is only two clock period, which I receive the data on the negative level of CLK, and place mux address before the rising edge of CLK.

After the CS line (chip select) is brought low, the mux address is entered on the rising edge of CLK. Converted data is shown on the data line, on the falling edge of CLK. So the CLK line has to be low before the whole process start, but I didn't CLR the line. So the whole transfer process is offset.

Stanley

List of 20 messages in thread
TopicAuthorDate
TLC545 - serial ADC            01/01/70 00:00      
   RE: TLC545 - serial ADC            01/01/70 00:00      
   RE: TLC545 - serial ADC            01/01/70 00:00      
      RE: TLC545 - serial ADC            01/01/70 00:00      
         simple - or single - port pin?            01/01/70 00:00      
         Of course read            01/01/70 00:00      
      how to debug for serial devices            01/01/70 00:00      
   ____/\____ and ____| |____            01/01/70 00:00      
      Edges and levels            01/01/70 00:00      
   Sample and Hold            01/01/70 00:00      
      RE: Sample and Hold            01/01/70 00:00      
   Amost forgot:            01/01/70 00:00      
      RE: Amost forgot:            01/01/70 00:00      
   RE: TLC545 - serial ADC            01/01/70 00:00      
      Serial Interface Alphabet Soup            01/01/70 00:00      
         Even I'm confused!            01/01/70 00:00      
            Confused? You will be!            01/01/70 00:00      
   Solved.            01/01/70 00:00      
      RE: Solved.            01/01/70 00:00      
         "first language"            01/01/70 00:00      

Back to Subject List