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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/12/11 11:35
Read: times


 
#183713 - Suggesting....again...
Responding to: ???'s previous message
Per,

It would be helpful to know whether the main 3.3V MCU already has enough I/O pins that can be assigned 1::1 to the signal pins on the ribbon cable. If so how many pins are you talking about?

Clearly the desire to support toggling rates of the pins on the cable of up to 5MHz implies that you want almost direct software control of the pins instead of having them remoted behind some type of serial interface such as SPI or I2C.

As I had suggested in the previous thread that you linked, you may want to consider the use of a small FPGA type device. These parts often have I/O pins that can be programmed to a slew of different I/O protocols including voltage threshold levels, I/O modes, selectable pullup/pulldown and so forth. An FPGA type part is "programmable" in that you can select its operational characteristics based on the "image" that gets loaded into the part at startup.

I suspect that you do not need actual pin-by-pin configurability because you know the universe of devices that can connect to this ribbon cable connector. Even with 20 or 25 legal devices the number of I/O configurations needed to support them is 20 or 25. This is much much less than the number of configurations of a handful of I/Os that can each be programmed to support say 4 or 5 modes each. So you could support each device type on the cable with a FPGA program image that the has the correct I/O pin setup. In general the small FPGA would simply become a specialty transceiver between your MCU and the device on the cable. Your various drivers in software would toggle and monitor MCU I/O pins as appropriate for each device type and the external FPGA, which has been setup ahead of time, will translate the I/Os as appropriate.

FPGAs also support to concept of banks of I/O pins that are powered from a design time selection of a particular voltage range. You could consider making the I/O bank rail voltage switchable via an external FET circuit so that you could actually support devices that were 3.3V or 5V.

Another thing to consider is that once you inject an FPGA into the middle of things you have the option of adding logic inside that can off load certain functionality of the device protocol on the ribbon cable and let the hosting MCU have an easier job. For example the FPGA could support making a PWM signal or scanning a small key matrix or even implement a simple serial protocol.

One thing to consider here is that in the FPGA world much the same thing has happened as has occurred in the MCU space. The parts available that still support 5V I/O are becoming less and less. A quick search will find that many part families that are even now considered mature parts are supporting I/O bank rail voltages of up to 3.3V.

It does also beg a discussion about the reason why you have to stay with 5V devices on this cable connection of yours. You may want to take a hard look at that and drive toward having a family of devices that instead work at 3.3V. Hanging onto your old legacy 5V devices and designing to that could end up being a mill stone around your neck as the future comes along. It could get to be hard to get parts to continue to build those legacy devices. Also invariably there will be a time when new device types will be wanted and you'd like to have the option to design those to work with the parts available at that time.

Michael Karas


List of 40 messages in thread
TopicAuthorDate
Bit-configurable transceiver chips            01/01/70 00:00      
   Suggesting....again...            01/01/70 00:00      
      Alas 5V needed and ribbon cables are a bit "rough"            01/01/70 00:00      
   Another Suggestion....            01/01/70 00:00      
   level translator            01/01/70 00:00      
      Alas, "weak output drive" and no input hysterese            01/01/70 00:00      
      TI sn74gtl2010            01/01/70 00:00      
         or NXP GTL2010,GTL2000            01/01/70 00:00      
            looks promising            01/01/70 00:00      
            NXP GTL20xx -> NVT20xx            01/01/70 00:00      
         Need to read more to understand them            01/01/70 00:00      
            looks like the cat's miauw            01/01/70 00:00      
   NXP has ....            01/01/70 00:00      
      I2C or SPI just can't get even close to the huge bandwidth            01/01/70 00:00      
         nope, no I²C clocks            01/01/70 00:00      
            extender, not expander            01/01/70 00:00      
   I have been wondering this myself            01/01/70 00:00      
      Supported capacitance seems to be the snag            01/01/70 00:00      
   Differential SPI            01/01/70 00:00      
      Serial -> buffers on adapter boards is a potential solution            01/01/70 00:00      
   Have you considered programmable logic?            01/01/70 00:00      
      I had suggested this as well            01/01/70 00:00      
         Yes ... I remember that ...            01/01/70 00:00      
            Long life            01/01/70 00:00      
               They seem to live a long time ...            01/01/70 00:00      
                  Adapters            01/01/70 00:00      
                     These aren't necessarily so "huge"            01/01/70 00:00      
                        Not huge in size            01/01/70 00:00      
                           Some of them can handle that.            01/01/70 00:00      
                              Yes and no            01/01/70 00:00      
                                 There are ways ...            01/01/70 00:00      
                                    Body diodes            01/01/70 00:00      
                                       serial termination ...            01/01/70 00:00      
                                          Yes, current- and bandwidth-limiting components used            01/01/70 00:00      
                                             you youing whippersnappers, pay attention            01/01/70 00:00      
            pedantry, again            01/01/70 00:00      
               What would YOU suggest?            01/01/70 00:00      
   Here's a thought ...            01/01/70 00:00      
      Probably            01/01/70 00:00      
         I'd sugest you consider older CPLD's            01/01/70 00:00      

Back to Subject List