Forums

DSP56F803 problems: Timer, LCD, 4 Buttons

Started by wpethe December 13, 2001
Hi,

I like to use the Timer of Motorola DSP56F803 with a Flowmeter. The flowmeters
output are Pulses. I'd like to count the Pulses which are counted in time for
example 200 milliseconds.
How can I get the number of pulses? The counting error should be in the area of
the LSB.

How can ich use the Data Bus Interface to connect to a LCD Display? I like to
use a display like the PC1604 from powertip (http://www.powertip.com.tw) with
8bit Data Bus-Interface.

For the Programm I need 4 Buttons. How should I connect them that The use an
interupt and then another entry to get the right Button type?

Thanks for help

W. Pethe



Do you have the Motorola Software Development Kit? If not, you should get
it. It isn't too expensive and may help you along.

I believe you could use the data bus for the LCD interface as you describe,
but you'd probably have to put some external logic in there to decode
addressing. Certainly you would not be able to use all 64K of external data
space for RAM. Some space would be reserved for the LCD. It's just a
matter of mapping it out. It may also be possible or even recommended to
use an LCD display on some sort of serial bus, like RS232. It might be
easier to implement.

Your flowmeter interface will use a Timer pin. You set the timer up to
count both edges of the input (square wave < 5V) for what you are doing, I
believe. It will count between the rising edges and return a very good
value for you. You'll have to play with it until you get it scaled
correctly. You might need to cascade timers to get to a 200ms duration - I
don't really know. I've implemented this very thing for a 60Hz input
(17ms). It is very accurate and repeatable.

If you don't have any other use for them, you would most likely use any GPIO
pins for the interface to your 4 buttons.

Where are you located?

-----Original Message-----
From: wpethe [mailto:]
Sent: Thursday, December 13, 2001 3:59 AM
To:
Subject: [motoroladsp] DSP56F803 problems: Timer, LCD, 4 Buttons Hi,

I like to use the Timer of Motorola DSP56F803 with a Flowmeter. The
flowmeters output are Pulses. I'd like to count the Pulses which are counted
in time for example 200 milliseconds.
How can I get the number of pulses? The counting error should be in the area
of the LSB.

How can ich use the Data Bus Interface to connect to a LCD Display? I like
to use a display like the PC1604 from powertip ( http://www.powertip.com.tw)
<http://www.powertip.com.tw)> with 8bit Data Bus-Interface.

For the Programm I need 4 Buttons. How should I connect them that The use an
interupt and then another entry to get the right Button type?

Thanks for help

W. Pethe

Yahoo! Groups Sponsor

<http://rd.yahoo.com/M!5839.1778785.3296727.1261774/D=egroupweb/S057718
55:HM/A8540/R=0/*http://zappos.zappos.com/bin/zapposset?ref=yahoogroups2 <http://us.adserver.yahoo.com/l?M!5839.1778785.3296727.1261774/D=egroupmai
l/S05771855:HM/A8540/rand0059734>

_____________________________________
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:

To Post:

To Leave:

Archives: http://www.yahoogroups.com/group/motoroladsp
<http://www.yahoogroups.com/group/motoroladsp>

More Groups: http://www.dsprelated.com/groups.php3
<http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/> .