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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/17/08 17:10
Modified:
  05/17/08 17:25

Read: times


 
#154849 - Some related good stuff from Richard Erlacher
Responding to: ???'s previous message
Richard, in an email, said:
There are a couple of options that didn't come up on the discussion you started on 8052.COM regarding your occasional need for a digital waveform that's precisely timed, or constrained in some other way. If you want to handle this from within Windows, which is often a very convenient option, I'd suggest you consider one of the various ALTERA or XILINX CPLD or FPGA boards as a vehicle.

For example, if the need is to generate a waveform of a precise shape, and simply recirculate it in a shift register of arbitrary length, you simply need a RAM, a counter, and a shift register output. I do this sort of thing quite often, and have found that a basic sort of "video refresh" circuit, i.e. counters for timing and memory for waveform storage, along with a PISO shift register for the final output (and perhaps a logic-level mosfet as an open drain level shifter), together with some control logic, is quite satisfactory. It's a bit of an effort to generate the basic skeleton, but it's easier than a real raster-scan video circuit because you don't have the sync and blanking controls to contend with and because you have complete control over the memory content and timing. With these JTAG-programmable boards, a single board can provide quite a wide range of functions.

All it requires is an oscillator of a frequency suitable for generating the finest resolution that you require and a synchronous counter capable of cycling through the memory. Your SPARTAN-3E EVB might actually have all the resources on it that you need, aside from the level-shifter. I prefer boards with a prototype area so I can put level shifters, etc right there where I need 'em, but you're not constrained in that way. Of course you could buy their prototype board. Those come with or without the solderless breadboard, and they're actually designed primarily for that breadboard, in that the interconnection sockets located on the component side really have to be removed in order to allow for proper prototyping with wire-wrap, which is done on the opposite side of the board. That proto board without the solderless breadboard is not expensive, and I suspect you will find it quite useful. Using the DCM, you can probably multiply up whatever crystal you choose to a useful frequency, and if you send off for a sample of a fast DAC, and a decent buffer amplifier, you can even generate arbitrary analog waveforms with it.

What's really convenient is that you can program up the circuit and simulate it before going to any further bother. That way you don't have to build something first, just to find it really doesn't meet your needs.



List of 27 messages in thread
TopicAuthorDate
Getting around Windows            01/01/70 00:00      
   That is the point            01/01/70 00:00      
      The point of Windows, yes, but not what I want            01/01/70 00:00      
         Boot from floppy or CD            01/01/70 00:00      
            I use removable HDD's            01/01/70 00:00      
         create MS-DOS floppy in XP/SP2            01/01/70 00:00      
            Put DOS on            01/01/70 00:00      
         That would be easier            01/01/70 00:00      
         some doubts            01/01/70 00:00      
         FreeDOS?            01/01/70 00:00      
   Virtualize.            01/01/70 00:00      
      Or simulate.            01/01/70 00:00      
         Doesn't virtualise/simulate timing            01/01/70 00:00      
            You are correct,,,,            01/01/70 00:00      
   Buy a signal generator            01/01/70 00:00      
   Thanks for all the hints            01/01/70 00:00      
   Some related good stuff from Richard Erlacher            01/01/70 00:00      
      depending on what do you mean by "waveform"...            01/01/70 00:00      
         the PC is just another programmable device            01/01/70 00:00      
            sure it is...            01/01/70 00:00      
               Did you miss the point?            01/01/70 00:00      
                  I do understand that well enough...            01/01/70 00:00      
                     I think you're fooling yourself            01/01/70 00:00      
                        oh, not the 8042!            01/01/70 00:00      
   are there equivalent 805x devices?            01/01/70 00:00      
      8051SL            01/01/70 00:00      
         Interesting ... I never encountered that one ...            01/01/70 00:00      

Back to Subject List