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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/20/07 21:03
Modified:
  04/20/07 21:05

Read: times


 
#137670 - If the MCU can\'t do it all ...
Responding to: ???'s previous message
it's much easier to do it in programmable logic than with a microcontroller. Using the processor, ala Don Lancaster's "cheap video" approach is tempting, but useless if it can't do it all, and very precisely. At the 38 Khz VGA Hsync rate, 10 ns is not sufficient resolution unless you fiddle extensively with all the other parameters.

The usual approach is to build a timing loop based on an MCU clock that's derived from the "dot clock" that generates the edges on the VSync, then places the VBlank, HSync, HBlank, sync serrations (if needed) and loads the DAC at the precisly correct time. If it can't do that then it's not going to work out very well.

Lancaster did his "cheap video" with a 1 Mhz 6502, but didn't have to produce analog levels aside from what was produced by the rather simple video combiner, consisting of resistors and a transistor, and he used a shift register to generate the dots. VGA with variable pixel intensity doesn't allow that.

Once you go to some sort of programmable logic, you are better off, IMHO, omitting the MCU from the timing/pixel generation chain. Let the processor focus on what's going to be displayed, rather than on the mechanics of displaying it.

RE




List of 52 messages in thread
TopicAuthorDate
8051 to VGA            01/01/70 00:00      
   nope..... but i do know            01/01/70 00:00      
      Video            01/01/70 00:00      
         well, if throiughput is a problem            01/01/70 00:00      
         VGA vs. NTSC (OK, PAL)            01/01/70 00:00      
            especially on CRTs?            01/01/70 00:00      
               flicker            01/01/70 00:00      
                  Distortion            01/01/70 00:00      
                     until today...            01/01/70 00:00      
                        Logical Processors            01/01/70 00:00      
                           not likely ...            01/01/70 00:00      
                              sure, but what problem is that            01/01/70 00:00      
               It's the demand for precise timing            01/01/70 00:00      
                  Monochrome?            01/01/70 00:00      
                     He may be a bit misguided            01/01/70 00:00      
                  Ive used an spi interface            01/01/70 00:00      
                     This is the arbitary display overlay jobby            01/01/70 00:00      
      A NICE VIDEO GENERATING AND PROCESSING EXAMPLE!!            01/01/70 00:00      
         Is it VGA?            01/01/70 00:00      
   Video Buffer            01/01/70 00:00      
      and a "video DAC"            01/01/70 00:00      
         Well there are ways and ways ....            01/01/70 00:00      
            but VGA is twice as fast            01/01/70 00:00      
               VGA Pixel rate is faster but ...            01/01/70 00:00      
                  If the MCU can\'t do it all ...            01/01/70 00:00      
                     how about this one            01/01/70 00:00      
                        "stuffer"            01/01/70 00:00      
                           it'd better be a really cheap MCU            01/01/70 00:00      
                              why?            01/01/70 00:00      
                        the guy who pays for it would notice.            01/01/70 00:00      
                           why?            01/01/70 00:00      
                              The extra MCU contributes nothing. Why use it?            01/01/70 00:00      
                                 because            01/01/70 00:00      
                                    TEXT => Pixels = character generator            01/01/70 00:00      
                                       sure, but            01/01/70 00:00      
                                          True, but only sometimes ...            01/01/70 00:00      
                                             HUH?            01/01/70 00:00      
                                                so ... which MCU has those built in?            01/01/70 00:00      
                                                   those?            01/01/70 00:00      
                                                      Here's what "those" are ...            01/01/70 00:00      
                                                         options            01/01/70 00:00      
                                    working examples            01/01/70 00:00      
                     Nice to think folks remember Don's "cheap video"..            01/01/70 00:00      
                        What do you mean, Phillip?            01/01/70 00:00      
                           A notion not to radical or heretical ...            01/01/70 00:00      
                              I still think it's either/or and not both            01/01/70 00:00      
      Like the vhdl that you'll find            01/01/70 00:00      
         Here's an ARM7 Driving a VGA Display direct            01/01/70 00:00      
   75 Ohm?            01/01/70 00:00      
      75 Ohm it is...            01/01/70 00:00      
   dc motor            01/01/70 00:00      
      start a new thead - and be specific            01/01/70 00:00      

Back to Subject List