To Implement High Speed Counter Operation - Maple Systems HMC7000 Series Manual

Table of Contents

Advertisement

HMC7000 Series I/O Module Guide
High Speed Counter Operation

To implement High Speed Counter Operation:

1. Connect a device to X0 (Channel 1) or X5 (Channel 2) that will provide the high speed pulses to the
expansion module.
2. Configure the HSC using the configuration register MWnn00 (Channel 1) or MWnn06 (Channel 2).
3. Write the HSC preset count value in MWnn03 (Channel 1) or MWnn09 (Channel 2).
4. Enable the HSC by setting the HSC Enable Bit Mnn080 (Channel 1) or Mnn176 (Channel 2).
5. HSC increments (starting from 0) the current value register in MWnn01 (Channel 1) or MWnn07
(Channel 2) until the preset value is reached.
6. Enable the HSC Reset Bit by setting Mnn081 (Channel 1) or Mnn177 (Channel 2). This will cause the HSC
current value to reset back to 0.
7. To start the process again, simply reset (clear) the HSC Reset Bit and set the HSC Enable Bit.
Note: if the HSC Enable Bit is still ON, you must reset (clear) this bit, and then set it again.
HMC7000 Series I/O Module Guide
32
32

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HMC7000 Series and is the answer not in the manual?

Table of Contents