4 Replies Latest reply on Feb 27, 2018 12:44 AM by bob.marlowe

    TC of fixed function counter

    user_236195066

      When the TC output of the fixed function counter and the digital circuit are connected, it does not operate properly.

      As in the attached image,
      TC connected to LED 1 works correctly.
      However, LED 2 using NOT for TC does not operate properly.

       

      From the above, I thought that the TC output of the fixed function counter can not be connected to other digital circuits.

      The counter datasheet does not describe constraints on the TC output,
      Can't TC of the fixed function counter connect to other digital circuit?

        • 1. Re: TC of fixed function counter
          bob.marlowe

          There are no restrictions for the TC output, so the reason for the strange behavior must be on a different place.

          Are you using a Cypress kit? Which one?? CY8CKIT-???

          Can you please post your complete project so that we all can have a look at all of your settings. To do so, use

          Creator->File->Create Workspace Bundle (minimal)

          and attach the resulting file.

           

          Bob

          • 2. Re: TC of fixed function counter
            user_236195066

            Bob-san,

             

            Thank you for your respose.

             

            We confirmed with the oscilloscope instead of the LED,
            Pulse was also generated in logically inverted output.

            We can check the ON of the LED by eye,
            However, it seems that LED could not be checked visually.

            It was solved by lowering the clock speed.

            I'm sorry for confusing you.

            • 3. Re: TC of fixed function counter
              user_236195066

              Additional information.

              It was evaluated using DVK(CY8CKIT-050).

              Furthermore, the clock of the counter was set to 1 MHz.
              And, the customer assigned the TC output of the counter not only to the internal digital circuit but also to P 0 [4].

              Since a bypass capacitor is mounted on P0 [4] of DVK,
              It turned out that the pulse of TC could not be confirmed with the internal digital circuit.

              We understood that it is not a constraint on the connection between fixed function counter and internal digital circuit.

              1 of 1 people found this helpful
              • 4. Re: TC of fixed function counter
                bob.marlowe

                Fine that you got it to work as expected. In the Cypress prototyping kits there are a couple of pins already connected to internals as caps and interfaces. Has been a pitfall for me several times.

                 

                Bob