2020-04-07 10:57 PM
IS POSSIBLE CONNECT TWO TIMER IN ENCODER MODE SLAVE AND MASTER I NEED ENCODER MODE TIMER 24 BITY
2020-04-07 11:37 PM
Yes. See AN4013 Application note STM32 cross-series timer overview and the reference manuals. Search for STM32 timer chaining.
2020-04-08 12:13 AM
It's possible, but I suggest learning reading, writing and forming thoughts and sentences first!
2020-04-08 08:10 AM
I need connect pin from timer master to slave or can connect internally
I know is possible connect two bin encoder in master and slave and set divider
bout need try internally connection because no have free pin
2020-04-08 09:14 AM
I don't think so.
Encoder mode involves both counting AND direction. Direction can't be connected from master to slave.
You should use primarily the 32-bit timers (TIM2, TIM5). If they are not available, you should extend the counter in software - but the proper way is to sample the hardware timer periodically, relying on the update interrupt will lead to problems when the encoder oscillates at around the zero (over/underflow) point.
JW
2020-04-08 07:45 PM
Thanks for clarification. @Community member is right.