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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/13/06 07:23
Read: times


 
#118199 - number of bytes, not width of data
Responding to: ???'s previous message
I said:
Could it be that you're using an 8-bit variable (eg, char) somewhere where you need (at least) 16 bits (eg int) ?


Jerry Black said:
I thought of that...Look at the DCR Register it allow you to set DMA to 8 bits.

That controls the width of the data transferred - either 8-bit words, or 16-bit words.

I was thinking particularly about the count of the number of words.

If you are using an 8-bit variable to hold your count of the number of words to transfer, then you obviously cannot handle more than 255 words!




List of 13 messages in thread
TopicAuthorDate
PacketWacker Transmit size limition.            01/01/70 00:00      
   byte?            01/01/70 00:00      
      datasheet            01/01/70 00:00      
         oops            01/01/70 00:00      
            Horse's mouth            01/01/70 00:00      
         Semantics            01/01/70 00:00      
         number of bytes, not width of data            01/01/70 00:00      
            RBCR0,1            01/01/70 00:00      
               Clear IMR?            01/01/70 00:00      
            code sample.            01/01/70 00:00      
               Your Code            01/01/70 00:00      
                  Make8            01/01/70 00:00      
   I works know.            01/01/70 00:00      

Back to Subject List