2022-04-09 02:25 AM
we are using STM32L496ZG NUCLEO Board for development .Timer2 channel 3 (PA2) is Configure for counting.
2022-04-09 05:44 AM
You appear to set TIM2 to be clocked from TIM2_CH2, yet you configure pin PA2 which is TIM2_CH3.
If in doubts, read out content of TIM2 and relevant GPIO registers, and check/post.
Also check, if on Nucleo board the selected mcu pin is connected to the header pin you may be using.
JW
2022-04-10 04:37 AM
I connect external clock source at Timer2 channel 3 which is pin PA2 and same pin is configured in above details.
2022-04-10 05:31 AM
I don't use CubeMX, but this
in my opinion indicates, that input for clock comes from timer's CH2.
Also, there's no way you can clock from CH3, as input to the slave-mode controller (which determines what is the clock to the timer's counter) can come only from CH1 or CH2.
When in doubts, read out the TIM registers content and check/post.
JW
2022-04-17 10:09 AM
Thank you @Community member .It's working now.
2022-04-19 04:36 AM
AT24C256 Is it compatible with stm32l496zg Device in terms of speed ?we are getting Ack failure while communication with EEPROM.