Problem with PC/104 Counter/Timer

Hi!

I´m working with PC/104 kit (Diamond Systems), and it have a time module
board called QMM.

I want to count cycles to measure a high pulse width with the drivers of
Diamond System (dscud5), but I don´t know how do it, because it haven´t got
any function for this task. The board´s counters can work in several modes,
but I do not know which is the necessary mode.

Is there any available solution with this drivers? Could you help me,
please?

Juan Carlos.

Juan carlos,

I was looking at using the qmm10 for similar functions, and noted the same
thing. The Diamond drivers do basic functions, but do not cover the whole
range of what this chip/card can do. You will have to write a function to do
what you want. At least to set the chip into the correct mode. You can
probaby use their functions to read the count value once the chip is
programmed.

I would recommend doing a google search on the AM9513. Or going to AMD’s
site and downloading the manual. This manual was written in 1990 (it is
scanned in and looks like a fax copy), and is big, but it covers some
information that is lef out of the summary that you will find at Diamond.

If you only need to read one pulse width, you could also use either the 16
or 24 bit timers (tied to 10MHz clock) in gated mode to count only when the
pulse is high. The 16 bit can time up to 6.5 mS, and the 24 bit can time up
to 1.67 seconds. There is also a divide by 10 prescaler available for the 24
bit counter, and a divide by 100 available for the 16 bit counter.

I ended up using the counters on the Prometheus directly, since it had
enough functionality to do what I needed without adding another card (which
we had alread bought).

If I were using the mm10 to do what you are describing, I might use mode Q
in count up mode. Feed the pulse in to the selected gate input, use the
onboard 2MHz oscillator as a count source, and start the counting at 0 or
FFFF. If one 16 bit counter is not enough, you can cascade adjacent ones to
get 32 bit count mode.

Good Luck,

John Eddy

“JUAN CARLOS” <jcvilla@ain.es> wrote in message
news:bh018t$74a$1@inn.qnx.com

Hi!

I´m working with PC/104 kit (Diamond Systems), and it have a time module
board called QMM.

I want to count cycles to measure a high pulse width with the drivers of
Diamond System (dscud5), but I don´t know how do it, because it haven´t
got
any function for this task. The board´s counters can work in several
modes,
but I do not know which is the necessary mode.

Is there any available solution with this drivers? Could you help me,
please?

Juan Carlos.