2020-05-17 10:40 PM
Hello
I want to ask about STSPIN32F0601TR.
I'm reviewing the IC for motor controller, in datasheet it describes the number of GPIO 21.
but counting the number of port
N. Name Type Function
1 PB8 I/O - FTf MCU PB8
4 PC13 I/O - TC MCU PC13
5 PC14 I/O - TC MCU PC14
6 PC15 I/O - TC MCU PC15
7 PF0 I/O - FT MCU PF0
8 PF1 I/O - FT MCU PF1
12 PA0 I/O - TTa MCU PA0
13 PA1 I/O - TTa MCU PA1
14 PA2 I/O - TTa MCU PA2
15 PA3 I/O - TTa MCU PA3
16 PA4 I/O - TTa MCU PA4
17 PA5 I/O - TTa MCU PA5
18 PA6 I/O - TTa MCU PA6
19 PA7 I/O - TTa MCU PA7
20 PB0 I/O - TTa MCU PB0
55 PA12 I/O - FT MCU PA12
56 PA13 I/O - FT MCU PA13/SWDIO (System debug data)
57 PA14 I/O - FT MCU PA14/SWDCLK (System debug clock)
58 PA15 I/O - FT MCU PA15
59 PB3 I/O - FT MCU PB3
60 PB4 I/O - FT MCU PB4
61 PB5 I/O - FT MCU PB5
62 PB6 I/O - FTf MCU PB6
63 PB7 I/O - FTf MCU PB7
21 PB1 I/O - TTa MCU PB1
Gpio is 25.
Can I know the exact number of GPIO?
Thank you.
2020-05-18 01:43 AM
You can consider a total of 25 GPIOs.
We had initially excluded from the count the PA13 and PA14 (for debug), PF0 and PF1 (for optional external oscillator).
Thanks for the tip.