cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ 5, 3 & 1

hitac_1138561
New Contributor

Our circuit which wants to come out is PWM display constructed at a counter of the one-shot setting.

The following figures are the circuit and setting information.

無題.png

無題2.png

無題3.png

In addition, the comparison is set by software as follows.

     Counter_1_Start();

     Counter_1_WriteCompare(n);    /* n=0...255 */

In our environment, COUNTER does not begin to run.

I want us to point out the point where a problem lies hidden in.

0 Likes
1 Solution
MotooTanaka
Esteemed Contributor

Hi,

So I think we came as far as we could get with 8bit  counter.

And if you really need 255 equality, we need a counter with more than 8bit width.

Probably using a 16bit mode or create a 9~bit UDB one.

Anyway, at least a good news is the counter itself seems working 😉

moto

View solution in original post

0 Likes
5 Replies