cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

How to make 8 x 8 bit Counters using FreeSoC ?

   

 

   

I have FreeSoC development board. I want to make a 8 x 8 bit counters with 8 inputs for the clocks. The counters shouls be independent of each other. Each should be able to generate interrupt when counter value overflows that is when counter overflows from 255 to 0. My max freq is 370 Hz per channel.

0 Likes
Reply
3 Replies
JoMe_264151
Expert II

You will need 8 UDB-based counters, place the first  in Creator 3.2 SP1 onto the top-design drop the needed pins and route them. Build and test. When all runs well, copy & paste the next 7 counters.

   

 

   

Bob

0 Likes
Reply
ETRO_SSN583
Esteemed Contributor

If you can use a down counter, and a little SW, there is a utility 7 bit counter

   

that uses substantially less resources than the UDB approach.

   

 

   

"Digital", "Utility" navigate of component catalog.

   

 

   

Regards, Dana.

0 Likes
Reply
Anonymous
Not applicable

Thank you. I will try what you people said. I want the system to work like this. I should have 8 x 8 bit counters and each should be able to generate an interrupt when counter overflows and I should be able to send this data to UART.

0 Likes
Reply