Skip to content

Async slower than Sync? TCB Single Shot on 2 Series #735

Answered by SimonMerrett
SimonMerrett asked this question in Q&A
Discussion options

You must be logged in to vote

I have a final answer from Microchip:

Below provided is the feedback from the internal team.

“Since the event is async, the TCB will start counting 2-3 cycles after the async event is received, but since the PWM is set/cleared one clock cycle delayed compared to the counter value the PWM output ends up, in this mode, being 3-4 clock cycles longer than defined by the CMP setting.

It is the same for all: tiny0/1/2, mega0, AVR DA/DB/DD”

With this confirmation, the behavior affects all tiny 0/1/2, mega0, AVR Dx families (sharing the same TCB macro).

So this affects lots of parts. Hope it isn't a problem for anyone else.

Replies: 8 comments 11 replies

Comment options

You must be logged in to vote
3 replies
@SimonMerrett
Comment options

@mosqu-ito
Comment options

@SimonMerrett
Comment options

Comment options

You must be logged in to vote
2 replies
@SimonMerrett
Comment options

@SimonMerrett
Comment options

Comment options

You must be logged in to vote
1 reply
@SimonMerrett
Comment options

Comment options

You must be logged in to vote
2 replies
@mosqu-ito
Comment options

@SimonMerrett
Comment options

Comment options

You must be logged in to vote
1 reply
@mosqu-ito
Comment options

Comment options

You must be logged in to vote
1 reply
@SimonMerrett
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by SimonMerrett
Comment options

You must be logged in to vote
1 reply
@SimonMerrett
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Not our bug This is a bug in a third party tool and should be raised with the maintainers of that tool, if any.
3 participants