Skip to main content
SAMIN.1
Associate III
June 28, 2022
Question

how to stop output compare channel at only 8 pulses?

  • June 28, 2022
  • 0 replies
  • 822 views

I have used output compare to send data at two pins simultaneously. the data is variable. however, I need only 8 clk pulses and on each rising and falling pulse edge data transfer to the output pin.

I am unable to stop pulses and data at only 8 edges or pulses. it remains continuous however if I used interrupt to count the counter and stop the output compare. still, pulses generated are more than 8 pulses.

i just need 8 pulses of both clk and output.

0693W00000NsrrhQAB.png0693W00000NsrpbQAB.png0693W00000NsrpgQAB.png0693W00000NsrwXQAR.png

This topic has been closed for replies.