2 Question:
1) When the ports are configured as SPI, on the STM it takes up 4 lines: MOSI, MISO, CLK, NSS
the last one NSS is a slave select line, ie a slave can the the stm32 which is a master to turn itself into a slave.
what i want to know is that if i don't use this option, can i use the NSS as a general GPIO, even when SPI is enable?
2)similarly, when some of the ports are configured as timer, say TIM1, which takes up 4 lines TIM CH1-4, if i only use one of them, can i use the other ports as GPIO?
Thanks