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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/20/05 16:29
Modified:
  04/20/05 16:30

Read: times


 
Msg Score: -2
 -1 Gimmee Code
 -1 Message Not Useful
#91995 - RE: leg up
Responding to: ???'s previous message
Thanks for that Rob, this will be of great help to me. I am using the following asynchronous sequence to read a byte from the RPC to the host
1. SP2 will assert RX Request line low to initiate transfer
2. Host pulls TX Accept low (i.e. request is accepted by host)
3. SP2 will turn on its bus drivers, place LS nibble onto data lines.
4. Negate RX Request (set to 1)
5. Host reads the data and negates RX accept( i.e data has been accepted).

I have come up with the following code to carry out the sequence

CLR RXR
WAITRQ JNB RXA,WAITRQ

SETB RXR
WAITRQ1 JBC RXA,WAITRQ1

Am i goin about this sequence the right way and could you help me out with this and how i may be able to implement this for sending AAhex.
Declan


List of 13 messages in thread
TopicAuthorDate
Host to RPC byte transfer            01/01/70 00:00      
   leg up            01/01/70 00:00      
   RE: leg up            01/01/70 00:00      
      You've got to be joking!            01/01/70 00:00      
         Receive sequence            01/01/70 00:00      
            why not try it            01/01/70 00:00      
               Simulate            01/01/70 00:00      
            Wrong way round            01/01/70 00:00      
               F.A.O Rob            01/01/70 00:00      
                  On the right track            01/01/70 00:00      
                     Thanks Rob            01/01/70 00:00      
                        Resetting port pins            01/01/70 00:00      
         F.A.O Rob Klein            01/01/70 00:00      

Back to Subject List