DSPRelated.com
Forums

spectrum analyser project.

Started by mill...@btinternet.com April 3, 2011
Hello all.

Just a quick update from my project.

I have managed to interface the LCD to my DSK board. i have completed the connection for the data to LCD - 16bit wide, using 8 data and 6 control.
I think i was expecting it to be harder than it actally was. Ignoring all clock controls (as it does not require clock from main DSK to LCD as asynchronous with no clock ) i connected up and found the control being avaiable of the EMIF connection. Did not need to link out pins 75 etc. it worked without (pins not avaiable anyway)!

The LCD connected is just and LCD with KS0108B controllers and not a built daughter card.

So currently at the stage where i have data avaiable, however have now issues with the LCD, think it is faulty. Waiting for delivery of new one.
One thing i have noticed, is that the output is 3.2v per data pin, but LCD required 3.5v minimum. What voltage would you expect from the DSK? do you think it will be a problem?

Thanks for your help so far, much appreciated.

PS DON'T remove me from this group, even though i am close to completion, i have enjoyed the experience and would like to keep a hand in as a hobby!!
:-)
duncan.

_____________________________________
Congrats Duncan!
On 4/26/2011 4:50 PM, m...@btinternet.com wrote:
>
> Hello all.
>
> Just a quick update from my project.
>
> I have managed to interface the LCD to my DSK board. i have completed
> the connection for the data to LCD - 16bit wide, using 8 data and 6
> control.
> I think i was expecting it to be harder than it actally was. Ignoring
> all clock controls (as it does not require clock from main DSK to LCD
> as asynchronous with no clock ) i connected up and found the control
> being avaiable of the EMIF connection. Did not need to link out pins
> 75 etc. it worked without (pins not avaiable anyway)!
>
> The LCD connected is just and LCD with KS0108B controllers and not a
> built daughter card.
>
> So currently at the stage where i have data avaiable, however have now
> issues with the LCD, think it is faulty. Waiting for delivery of new one.
> One thing i have noticed, is that the output is 3.2v per data pin, but
> LCD required 3.5v minimum. What voltage would you expect from the DSK?
>

The DSK IF is 3.3 MAX. I *think* that the buffers will tolerate higher
voltage input.
>
> do you think it will be a problem?
>

You should always operate devices within their specified tolerances if
you want correct functionality and reliability.
Normally this would be caught during the design phase [but most of us
have made mistakes/oversights in our past].

For a school project you might try it. But be prepared to insert a
buffer between the DSK and LCD.
> Thanks for your help so far, much appreciated.
>
> PS DON'T remove me from this group, even though i am close to
> completion, i have enjoyed the experience and would like to keep a
> hand in as a hobby!!
> :-)
>

As far as I know, there are 2 basic ways of getting off of this list.
1. User request or 'unsubscribe'.
2. Getting kicked off for blatant inappropriate content.

mikedunn
>
> duncan.
Duncan-

> Just a quick update from my project.
>
> I have managed to interface the LCD to my DSK board. i have
> completed the connection for the data to LCD - 16bit wide,
> using 8 data and 6 control.
> I think i was expecting it to be harder than it actally was.
> Ignoring all clock controls (as it does not require clock
> from main DSK to LCD as asynchronous with no clock ) i
> connected up and found the control being avaiable of the EMIF
> connection. Did not need to link out pins 75 etc. it worked
> without (pins not avaiable anyway)!
>
> The LCD connected is just and LCD with KS0108B controllers
> and not a built daughter card.
>
> So currently at the stage where i have data avaiable,
> however have now issues with the LCD, think it is faulty.
> Waiting for delivery of new one.
> One thing i have noticed, is that the output is 3.2v per
> data pin, but LCD required 3.5v minimum. What voltage would
> you expect from the DSK? do you think it will be a problem?

First, where do you see 3.5V? The KS0108B data sheet says the minimum input signal voltage is 2V. Second, are you
giving the KS0108B 5V for Vdd?, as specified in the data sheet? If so from where are you getting this voltage?

Also if you don't have a daughtercard, then how did you connect to the LCD + controller? With fine-pitch ribbon
cable? If so how long is that?

-Jeff

> PS DON'T remove me from this group, even though i am close to completion, i have enjoyed the experience and would like
> to keep a hand in as a hobby!!
> :-)
> duncan.

_____________________________________
Thanks for the replies.
Jeff
The LCD specific datasheet shows minimum of 0.7Vdd which is 3.5v. Yes i am supplying the LCD module 5v Vdd and i obtain this from the DSK board, pins 2 and 80 of the daughter card connector. i use a breakout connector from kane computing and connect via short length 200mm of ribbon cable.

Mike

i checked the voltage requirments when i started the interface, but was a little unsure about the LCD at the time. i also checked about a buffer, and checked the schematics for the DSK and they have a logic transiever fitted. Also in one of my previous posts, you said they already have then fitted and should not need a buffer unless a "funky" reason for it.
>As far as I know, there are 2 basic ways of getting off of this list.
>1. User request or 'unsubscribe'.
>2. Getting kicked off for blatant inappropriate content.

- i said i dont't want to be removed- it was a little joke!!!!!!

thanks once again
duncan.

_____________________________________
Duncan,
On 4/27/2011 5:34 PM, m...@btinternet.com wrote:
>
> Thanks for the replies.
> Jeff
> The LCD specific datasheet shows minimum of 0.7Vdd which is 3.5v. Yes
> i am supplying the LCD module 5v Vdd and i obtain this from the DSK
> board, pins 2 and 80 of the daughter card connector.
>

Make sure that you do not overload the DSK 5v supply.

> i use a breakout connector from kane computing and connect via short
> length 200mm of ribbon cable.
>
> Mike
>
> i checked the voltage requirments when i started the interface, but
> was a little unsure about the LCD at the time. i also checked about a
> buffer, and checked the schematics for the DSK and they have a logic
> transiever fitted. Also in one of my previous posts, you said they
> already have then fitted and should not need a buffer unless a "funky"
> reason for it.
>

The "funky" reason would be to convert DSK 3.3v signals to LCD 5v
signals. You will nee some form of buffer/voltage translator for the
interface.

mikedunn
> >As far as I know, there are 2 basic ways of getting off of this list.
> >1. User request or 'unsubscribe'.
> >2. Getting kicked off for blatant inappropriate content.
>
> - i said i dont't want to be removed- it was a little joke!!!!!!
>
> thanks once again
> duncan.
Duncan-

> The LCD specific datasheet shows minimum of 0.7Vdd which
> is 3.5v.

First your DSK signals don't connect to the LCD, they connect to the KS0108B. This is a controller chip, so it should
handle the LCD side. My understanding is you only need to worry about the "host side" (i.e. DSK daughtercard
interface in this case).

Second the data sheet shows most inputs -- including host interface signals -- as 2V minimum, and a few at 3.5V
(0.7Vdd). The 3.5V signals are CL, FRM, M, RSTB, CLK1, CLK2 -- how many of these are you using?

> Yes i am supplying the LCD module 5v Vdd and i
> obtain this from the DSK board, pins 2 and 80 of the
> daughter card connector.

Ok.

> i use a breakout connector from kane computing and
> connect via short length 200mm of ribbon cable.

200mm is about 8" -- that is *long* for an async EMIF interface. I assume you're not using a Mictor type ribbon cable
(individually shielded conductors), and also it's not a high density ribbon cable with every other conductor tied to
gnd. If that's accurate, I would think you should stay under 25 MHz for 8". What's your ECLKOUT rate? What EMIF
control register settings do you have for setup time, hold-time, etc?

-Jeff

> Mike
>
> i checked the voltage requirments when i started the interface, but was a little unsure about the LCD at the time. i
> also checked about a buffer, and checked the schematics for the DSK and they have a logic transiever fitted. Also in
> one of my previous posts, you said they already have then fitted and should not need a buffer unless a "funky" reason
> for it.
>>As far as I know, there are 2 basic ways of getting off of this list.
>>1. User request or 'unsubscribe'.
>>2. Getting kicked off for blatant inappropriate content.
>
> - i said i dont't want to be removed- it was a little joke!!!!!!
>
> thanks once again
> duncan.

_____________________________________
Hello Mike, Jeff.

The LCD i am using is a KS0108B based Graphic. I am interfacing with the KS0108B controller and am using all pins. From what i can see the datasheet for the module (KS018B and LCD as one) is showing 0.7*5v is required, and the output from the DSK is 3.3v max. I have ordered some HEF4014BP 3/5v translators to resolve this issue, so hope to try then tonight/tomorrow.

>200mm is about 8" -- that is *long* for an async EMIF interface. I assume
>you're not using a Mictor type ribbon cable

i am using ribbon cable - mictor type, do you think this is a problem? the communciations is going to be relatively slow for the trial, so don't think it will effect it.

>If that's accurate, I would think you should stay under 25 MHz for
>8". What's your ECLKOUT rate?

I am not using the ECLKOUT as the deivice has its own clock so does not require one. The timing of the signals are done in to he DSK using the internal, to suit the LCD minimum timing requirments

>What EMIF control register settings do you have for setup time, hold->time, etc?
v Using CE2 register and timings to really used as async device and dont need clock signals.

so i the funky reason is going to need me to use the translators 3-5v.

Will keep posted on how i get on.
thanks
duncan

_____________________________________
Duncan-

> The LCD i am using is a KS0108B based Graphic. I am interfacing
> with the KS0108B controller and am using all pins. From what i
> can see the datasheet for the module (KS018B and LCD as one) is
> showing 0.7*5v is required, and the output from the DSK is 3.3v
> max. I have ordered some HEF4014BP 3/5v translators to resolve
> this issue, so hope to try then tonight/tomorrow.

Gotta use some engineering common sense here. Just because your LCD is a "module"
doesn't mean you can ignore its internal architecture. Since the KS0108B controller
is widely used and well-documented, that's the data sheet I would go by. And it says
that digital interface input signals can be 2.0V minimum (except for the ones I
listed, and for some reason you're ignoring in this discussion).

Is there a data sheet for your "Graphic" module? What is the part number?

> >200mm is about 8" -- that is *long* for an async EMIF interface. I assume
> >you're not using a Mictor type ribbon cable
>
> i am using ribbon cable - mictor type, do you think this is a
> problem? the communciations is going to be relatively slow for
> the trial, so don't think it will effect it.

Mictor will help a lot. Although your data rate is slow, suggest to carefully check
slew rate and ringing. One thing to watch for are slow rise times, for example /AWE
rise-time (when your LCD latches input data). If that does not meet the timing spec
in the KS0108B module data sheet, it might explain the cause of your results so far.

> >If that's accurate, I would think you should stay under 25 MHz for
> >8". What's your ECLKOUT rate?
>
> I am not using the ECLKOUT as the deivice has its own clock so does
> not require one. The timing of the signals are done in to he DSK
> using the internal, to suit the LCD minimum timing requirments

Ok.

> >What EMIF control register settings do you have for setup time,
> hold->time, etc?
> v Using CE2 register and timings to really used as async device
> and dont need clock signals.

I was referring to EMIF async register timing values such as strobe width and
hold-off time... in the old days they called this "wait states" and "minimum access
time" (or similar). I don't recall the exact EMIF register bit field names, but they
do need to be set correctly.

> so i the funky reason is going to need me to use the translators 3-5v.

I suggest not to worry about translators until you verify your signal integrity and
timing. Otherwise you may be making extra work for yourself.

-Jeff

_____________________________________