cancel
Showing results for 
Search instead for 
Did you mean: 

how to read/write eeprom microwire 93c66

No_Name
Associate II

Hi all.
I want to do read/write on eeprom microwire 93c66 but there is no open source HAL library that I can find. how can I do it? I am new to stm32.

Thanks

4 REPLIES 4
AScha.3
Super User

Hi,

>how can I do it?

As with every other cpu ...

- read ds of 93c66

- decide, how you want to do it, SPI, bit bang, ...

- or use a chip with standard  I2C interface and connect to the I2C (and the HAL lib)

If you feel a post has answered your question, please click "Accept as Solution".
Pavel A.
Super User

Here you can find help with this part.

I don't really understand how to read the datasheet and apply it like a timing diagram, because I was previously in arduino which is mostly an open source library.


@No_Name wrote:

I don't really understand how to read the datasheet and apply it like a timing diagram,


That is a basic skill - nothing specific to STM32.

As @Pavel A. suggests, if you don't have the time or inclination to do it yourself, then you'll need to pay someone to do it for you.

 


@No_Name wrote:

because I was previously in arduino which is mostly an open source library.


That's the downside of relying on 3rd-party libraries - you're stuck until someone else provides a library!

If you're relying on the availability of 3rd-party libraries, then you have to just confine yourself to parts for which libraries are available. 

 

As you say, the Arduino libraries are open-source - so you could get the source, and port that to your STM32.

 

Or, perhaps, load STM32Duino onto your STM32:

https://www.stm32duino.com/

https://github.com/stm32duino

https://docs.arduino.cc/libraries/stm32duino-examples/ 

 


@No_Name wrote:

 I am new to stm32.


Start here:

https://community.st.com/t5/stm32-mcus-products/for-better-learning-stm32-programming-and-debugging/m-p/719485/highlight/true#M260696

https://community.st.com/t5/stm32-mcus-products/for-better-learning-stm32-programming-and-debugging/m-p/719468/highlight/true#M260690

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.