View previous topic :: View next topic |
Author |
Message |
dmitrboristuk
Joined: 26 Sep 2020 Posts: 55
|
PIC16F1619 Timer2 HLT |
Posted: Mon Sep 20, 2021 12:06 am |
|
|
Hello!
Is it possible to tie the output "TMRx_postscaled" from Timer2 to an external pin without using a logic cell. Logic cells are used for other purposes. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19506
|
|
Posted: Mon Sep 20, 2021 12:46 am |
|
|
Don't think so.
Obviously with a lot of overhead, you could just generate a pulse in a
routine using TMR2IF, but there doesn't seem to be any way to output
this signal, except using the CLC. |
|
|
dmitrboristuk
Joined: 26 Sep 2020 Posts: 55
|
|
Posted: Mon Sep 20, 2021 1:04 am |
|
|
Thanks. I had the idea to try to use PWM3 or CCP in PWM mode for this purpose in a duty cycle close to 1, but here need to experiment, since it is not completely clear how PWM will perceive a single pulse mode. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19506
|
|
Posted: Mon Sep 20, 2021 6:18 am |
|
|
Yes, A PWM, was a thought I had, but of course the minimum count
would be two, so half the frequency of this clock. |
|
|
|