cancel
Showing results for 
Search instead for 
Did you mean: 

SPI versus Microwire

davids
Associate II
Posted on March 23, 2007 at 10:01

SPI versus Microwire

3 REPLIES 3
davids
Associate II
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

luca239955_st
Associate III
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)

davids
Associate II
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