In high speed PWM circuit using COUNTER, it does not start calculation.

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

cross mob
hitac_1138561
Level 1
Level 1
First like received

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
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

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