cancel
Showing results for 
Search instead for 
Did you mean: 

L1 EEPROM: same as L0 ?

LCE
Principal II

Heyho,

still checking L1 for new project, next question:

Are the L1's internal EEPROM register interface, erase, read, and write functions the same as on L0 (we're already using that) ?

Obrigado!

1 ACCEPTED SOLUTION

Accepted Solutions
LCE
Principal II

AI search says:

Conclusion

Yes, the internal EEPROM interface of STM32L0 and STM32L1 is fundamentally the same in terms of register-level access, reading/writing methodology, and control procedures. Minor differences may exist in timing and total EEPROM size based on specific MCU models, but porting code between L0 and L1 for EEPROM operations is generally seamless.
 
... so far good enough for me - compared with a quick RM-register comparison.

View solution in original post

7 REPLIES 7
gbm
Principal

Why don't you check it in the Reference Manuals for both chips?

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice

I guess the big question is, "Are there any Gotchas! which might be missed in reading the RM" ... ?

 

The devil is often in the details ...

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.
LCE
Principal II

AI search says:

Conclusion

Yes, the internal EEPROM interface of STM32L0 and STM32L1 is fundamentally the same in terms of register-level access, reading/writing methodology, and control procedures. Minor differences may exist in timing and total EEPROM size based on specific MCU models, but porting code between L0 and L1 for EEPROM operations is generally seamless.
 
... so far good enough for me - compared with a quick RM-register comparison.
LCE
Principal II

Well, I hoped for a quick and simple "yes, identical" by some ST guys.

Saving time...

If we choose the L1, I'll find out when using the L0 functions I have... :D

You could always check it out on a Nucleo board ...

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.

Next step if L1 is the "chosen one". :D