cancel
Showing results for 
Search instead for 
Did you mean: 

SPI and Timer

hs.low9
Associate II
Posted on November 09, 2007 at 05:58

SPI and Timer

2 REPLIES 2
hs.low9
Associate II
Posted on May 17, 2011 at 12:17

Quick questions for my friend on SPI and TImer1,

1) SPI:

When the ports are configured as SPI, on the STM it takes up 4 lines: MOSI, MISO, CLK, NSS.

(for no dynamic change of master/slave operations)

Q,when SPI is enable, can the NSS use as a general GPIO?

2)Timer1,

similarly, when some of the ports are configured as timer, say TIM1, which takes up 4 lines TIM CH1-4.

Q, if i only use one of them, can i use the other ports as GPIO?

Thanks ;)

hs.low9
Associate II