Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

fm24c64_256.lib for "normal" i2c-eeprom?

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
kartmanne

Bascom Member



Joined: 02 Mar 2018
Posts: 31

germany.gif
PostPosted: Sat Oct 26, 2024 7:12 pm    Post subject: fm24c64_256.lib for "normal" i2c-eeprom? Reply with quote

HI,
I want to use external eeprom at XMEGA32. I found, fm24c64_256.lib is available to simple use same variables and commands as for internal eeprom.
example:
Code:
DIM a as byte
DIM e as eram byte
a=e
...

sounds simple, I like bascom avr Smile

But the bascom avr help description just shows information for ramtron eeproms in combination with the fm24c64_256.lib. These eeproms use i2c - same as "normal" i2c-eeproms.

In the help description I found this notice (FM24C64_256-XMEGA):
Code:
  ee(adres) = adres
  waitms 20                                               ' ONLY FOR NORMAL EEPROM , REMOVE FOR RAMTRON
next


Does that mean that using additionally "waitms XY" after a r/w access to a "normal" i2c-eeprom will cover the typically longer w/r time of normel i2c-eeproms and ... using the fm24c64_256.lib will function for these eeproms, too?

(BASCOM-AVR version : 2.0.8.6 )

_________________
CU
Manfred
Back to top
View user's profile Visit poster's website
_jarek_

Bascom Member



Joined: 06 Aug 2014
Posts: 9

poland.gif
PostPosted: Sat Oct 26, 2024 8:04 pm    Post subject: Reply with quote

Theoretically, yes. FRAMs do not need extra time for read and write commands.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum