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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/13/08 19:56
Read: times


 
#157477 - ... and what I really like ...
Responding to: ???'s previous message
... is that you can disable the autoincrement on one or the other DPTR, as when it points to a specific memory-mapped peripheral.

In order to move a 256-word block of data, I'm presently reading/writing using the data pointer and ignoring the data. It enables data in response to an interrupt signal and generates the write strobe to memory, despite the fact the data path is 16 bits wide, and because the code is simply a block of 256

MOVX A,@dptr
MOVX @dptr,A

instruction pairs, the whole thing takes 60 ns per byte (120ns /word) at 33 MHz. Moreover, if I clock an external counter with the falling edge of A15, I get another 4 bits of address, which, like the DPTR can be programmed, so the MCU functions as a DMAC. The cool thing is that it only has to have the data path steered once per block of data, and enabled only on nRD or on nWR. This can be done in half the time, of course, with a little trickery associated with the high address nybbles (3 of 'em, up to A19) but that's not quite happening yet. I'm aware that there's that @R1 approach. That may work very well, too, since there are only 256 words to move. Access time limitations prevent me from doing that right now.

BTW I've put one of those SiLabs F120-DK boards on a prototype card in my little development system, in order to compare the overall performance with the Maxim/Dallas MCU. I'm really curious how that will compare.

I'm even more curious how long it will take me to learn how to set the MCU up for all the things I want ... and don't want
... <sigh> ...

RE






List of 34 messages in thread
TopicAuthorDate
Programming 8051/8052            01/01/70 00:00      
   Get something ready to do to start...            01/01/70 00:00      
   here's a simple ISP cable for 89S51/2            01/01/70 00:00      
      ... and HOPE            01/01/70 00:00      
    or DS89C450            01/01/70 00:00      
      Not the fastest by 3::1            01/01/70 00:00      
         There are features ...            01/01/70 00:00      
            Pray explain            01/01/70 00:00      
               Some features really DO help            01/01/70 00:00      
                  why fiddle with MODE 0            01/01/70 00:00      
                     There aren't many reasons, but SPI isn't one            01/01/70 00:00      
                        you are describing SPI            01/01/70 00:00      
                           Have a look!            01/01/70 00:00      
                              luvverly !            01/01/70 00:00      
                                 ... and what I really like ...            01/01/70 00:00      
                                    nope            01/01/70 00:00      
                                       You missed a thing or two, Erik            01/01/70 00:00      
    i edit my answer as            01/01/70 00:00      
   AT89S5X or DS89C450MNG            01/01/70 00:00      
   Back to Topic-here is what I tried for days..            01/01/70 00:00      
      two mistakes            01/01/70 00:00      
      Logic Low Levels?            01/01/70 00:00      
      please consider            01/01/70 00:00      
         Abt ISP cable ang voltage level            01/01/70 00:00      
            That how most of these posts go            01/01/70 00:00      
               schematics at last!            01/01/70 00:00      
                  no, the frequency does not matter            01/01/70 00:00      
            Maybe a helpful link            01/01/70 00:00      
            Where you measure the voltage makes a difference            01/01/70 00:00      
               ISP Schematics at last!            01/01/70 00:00      
                  Keep your work clean and wires short            01/01/70 00:00      
                  See if this suits you...            01/01/70 00:00      
      EA pin should be high            01/01/70 00:00      
         EA high not necessary during ISP            01/01/70 00:00      

Back to Subject List