Skip to main content
Visitor II
August 19, 2003
Question

SPI Interface

  • August 19, 2003
  • 4 replies
  • 869 views
Posted on August 19, 2003 at 16:57

SPI Interface

    This topic has been closed for replies.

    4 replies

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:55

    Hello,

    I would like to know if the uPSD has a SPI interface. If don't, can I simulate one by writting some SPI's functions.

    Best regards

    Christian
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:55

    Hi,

    Use mode 0 of the UART, this uses RX as data in/out and TX as clock.

    The datarate is fixed.

    regards,

    Simon
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:55

    Ok,

    I cannot change the clk frequency? Could I change the clk frequency by setting it in the config registry?

    Regards
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:55

    hum, the ST Mode-0 has only 2 I/O (SCk and SData), but the SPI memory has 3 wires (SCk, SDataIn and SDataOut).

    Is the ST MCU can communicate with 2 I/O to transfer and receive data from the memory?

    Regards