Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Ads

Discussion Groups

Discussion Groups | Freescale DSPs | DSP56F803 problems: Timer, LCD, 4 Buttons

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

DSP56F803 problems: Timer, LCD, 4 Buttons - wpethe - Dec 13 10:58:00 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





(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

RE: DSP56F803 problems: Timer, LCD, 4 Buttons - Haile, David - Dec 13 15:46:00 2001

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=215839.1778785.3296727.1261774/D=egroupweb/S=17057718
55:HM/A=868540/R=0/*http://zappos.zappos.com/bin/zapposset?ref=yahoogroups2 <http://us.adserver.yahoo.com/l?M=215839.1778785.3296727.1261774/D=egroupmai
l/S=1705771855:HM/A=868540/rand=930059734>

_____________________________________
/groups.php3
<http://www.dsprelated.com/groups.php3 > .




(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )