Problem with discriminated counting

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
ShBa_282106
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted

Hi all!

   

This project is supposed to count all  pulses lying in an amplitude window in two parallel channels C1 and C2 for 10 seconds. Both C1 and C2 are supposed to report counts independently in their programmed window and keep updating  and displaying on PC through a USBUART interface.

   

One problem that has been persistent is that quite often one of the channels C1 or C2 measures 65535-n counts instead of n counts. It settles in some time but appears randomly. Default amplitude window for channel 1 is 1to 1.5V and for channel 2 is 2 to 2.5V. The data is attached as a text file as well as the project.

   

Please see

   

thanks

   

Neha

0 Likes
8 Replies