Generating 6MHz output frequency



I need to drive a 320x240x8bbp TFT color display (Hitachi XT14 series).
I need to provide a clock signal @ ~6MHz and I can't use a micro with a built in controller.

Options are:
1) driving the TFT directly from the microcontroller
2) using an EPSON controller (or a dedicate FPGA)

As I have to use STR9 chip, I'm trying to figure out if I can really obtain this output frequency: the problem is that the micro PLL can raise the internal clock frequency upto 96MHz.
At first look, I might have to invoke a sort of IRQ @ 12MHz to drive the output pin HIGH-LOW with 50% duty-cycle: may I use a timer output compare interrupt, but here comes the trouble.

12Mhz means Toutput = 83.3nsec
96Mhz means Tclock = 10.4nsec

So I have just 8 clock cycles between two consecutive IRQs.
Considering that I have to get pixel value from DRAM, decode it to RGB palette and the put it on the output pins..... (not to speak about the needed IRQ control overhead).

This morning I've begun to look at EPSON / FPGA controller :P

Points are:
0) can STR9 pins be swapped HIGH to LOW at 6Mhz @96MHz clock?
1) is there any tricky solution?
2) Is there some VHDL code ready to drive a TFT display: I've got short time to market and I can't afford a FPGA development.
3) any other suggestion will be very appreciated

Thanks!


.



Relevant Pages

  • Re: Generating 6MHz output frequency
    ... using an EPSON controller ... As I have to use STR9 chip, I'm trying to figure out if I can really obtain this output frequency: the problem is that the micro PLL can raise the internal clock frequency upto 96MHz. ... At first look, I might have to invoke a sort of IRQ @ 12MHz to drive the output pin HIGH-LOW with 50% duty-cycle: may I use a timer output compare interrupt, but here comes the trouble. ...
    (comp.arch.embedded)
  • Re: USERENV Events 1030/1058 Access Denied to GPT.ini
    ... Another thing that we don't checked yet is the clock, ... and rebuild a new one, but DON'T do that now, I think that would be better ... Just standard informational entries. ... the domain controller that prompts it to display those errors and in 5 ...
    (microsoft.public.windows.server.active_directory)
  • Re: SDIO driver
    ... the clock to the SD Controller itself? ... // change to Alternate Function 2 ... //This command must be sent every time before an application command ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [PATCH 1/2] MMC Agressive clocking framework v5
    ... should leave the clock on for best performance. ... block driver or an SDIO function driver) to control whether to idle the ... The code doesn't tell the driver to idle the controller, ...
    (Linux-Kernel)
  • Re: SD Card MMC clock
    ... Since the Power is controled by the FPGA in mainstone board and your custom ... Thanku for ur response .I configured the GPIO pin for the Card detect ... SDClockOn - Requested Rate: 100000, Setting clock rate to 312500 Hz ... SDControllerIstThread: Controller Interrupt: 0x00000004 ...
    (microsoft.public.windowsce.platbuilder)