Generating 6MHz output frequency
- From: djordj <djordj@xxxxxxxxxxxxx>
- Date: Wed, 13 Dec 2006 16:15:09 GMT
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!
.
- Follow-Ups:
- Re: Generating 6MHz output frequency
- From: Jim Granville
- Re: Generating 6MHz output frequency
- From: svrusso1@xxxxxxxxx
- Re: Generating 6MHz output frequency
- Prev by Date: Re: Embedded Display Options
- Next by Date: Re: ADS1.2 inline assembly :Branching by writing PC is not supported
- Previous by thread: Re: ADS1.2 inline assembly :Branching by writing PC is not supported
- Next by thread: Re: Generating 6MHz output frequency
- Index(es):
Relevant Pages
|