Skip to main content
hs.low9
Associate II
November 9, 2007
Question

SPI and Timer

  • November 9, 2007
  • 2 replies
  • 629 views
Posted on November 09, 2007 at 05:58

SPI and Timer

    This topic has been closed for replies.

    2 replies

    hs.low9
    hs.low9Author
    Associate II
    May 17, 2011
    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
    hs.low9Author
    Associate II
    May 17, 2011