Wherther the unused interface IO can be used as the GPIO?

Can I use the unused interface io(for example spi ,i2c) as the GPIO to control some low frequence signals? If it does, how to acomplish it ?

hello user30974,

please check pinmux spreadsheets for the default pin configuration; you may also refer to Topic 144550, for several ways to access GPIOs. such as, kernel APIs, python scripts, C++ samples.