Skip to main content
Visitor II
March 23, 2007
Question

SPI versus Microwire

  • March 23, 2007
  • 3 replies
  • 924 views
Posted on March 23, 2007 at 10:01

SPI versus Microwire

    This topic has been closed for replies.

    3 replies

    davidsAuthor
    Visitor II
    March 23, 2007
    Posted on March 23, 2007 at 04:35

    I'm using an ST72F324BJ4 and a M93C66 Microwire EEProm. I know Microwire is some kind of subset of SPI.

    My question is this. In the Cosmic C Compiler, they have routines to write to EEProm. Are these the ones I should use?

    Or, should I use the SPI module in the ''ST7 Software Library''?

    Thanks!

    -David

    Visitor II
    March 23, 2007
    Posted on March 23, 2007 at 09:26

    >> My question is this. In the Cosmic C Compiler, they have routines to write to EEProm. Are these the ones I should use?

    No, those routines will work only with the internal eeprom.

    Regards,

    Luca (Cosmic)

    davidsAuthor
    Visitor II
    March 23, 2007
    Posted on March 23, 2007 at 10:01

    OK, thanks for that important info!

    So, now the question is, will the SPI routines in the ''ST7 Programming Library'' talk to the STM Microwire EEProm part?

    If yes, are there any important tips to know? If no, is there a library somewhere for the STM micro talking to the STM EEProm?

    Thanks!

    -David