Alternate function pin release conditions
FAQ0072
Frequently Asked Questions
Alternate function pin release conditions
Questions:
For AT32F413/AT32F415/AT32F403A/AT32F407, under what conditions can these alternate function pins be
released for TMR?
Answer:
For example:
When the USART1 is being used, if the user wants to use the alternate function TMR1_CH1 on the
USART1_CK (PA8) pin, he needs to check the table below, where the “CK “ of USART is marked “YES”,
meaning that TMR1_CH1 can be used as alternate function while USART1 is in use, on the condition of
CLKEN=0.
Similarly, if the user wants to use the alternate function TMR1_CH2 on the USART1_TX (PA9) pin, he needs
to check the table below, where the “TX” of USART is marked “NO”, meaning that the TMR1_CH2 cannot be
used as alternate function while USART1 is working.
AT32F413xx/AT32F415xx/AT32F403Axx/AT32F407xx:
Alternate function pin release rule
OUTPUT
pin
Can AT32 be released?
(Judge: Whether the TIMER can be output after
Release conditions
release)
SPI
SCK
MCK
MOSI/I2S_SD
MISO
NSS
CK
NO
NC
YES
NO
NO
NO
NO
NO
NO
NO
NO
YES
YES
Release when MCKOE=0
NC
NC
NC
SDIO
NC
CMD
D0
NC
NC
D1
NC
D2
NC
D3
Release in one-bit bus mode
D4
Release when bus width is in non-8-bit bus
mode
YES
YES
YES
D5
D6
D7
Release when bus width is in non-8-bit bus
mode
Release when bus width is in non-8-bit bus
mode
Release when bus width is in non-8-bit bus
mode
USART
I2C
TX
NO
NC
CK
YES
YES
NO
Release when CLKEN=0
RTS
Release when RTSE=0
SCL
NC
SDA
NO
NC
SMBA
SPIM_SCK
SPIM_CS
SPIM_IO0
SPIM_IO1
YES
NO
Release when PERMODE=0 (I2C mode)
SPIM
NC
NC
NC
NC
NO
NO
NO
2022.2.17
1
Rev 2.0.0
www.arterytek.com