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

Back to Subject List

Emmanuel Coulon
10/25/08 12:57
Read: 446 times
France


 
#159356 - is it possible to mix direct connect & mem. mapped
Can I connect a uC like AT89C52 or P89V51RD2 to another chip with 12-bit I/O (parallel ADC), using P0+P2 as data bus and bit-banging P3[7:4] as controls (read/write/chip select/status in), then connect an IDE drive using P0+P2 too and P1 as controls (*), and last but not least for a datalogger project, a DS12C887 RTC that has a builtin latch ?

In which state are found P0,P2,RD,WR after an external memory access ? Will I have to rewrite FF to P0 and P2 before being able to read data again from a direct connection ?

*I successfully tried pjrc.com's IDE routines on a 16-year old 80C31 connected to an even older Intel 8255 probably in NMOS technology, tested with a 16 MB CF card in IDE to CF adapter, and a 6 GB 3.5" HD. To avoid beeing lynched here, I will not use my remaining new old stock of 82C55/D71055SC for new designs (as they are able to source at least 10 mA, I will use my existing development board to drive seven-segment LED displays). Just have to rewrite the code for "faster" (still PIO0) direct I/O. As long as there are no free specs for recent low-pin-count flash cards like SD or MemoryStick, I will stick to IDE parallel interface (CF or SSD) and have tens of gigabytes of storage.

List of 8 messages in thread
TopicAuthorDate
is it possible to mix direct connect & mem. mapped      Emmanuel Coulon      10/25/08 12:57      
   Probably,,,      Russell Bull      10/26/08 06:39      
      naaaah... see bible      Jan Waclawek      10/28/08 04:56      
         If your code is internal ...      Richard Erlacher      10/28/08 11:28      
            It seems feasible...      Emmanuel Coulon      11/30/08 10:27      
               I wouldn't presume to tell you what to do ...      Richard Erlacher      11/30/08 12:38      
                  ALE off SFR      Emmanuel Coulon      12/28/08 16:37      
                     I don't know what YOUR MCU does, but ...      Richard Erlacher      12/28/08 23:28      

Back to Subject List