BHARGAVSHANKHALPARA
Junior Member level 3
- Joined
- May 6, 2010
- Messages
- 27
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- GUJARAT INDIA
- Activity points
- 1,592
Hello all...!!
I am making one application in which i am controlling Two motors,there is too many measurements,current measurement of all 3 phase using CT and otherthings...!! I am using internal EEPROM of ATMEGA32A to store data.
My problem is..
When i restart my circuit many time,its internal EEPROM data corrupt. I enable Brownout reset after reading ATMEGA32A datasheet. I choose 4V for brown out reset. But than after my EEPROM data corrupt.
I use external crystal of 16MHz with 22pf capacitor for batter timing accuracy.
But when i choose internal oscillator at 8MHz from fuse bit setting , and than restart circuit many times but EEPROM data is safe.
No problem at all...!!
Please suggest what is problem with external crystal and internal EEPROM data...?
Thank you.
I am making one application in which i am controlling Two motors,there is too many measurements,current measurement of all 3 phase using CT and otherthings...!! I am using internal EEPROM of ATMEGA32A to store data.
My problem is..
When i restart my circuit many time,its internal EEPROM data corrupt. I enable Brownout reset after reading ATMEGA32A datasheet. I choose 4V for brown out reset. But than after my EEPROM data corrupt.
I use external crystal of 16MHz with 22pf capacitor for batter timing accuracy.
But when i choose internal oscillator at 8MHz from fuse bit setting , and than restart circuit many times but EEPROM data is safe.
No problem at all...!!
Please suggest what is problem with external crystal and internal EEPROM data...?
Thank you.