Skip to main content
jay1991
Associate II
June 6, 2016
Question

EEPROM interface with STM32f411rct6

  • June 6, 2016
  • 5 replies
  • 1367 views
Posted on June 06, 2016 at 13:43

Is it possible to interface EEPROM with stm32f411? I found one ''en.stsw-stm32066''  file for this. but i have a question that if i use ''cat24c02wi-gt3a'' EEProm then is it compatible? Need Help. Thank you...

#uphill-skiing #stm32f411 #eeprom-emulation
This topic has been closed for replies.

5 replies

Tesla DeLorean
Guru
June 6, 2016
Posted on June 06, 2016 at 15:10

Emulation doesn't interface with a physical device.

For the physical device you'd use an I2C interface, and code an appropriate driver.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
jay1991
jay1991Author
Associate II
June 6, 2016
Posted on June 06, 2016 at 15:26

Hey, i have to use i2c sure, then i have to code my own right? I have one st file eeprom.c and eeprom.h file. I have to use this one or i have to implement own ? here mentioned EEProm can be used by this stm32f411?

Tesla DeLorean
Guru
June 6, 2016
Posted on June 06, 2016 at 16:40

He's already identified the ''Emulation'' driver, but then talks about interfacing a specific device!

Can the F411 use an i2C interfaced EEPROM, Yes.

Is there code supporting the specific chip, on specific pins, No, but there is likely code close enough that if you READ the documentation for the EEPROM you could use.

There ARE examples in the SPL/DSP libraries, and others, review them in the context of what they use vs what you want to use. Expect you'll have to apply effort to solve your own specific use case.

STM32F4xx_DSP_StdPeriph_Lib_V1.6.1\Utilities\STM32_EVAL\STM324x7I_EVAL\stm324x7i_eval_i2c_ee.c

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
jay1991
jay1991Author
Associate II
June 7, 2016
Posted on June 07, 2016 at 07:18

Thank you clive1 and Forumstm32. It will help me.