2023-08-22 08:45 AM
In the ATM32H747XI datasheet Table 9 on page 89...
As I read this table... Examples are...
Pin Name PA1 Alternate Function AF1 = TIM2_CH2
Pin Name PA2 Alternate Function AF2 = TIM5_CH3
Question 1:
For PA0 AF1, there are two functions listed... TIM2_CH1/TIM2_ETR
So which is it? TIM2_CH1 or TIM2_ETR?
Or is that configurable in the code?
Or what?
Question 2:
The first row of the table shows Alternate Function AF0 through AF15
The second row of the table... I need help with...
For instance Under AF1 it shows
TIM1/2/16/1
7/LPTIM1/
HRTIM1
alternately written (I guess) as...
TIM1
TIM2
TIM16
TIM17
LPTIM1
HRTIM1
I don't know what these refer to as not all of them appear in the AF1 column for Ports PA0 thru PA15.
Same question for the second row for AF0, AF2, AF3, etc... all the way across Table 9
As well as the second row for tables for Ports B through Ports K
Hopefully someone will try and enlighten me as I am learning about the ATM32H747XI
Thanks for any help.
Solved! Go to Solution.
2023-08-22 09:01 AM
You mean STM32H747XI?
1) It's selected by how the peripheral is configured. If you configure it as PWM output, it won't be available as ETR. And vice-versa.
2) Those indicate what potential peripherals are covered under AF1. They're all covered if you add all the tables for different ports together.
2023-08-22 09:01 AM
You mean STM32H747XI?
1) It's selected by how the peripheral is configured. If you configure it as PWM output, it won't be available as ETR. And vice-versa.
2) Those indicate what potential peripherals are covered under AF1. They're all covered if you add all the tables for different ports together.
2023-08-22 04:00 PM
Yes, STM32H747XI. Thanks.